Point Cloud Library (PCL)
1.10.0dev

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 = static_cast<unsigned char>(sizeof(std::uint32_t)*8) 
Octree key class
Definition at line 50 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 61 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 136 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 87 of file octree_key.h.
References operator==().

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

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

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

inline 
pop child node from octree key
Definition at line 124 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 114 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 156 of file octree_key.h.
Referenced by OctreeKey().

static 
Definition at line 144 of file octree_key.h.
std::uint32_t pcl::octree::OctreeKey::x 
Definition at line 152 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 153 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 154 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().