Point Cloud Library (PCL) 1.12.0
Loading...
Searching...
No Matches
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
pcl::recognition::BVH< UserData >::BoundedObject Class Reference

#include <pcl/recognition/ransac_based/bvh.h>

Public Member Functions

 BoundedObject (const UserData &data)
 
virtual ~BoundedObject ()
 
floatgetBounds ()
 
floatgetCentroid ()
 
const floatgetCentroid () const
 
UserDatagetData ()
 

Static Public Member Functions

static bool compareCentroidsXCoordinates (const BoundedObject *a, const BoundedObject *b)
 This method is for std::sort.
 

Protected Attributes

float bounds_ [6]
 These are the bounds of the object.
 
float centroid_ [3]
 This is the centroid.
 
UserData data_
 This is the user-defined data object.
 

Detailed Description

template<class UserData>
class pcl::recognition::BVH< UserData >::BoundedObject

Definition at line 68 of file bvh.h.

Constructor & Destructor Documentation

◆ BoundedObject()

template<class UserData >
pcl::recognition::BVH< UserData >::BoundedObject::BoundedObject ( const UserData & data)
inline

Definition at line 71 of file bvh.h.

◆ ~BoundedObject()

template<class UserData >
virtual pcl::recognition::BVH< UserData >::BoundedObject::~BoundedObject ( )
inlinevirtual

Definition at line 76 of file bvh.h.

Member Function Documentation

◆ compareCentroidsXCoordinates()

template<class UserData >
static bool pcl::recognition::BVH< UserData >::BoundedObject::compareCentroidsXCoordinates ( const BoundedObject * a,
const BoundedObject * b )
inlinestatic

This method is for std::sort.

Definition at line 82 of file bvh.h.

References pcl::recognition::BVH< UserData >::BoundedObject::getCentroid().

◆ getBounds()

template<class UserData >
float * pcl::recognition::BVH< UserData >::BoundedObject::getBounds ( )
inline

Definition at line 88 of file bvh.h.

◆ getCentroid() [1/2]

template<class UserData >
float * pcl::recognition::BVH< UserData >::BoundedObject::getCentroid ( )
inline

◆ getCentroid() [2/2]

template<class UserData >
const float * pcl::recognition::BVH< UserData >::BoundedObject::getCentroid ( ) const
inline

Definition at line 100 of file bvh.h.

◆ getData()

template<class UserData >
UserData & pcl::recognition::BVH< UserData >::BoundedObject::getData ( )
inline

Definition at line 106 of file bvh.h.

Member Data Documentation

◆ bounds_

template<class UserData >
float pcl::recognition::BVH< UserData >::BoundedObject::bounds_[6]
protected

These are the bounds of the object.

Definition at line 113 of file bvh.h.

◆ centroid_

template<class UserData >
float pcl::recognition::BVH< UserData >::BoundedObject::centroid_[3]
protected

This is the centroid.

Definition at line 115 of file bvh.h.

◆ data_

template<class UserData >
UserData pcl::recognition::BVH< UserData >::BoundedObject::data_
protected

This is the user-defined data object.

Definition at line 117 of file bvh.h.


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