41 #include <boost/shared_ptr.hpp>
43 #include <pcl/octree/octree_pointcloud.h>
44 #include <pcl/octree/octree2buf_base.h>
62 typename LeafContainerT = OctreeContainerPointIndices,
63 typename BranchContainerT = OctreeContainerEmpty >
66 LeafContainerT, BranchContainerT, Octree2BufBase<LeafContainerT, BranchContainerT> >
80 Octree2BufBase<LeafContainerT, BranchContainerT> > (resolution_arg)
90 const int minPointsPerLeaf_arg = 0)
93 std::vector<OctreeContainerPointIndices*> leaf_containers;
96 for (
const auto &leaf_container : leaf_containers)
98 if (static_cast<int> (leaf_container->getSize ()) >= minPointsPerLeaf_arg)
99 leaf_container->getPointIndices(indicesVector_arg);
102 return (indicesVector_arg.size ());
108 #define PCL_INSTANTIATE_OctreePointCloudChangeDetector(T) template class PCL_EXPORTS pcl::octree::OctreePointCloudChangeDetector<T>;