point_cloud_library / 1.12.1 / classpcl_1_1recognition_1_1_hypothesis.html /

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

Public Member Functions

Hypothesis (const ModelLibrary::Model *obj_model=nullptr)
Hypothesis (const Hypothesis &src)
~Hypothesis ()
const Hypothesis & operator= (const Hypothesis &src)
void setLinearId (int id)
int getLinearId () const
void computeBounds (float bounds[6]) const
void computeCenterOfMass (float center_of_mass[3]) const
- Public Member Functions inherited from pcl::recognition::HypothesisBase
HypothesisBase (const ModelLibrary::Model *obj_model)
HypothesisBase (const ModelLibrary::Model *obj_model, const float *rigid_transform)
virtual ~HypothesisBase ()
void setModel (const ModelLibrary::Model *model)

Public Attributes

float match_confidence_
std::set< int > explained_pixels_
int linear_id_
- Public Attributes inherited from pcl::recognition::HypothesisBase
float rigid_transform_ [12]
const ModelLibrary::Model * obj_model_

Detailed Description

Definition at line 81 of file hypothesis.h.

Constructor & Destructor Documentation

Hypothesis() [1/2]

pcl::recognition::Hypothesis::Hypothesis ( const ModelLibrary::Model * obj_model = nullptr )
inline

Definition at line 84 of file hypothesis.h.

Hypothesis() [2/2]

pcl::recognition::Hypothesis::Hypothesis ( const Hypothesis & src )
inline

Definition at line 91 of file hypothesis.h.

~Hypothesis()

pcl::recognition::Hypothesis::~Hypothesis ( )
inline

Definition at line 98 of file hypothesis.h.

Member Function Documentation

computeBounds()

computeCenterOfMass()

void pcl::recognition::Hypothesis::computeCenterOfMass ( float center_of_mass[3] ) const
inline

getLinearId()

int pcl::recognition::Hypothesis::getLinearId ( ) const
inline

Definition at line 118 of file hypothesis.h.

References linear_id_.

operator=()

const Hypothesis& pcl::recognition::Hypothesis::operator= ( const Hypothesis & src )
inline

setLinearId()

void pcl::recognition::Hypothesis::setLinearId ( int id )
inline

Definition at line 112 of file hypothesis.h.

References linear_id_.

Member Data Documentation

explained_pixels_

std::set<int> pcl::recognition::Hypothesis::explained_pixels_

Definition at line 153 of file hypothesis.h.

Referenced by operator=().

linear_id_

int pcl::recognition::Hypothesis::linear_id_

Definition at line 154 of file hypothesis.h.

Referenced by getLinearId(), and setLinearId().

match_confidence_

float pcl::recognition::Hypothesis::match_confidence_

Definition at line 152 of file hypothesis.h.

Referenced by operator=().


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

© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1recognition_1_1_hypothesis.html