Point Cloud Library (PCL)  1.14.0-dev
List of all members | Public Member Functions | Public Attributes
pcl::octree::OctreePointCloudSearch< PointT, LeafContainerT, BranchContainerT >::prioBranchQueueEntry Class Reference

Priority queue entry for branch nodes More...

#include <pcl/octree/octree_search.h>

+ Collaboration diagram for pcl::octree::OctreePointCloudSearch< PointT, LeafContainerT, BranchContainerT >::prioBranchQueueEntry:

Public Member Functions

 prioBranchQueueEntry ()
 Empty constructor
More...
 
 prioBranchQueueEntry (OctreeNode *_node, OctreeKey &_key, float _point_distance)
 Constructor for initializing priority queue entry. More...
 
bool operator< (const prioBranchQueueEntry rhs) const
 Operator< for comparing priority queue entries with each other. More...
 

Public Attributes

const OctreeNodenode
 Pointer to octree node. More...
 
float point_distance
 Distance to query point. More...
 
OctreeKey key
 Octree key. More...
 

Detailed Description

template<typename PointT, typename LeafContainerT = OctreeContainerPointIndices, typename BranchContainerT = OctreeContainerEmpty>
class pcl::octree::OctreePointCloudSearch< PointT, LeafContainerT, BranchContainerT >::prioBranchQueueEntry

Priority queue entry for branch nodes

Note
This class defines priority queue entries for the nearest neighbor search.
Author
Julius Kammerl (juliu.nosp@m.s@ka.nosp@m.mmerl.nosp@m..de)

Definition at line 297 of file octree_search.h.

Constructor & Destructor Documentation

◆ prioBranchQueueEntry() [1/2]

template<typename PointT , typename LeafContainerT = OctreeContainerPointIndices, typename BranchContainerT = OctreeContainerEmpty>
pcl::octree::OctreePointCloudSearch< PointT, LeafContainerT, BranchContainerT >::prioBranchQueueEntry::prioBranchQueueEntry ( )
inline

Empty constructor

Definition at line 300 of file octree_search.h.

◆ prioBranchQueueEntry() [2/2]

template<typename PointT , typename LeafContainerT = OctreeContainerPointIndices, typename BranchContainerT = OctreeContainerEmpty>
pcl::octree::OctreePointCloudSearch< PointT, LeafContainerT, BranchContainerT >::prioBranchQueueEntry::prioBranchQueueEntry ( OctreeNode _node,
OctreeKey _key,
float  _point_distance 
)
inline

Constructor for initializing priority queue entry.

Parameters
_nodepointer to octree node
_keyoctree key addressing voxel in octree structure
[in]_point_distancedistance of query point to voxel center

Definition at line 307 of file octree_search.h.

Member Function Documentation

◆ operator<()

template<typename PointT , typename LeafContainerT = OctreeContainerPointIndices, typename BranchContainerT = OctreeContainerEmpty>
bool pcl::octree::OctreePointCloudSearch< PointT, LeafContainerT, BranchContainerT >::prioBranchQueueEntry::operator< ( const prioBranchQueueEntry  rhs) const
inline

Operator< for comparing priority queue entries with each other.

Parameters
[in]rhsthe priority queue to compare this against

Definition at line 314 of file octree_search.h.

References pcl::octree::OctreePointCloudSearch< PointT, LeafContainerT, BranchContainerT >::prioBranchQueueEntry::point_distance.

Member Data Documentation

◆ key

template<typename PointT , typename LeafContainerT = OctreeContainerPointIndices, typename BranchContainerT = OctreeContainerEmpty>
OctreeKey pcl::octree::OctreePointCloudSearch< PointT, LeafContainerT, BranchContainerT >::prioBranchQueueEntry::key

Octree key.

Definition at line 327 of file octree_search.h.

◆ node

template<typename PointT , typename LeafContainerT = OctreeContainerPointIndices, typename BranchContainerT = OctreeContainerEmpty>
const OctreeNode* pcl::octree::OctreePointCloudSearch< PointT, LeafContainerT, BranchContainerT >::prioBranchQueueEntry::node

Pointer to octree node.

Definition at line 321 of file octree_search.h.

◆ point_distance

template<typename PointT , typename LeafContainerT = OctreeContainerPointIndices, typename BranchContainerT = OctreeContainerEmpty>
float pcl::octree::OctreePointCloudSearch< PointT, LeafContainerT, BranchContainerT >::prioBranchQueueEntry::point_distance

The documentation for this class was generated from the following file: