Fawkes API
Fawkes Development Version
|
Helper struct to avoid deletion of PointClouds. More...
#include <utils.h>
Public Member Functions | |
template<typename T > | |
void | operator() (T *t) |
Delete operator that does nothing. |
Helper struct to avoid deletion of PointClouds.
The input point cloud is accessible using a RefPtr. Since the PCL expectes Boost shared_ptr, we need to create such a shared pointer. But destruction of this would cause the deletion of the point cloud, which we do not want. Therefore, we provide this helper deleter that causes the PointCloud *not* to be deleted on reset.
void fawkes::pcl_utils::PointCloudNonDeleter::operator() | ( | T * | t | ) | [inline] |