|
Point Cloud Library (PCL)
1.7.2
|
Octree adjacency leaf container class- stores set of pointers to neighbors, number of points added, and a DataT value More...
#include <pcl/octree/octree_pointcloud_adjacency_container.h>
Inheritance diagram for pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >:Public Types | |
| typedef std::set< OctreePointCloudAdjacencyContainer * > | NeighborSetT |
| typedef NeighborSetT::iterator | iterator |
| typedef NeighborSetT::const_iterator | const_iterator |
Public Member Functions | |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| size_t | size () const |
| std::pair< iterator, bool > | insert (OctreePointCloudAdjacencyContainer *neighbor) |
| OctreePointCloudAdjacencyContainer () | |
| Class initialization. More... | |
| virtual | ~OctreePointCloudAdjacencyContainer () |
| Empty class deconstructor. More... | |
| virtual OctreePointCloudAdjacencyContainer * | deepCopy () const |
| deep copy function More... | |
| void | addPoint (const PointInT &) |
| Add new point to container- this just counts points. More... | |
| void | computeData () |
| Function for working on data added. More... | |
| int | getPointCounter () const |
| Gets the number of points contributing to this leaf. More... | |
| void | setPointCounter (int points_arg) |
| Sets the number of points contributing to this leaf. More... | |
| virtual void | reset () |
| Clear the voxel centroid. More... | |
| void | addNeighbor (OctreePointCloudAdjacencyContainer *neighbor) |
| Add new neighbor to voxel. More... | |
| void | removeNeighbor (OctreePointCloudAdjacencyContainer *neighbor) |
| Remove neighbor from neighbor set. More... | |
| size_t | getNumNeighbors () const |
| Returns the number of neighbors this leaf has. More... | |
| void | setNeighbors (const NeighborSetT &neighbor_arg) |
| Sets the whole neighbor set. More... | |
| DataT & | getData () |
| Returns a reference to the data member to access it without copying. More... | |
| void | setData (const DataT &data_arg) |
| Sets the data member. More... | |
| virtual size_t | getSize () const |
| virtual method to get size of container More... | |
| template<> | |
| void | addPoint (const pcl::PointXYZRGB &new_point) |
| template<> | |
| void | addPoint (const pcl::PointXYZRGBA &new_point) |
| template<> | |
| void | computeData () |
| template<> | |
| void | computeData () |
| template<> | |
| void | addPoint (const pcl::PointXYZ &new_point) |
| template<> | |
| void | computeData () |
Public Member Functions inherited from pcl::octree::OctreeContainerBase | |
| OctreeContainerBase () | |
| Empty constructor. More... | |
| OctreeContainerBase (const OctreeContainerBase &) | |
| Empty constructor. More... | |
| virtual | ~OctreeContainerBase () |
| Empty deconstructor. More... | |
| virtual bool | operator== (const OctreeContainerBase &) const |
| Equal comparison operator. More... | |
| bool | operator!= (const OctreeContainerBase &other) const |
| Inequal comparison operator. More... | |
| void | addPointIndex (const int &) |
| Empty addPointIndex implementation. More... | |
| void | getPointIndex (int &) const |
| Empty getPointIndex implementation as this leaf node does not store any point indices. More... | |
| void | getPointIndices (std::vector< int > &) const |
| Empty getPointIndices implementation as this leaf node does not store any data. More... | |
Octree adjacency leaf container class- stores set of pointers to neighbors, number of points added, and a DataT value
Definition at line 54 of file octree_pointcloud_adjacency_container.h.
| typedef NeighborSetT::const_iterator pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >::const_iterator |
Definition at line 60 of file octree_pointcloud_adjacency_container.h.
| typedef NeighborSetT::iterator pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >::iterator |
Definition at line 59 of file octree_pointcloud_adjacency_container.h.
| typedef std::set<OctreePointCloudAdjacencyContainer*> pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >::NeighborSetT |
Definition at line 57 of file octree_pointcloud_adjacency_container.h.
|
inline |
Class initialization.
Definition at line 71 of file octree_pointcloud_adjacency_container.h.
References pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >::reset().
Referenced by pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >::deepCopy().
|
inlinevirtual |
Empty class deconstructor.
Definition at line 78 of file octree_pointcloud_adjacency_container.h.
|
inline |
Add new neighbor to voxel.
| [in] | neighbor | the new neighbor to add |
Definition at line 132 of file octree_pointcloud_adjacency_container.h.
|
inline |
Add new point to container- this just counts points.
Definition at line 98 of file octree_pointcloud_adjacency_container.h.
| void pcl::octree::OctreePointCloudAdjacencyContainer< pcl::PointXYZRGB, pcl::SupervoxelClustering< pcl::PointXYZRGB >::VoxelData >::addPoint | ( | const pcl::PointXYZRGB & | new_point | ) |
Definition at line 772 of file supervoxel_clustering.hpp.
| void pcl::octree::OctreePointCloudAdjacencyContainer< pcl::PointXYZRGBA, pcl::SupervoxelClustering< pcl::PointXYZRGBA >::VoxelData >::addPoint | ( | const pcl::PointXYZRGBA & | new_point | ) |
Definition at line 787 of file supervoxel_clustering.hpp.
| void pcl::octree::OctreePointCloudAdjacencyContainer< pcl::PointXYZ, pcl::SupervoxelClustering< pcl::PointXYZ >::VoxelData >::addPoint | ( | const pcl::PointXYZ & | new_point | ) |
Definition at line 828 of file supervoxel_clustering.hpp.
|
inline |
Definition at line 61 of file octree_pointcloud_adjacency_container.h.
|
inline |
Definition at line 63 of file octree_pointcloud_adjacency_container.h.
|
inline |
Function for working on data added.
Base implementation does nothing
Definition at line 107 of file octree_pointcloud_adjacency_container.h.
| void pcl::octree::OctreePointCloudAdjacencyContainer< pcl::PointXYZRGB, pcl::SupervoxelClustering< pcl::PointXYZRGB >::VoxelData >::computeData | ( | ) |
Definition at line 804 of file supervoxel_clustering.hpp.
| void pcl::octree::OctreePointCloudAdjacencyContainer< pcl::PointXYZRGBA, pcl::SupervoxelClustering< pcl::PointXYZRGBA >::VoxelData >::computeData | ( | ) |
Definition at line 815 of file supervoxel_clustering.hpp.
| void pcl::octree::OctreePointCloudAdjacencyContainer< pcl::PointXYZ, pcl::SupervoxelClustering< pcl::PointXYZ >::VoxelData >::computeData | ( | ) |
Definition at line 838 of file supervoxel_clustering.hpp.
|
inlinevirtual |
deep copy function
Definition at line 84 of file octree_pointcloud_adjacency_container.h.
References pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >::OctreePointCloudAdjacencyContainer(), pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >::setNeighbors(), and pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >::setPointCounter().
|
inline |
Definition at line 62 of file octree_pointcloud_adjacency_container.h.
|
inline |
Definition at line 64 of file octree_pointcloud_adjacency_container.h.
|
inline |
Returns a reference to the data member to access it without copying.
Definition at line 167 of file octree_pointcloud_adjacency_container.h.
Referenced by pcl::SupervoxelClustering< PointT >::VoxelData::getNormal(), and pcl::SupervoxelClustering< PointT >::refineSupervoxels().
|
inline |
Returns the number of neighbors this leaf has.
Definition at line 151 of file octree_pointcloud_adjacency_container.h.
|
inline |
Gets the number of points contributing to this leaf.
Definition at line 113 of file octree_pointcloud_adjacency_container.h.
|
inlinevirtual |
virtual method to get size of container
Reimplemented from pcl::octree::OctreeContainerBase.
Definition at line 179 of file octree_pointcloud_adjacency_container.h.
|
inline |
Definition at line 68 of file octree_pointcloud_adjacency_container.h.
|
inline |
Remove neighbor from neighbor set.
| [in] | neighbor | the neighbor to remove |
Definition at line 141 of file octree_pointcloud_adjacency_container.h.
|
inlinevirtual |
Clear the voxel centroid.
Implements pcl::octree::OctreeContainerBase.
Definition at line 121 of file octree_pointcloud_adjacency_container.h.
Referenced by pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >::OctreePointCloudAdjacencyContainer().
|
inline |
Sets the data member.
| [in] | data_arg | New value for data |
Definition at line 173 of file octree_pointcloud_adjacency_container.h.
|
inline |
Sets the whole neighbor set.
| [in] | neighbor_arg | the new set |
Definition at line 160 of file octree_pointcloud_adjacency_container.h.
Referenced by pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >::deepCopy().
|
inline |
Sets the number of points contributing to this leaf.
Definition at line 117 of file octree_pointcloud_adjacency_container.h.
Referenced by pcl::octree::OctreePointCloudAdjacencyContainer< PointInT, DataT >::deepCopy().
|
inline |
Definition at line 66 of file octree_pointcloud_adjacency_container.h.