22 #include <boost/foreach.hpp> 51 mPreFilter = filterPtr;
59 mPostFilter = filterPtr;
84 mPreFilter->doFiltering(indicesPtr);
100 mPostFilter->setIndices(indicesPtr);
103 mPostFilter->doFiltering(indicesPtr);
DebugHelperPtr mDebugHelperPtr
void setPreFilter(GeneralFilterPtr &filterPtr)
Adding a pre filter to this filter.
virtual ObjectPointCloudPtr & getInputCloud()
void filter(IndicesPtr &indicesPtr)
Applies the filter on the indices.
boost::shared_ptr< GeneralFilter > GeneralFilterPtr
std::vector< int > Indices
virtual void setIndices(const IndicesPtr &indicesPtr)
setting the shared pointer to the active indices of the point cloud.
GeneralFilterPtr mPostFilter
this namespace contains all generally usable classes.
void setPostFilter(GeneralFilterPtr &filterPtr)
Adding a post filter to this filter.
static boost::shared_ptr< DebugHelper > getInstance()
boost::shared_ptr< Indices > IndicesPtr
virtual IndicesPtr & getIndices()
virtual void doFiltering(IndicesPtr &indicesPtr)=0
Does the filtering on the indices.
GeneralFilterPtr mPreFilter