Point Cloud Library (PCL)  1.12.1-dev
List of all members | Public Member Functions | Public Attributes
pcl::recognition::Hypothesis Class Reference

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

+ Inheritance diagram for pcl::recognition::Hypothesis:
+ Collaboration diagram for pcl::recognition::Hypothesis:

Public Member Functions

 Hypothesis (const ModelLibrary::Model *obj_model=nullptr)
 Hypothesis (const Hypothesis &src)
 ~Hypothesis () override=default
const Hypothesisoperator= (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 ()=default
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::Modelobj_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)

Definition at line 84 of file hypothesis.h.

◆ Hypothesis() [2/2]

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

Definition at line 91 of file hypothesis.h.

◆ ~Hypothesis()

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

Member Function Documentation

◆ computeBounds()

void pcl::recognition::Hypothesis::computeBounds ( float  bounds[6]) const

◆ computeCenterOfMass()

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

◆ getLinearId()

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

Definition at line 118 of file hypothesis.h.

References linear_id_.

◆ operator=()

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

◆ setLinearId()

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

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: