Point Cloud Library (PCL)
1.10.1dev

Octree key class More...
#include <pcl/octree/octree_key.h>
Public Member Functions  
OctreeKey ()  
Empty constructor. More...  
OctreeKey (unsigned int keyX, unsigned int keyY, unsigned int keyZ)  
Constructor for key initialization. More...  
OctreeKey (const OctreeKey &source)  
Copy constructor. More...  
OctreeKey &  operator= (const OctreeKey &)=default 
bool  operator== (const OctreeKey &b) const 
Operator== for comparing octree keys with each other. More...  
bool  operator!= (const OctreeKey &other) const 
Inequal comparison operator. More...  
bool  operator<= (const OctreeKey &b) const 
Operator<= for comparing octree keys with each other. More...  
bool  operator>= (const OctreeKey &b) const 
Operator>= for comparing octree keys with each other. More...  
void  pushBranch (unsigned char childIndex) 
push a child node to the octree key More...  
void  popBranch () 
pop child node from octree key More...  
unsigned char  getChildIdxWithDepthMask (unsigned int depthMask) const 
get child node index using depthMask More...  
Public Attributes  
union {  
struct {  
std::uint32_t x  
std::uint32_t y  
std::uint32_t z  
}  
std::uint32_t key_ [3]  
};  
Static Public Attributes  
static const unsigned char  maxDepth 
Octree key class
Definition at line 52 of file octree_key.h.

inline 
Empty constructor.
Definition at line 55 of file octree_key.h.

inline 
Constructor for key initialization.
Definition at line 58 of file octree_key.h.

inline 

inline 
get child node index using depthMask
[in]  depthMask  bit mask with single bit set at query depth 
Definition at line 134 of file octree_key.h.
Referenced by pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::addPointIdx(), pcl::octree::OctreeBase< pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty >::createLeafRecursive(), pcl::octree::Octree2BufBase< OctreeContainerPointIndices, OctreeContainerEmpty >::createLeafRecursive(), pcl::octree::OctreeBase< pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty >::deleteLeafRecursive(), pcl::octree::Octree2BufBase< OctreeContainerPointIndices, OctreeContainerEmpty >::deleteLeafRecursive(), pcl::octree::OctreeBase< pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty >::findLeafRecursive(), and pcl::octree::Octree2BufBase< OctreeContainerPointIndices, OctreeContainerEmpty >::findLeafRecursive().

inline 
Inequal comparison operator.
[in]  other  OctreeIteratorBase to compare with 
Definition at line 83 of file octree_key.h.
References operator==().

inline 
Operator<= for comparing octree keys with each other.
Definition at line 93 of file octree_key.h.
Referenced by OctreeKey().

inline 
Operator== for comparing octree keys with each other.
Definition at line 72 of file octree_key.h.
Referenced by operator!=().

inline 
Operator>= for comparing octree keys with each other.
Definition at line 103 of file octree_key.h.

inline 
pop child node from octree key
Definition at line 122 of file octree_key.h.
Referenced by pcl::octree::OctreeBase< pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty >::deserializeTreeRecursive(), pcl::octree::Octree2BufBase< OctreeContainerPointIndices, OctreeContainerEmpty >::deserializeTreeRecursive(), pcl::octree::OctreePointCloudVoxelCentroid< PointT, LeafContainerT, BranchContainerT >::getVoxelCentroidsRecursive(), pcl::octree::OctreeDepthFirstIterator< OctreeT >::operator++(), pcl::octree::OctreeBreadthFirstIterator< OctreeT >::operator++(), pcl::octree::OctreeBase< pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty >::serializeTreeRecursive(), and pcl::octree::Octree2BufBase< OctreeContainerPointIndices, OctreeContainerEmpty >::serializeTreeRecursive().

inline 
push a child node to the octree key
[in]  childIndex  index of child node to be added (07) 
Definition at line 112 of file octree_key.h.
Referenced by pcl::octree::OctreeBase< pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty >::deserializeTreeRecursive(), pcl::octree::Octree2BufBase< OctreeContainerPointIndices, OctreeContainerEmpty >::deserializeTreeRecursive(), pcl::octree::OctreePointCloudVoxelCentroid< PointT, LeafContainerT, BranchContainerT >::getVoxelCentroidsRecursive(), pcl::octree::OctreeDepthFirstIterator< OctreeT >::operator++(), pcl::octree::OctreeBreadthFirstIterator< OctreeT >::operator++(), pcl::octree::OctreeBase< pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty >::serializeTreeRecursive(), and pcl::octree::Octree2BufBase< OctreeContainerPointIndices, OctreeContainerEmpty >::serializeTreeRecursive().
union { ... } 
std::uint32_t pcl::octree::OctreeKey::key_[3] 
Definition at line 153 of file octree_key.h.
Referenced by OctreeKey().

static 
Definition at line 142 of file octree_key.h.
std::uint32_t pcl::octree::OctreeKey::x 
Definition at line 149 of file octree_key.h.
Referenced by pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::approxNearestSearch(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::approxNearestSearchRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::boxSearch(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::boxSearchRecursive(), pcl::octree::OctreePointCloudAdjacency< PointT, LeafContainerT, BranchContainerT >::computeNeighbors(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::genLeafNodeCenterFromOctreeKey(), pcl::octree::OctreePointCloudAdjacency< PointT, LeafContainerT, BranchContainerT >::genOctreeKeyforPoint(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::genOctreeKeyforPoint(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::genVoxelBoundsFromOctreeKey(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::genVoxelCenterFromOctreeKey(), getChildIdxWithDepthMask(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getIntersectedVoxelCenters(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getIntersectedVoxelCentersRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getIntersectedVoxelIndices(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getIntersectedVoxelIndicesRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getKNearestNeighborRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getNeighborsWithinRadiusRecursive(), pcl::octree::OctreeIteratorBase< OctreeT >::getNodeID(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::getOccupiedVoxelCenters(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::getOccupiedVoxelCentersRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::nearestKSearch(), operator<=(), operator==(), operator>=(), popBranch(), pushBranch(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::radiusSearch(), pcl::octree::OctreeDepthFirstIterator< OctreeT >::reset(), pcl::octree::OctreeBreadthFirstIterator< OctreeT >::reset(), and pcl::octree::OctreePointCloudAdjacency< PointT, LeafContainerT, BranchContainerT >::testForOcclusion().
std::uint32_t pcl::octree::OctreeKey::y 
Definition at line 150 of file octree_key.h.
Referenced by pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::approxNearestSearch(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::approxNearestSearchRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::boxSearch(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::boxSearchRecursive(), pcl::octree::OctreePointCloudAdjacency< PointT, LeafContainerT, BranchContainerT >::computeNeighbors(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::genLeafNodeCenterFromOctreeKey(), pcl::octree::OctreePointCloudAdjacency< PointT, LeafContainerT, BranchContainerT >::genOctreeKeyforPoint(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::genOctreeKeyforPoint(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::genVoxelBoundsFromOctreeKey(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::genVoxelCenterFromOctreeKey(), getChildIdxWithDepthMask(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getIntersectedVoxelCenters(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getIntersectedVoxelCentersRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getIntersectedVoxelIndices(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getIntersectedVoxelIndicesRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getKNearestNeighborRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getNeighborsWithinRadiusRecursive(), pcl::octree::OctreeIteratorBase< OctreeT >::getNodeID(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::getOccupiedVoxelCenters(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::getOccupiedVoxelCentersRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::nearestKSearch(), operator<=(), operator==(), operator>=(), popBranch(), pushBranch(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::radiusSearch(), pcl::octree::OctreeDepthFirstIterator< OctreeT >::reset(), pcl::octree::OctreeBreadthFirstIterator< OctreeT >::reset(), and pcl::octree::OctreePointCloudAdjacency< PointT, LeafContainerT, BranchContainerT >::testForOcclusion().
std::uint32_t pcl::octree::OctreeKey::z 
Definition at line 151 of file octree_key.h.
Referenced by pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::approxNearestSearch(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::approxNearestSearchRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::boxSearch(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::boxSearchRecursive(), pcl::octree::OctreePointCloudAdjacency< PointT, LeafContainerT, BranchContainerT >::computeNeighbors(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::genLeafNodeCenterFromOctreeKey(), pcl::octree::OctreePointCloudAdjacency< PointT, LeafContainerT, BranchContainerT >::genOctreeKeyforPoint(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::genOctreeKeyforPoint(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::genVoxelBoundsFromOctreeKey(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::genVoxelCenterFromOctreeKey(), getChildIdxWithDepthMask(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getIntersectedVoxelCenters(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getIntersectedVoxelCentersRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getIntersectedVoxelIndices(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getIntersectedVoxelIndicesRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getKNearestNeighborRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::getNeighborsWithinRadiusRecursive(), pcl::octree::OctreeIteratorBase< OctreeT >::getNodeID(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::getOccupiedVoxelCenters(), pcl::octree::OctreePointCloud< PointT, LeafTWrap, BranchTWrap >::getOccupiedVoxelCentersRecursive(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::nearestKSearch(), operator<=(), operator==(), operator>=(), popBranch(), pushBranch(), pcl::octree::OctreePointCloudSearch< PointT, LeafTWrap, BranchTWrap >::radiusSearch(), pcl::octree::OctreeDepthFirstIterator< OctreeT >::reset(), pcl::octree::OctreeBreadthFirstIterator< OctreeT >::reset(), and pcl::octree::OctreePointCloudAdjacency< PointT, LeafContainerT, BranchContainerT >::testForOcclusion().