Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions
pcl::TernaryTreeMissingDataBranchEstimator Class Reference

Branch estimator for ternary trees where one branch is used for missing data (indicated by flag != 0). More...

#include <pcl/ml/branch_estimator.h>

+ Inheritance diagram for pcl::TernaryTreeMissingDataBranchEstimator:

Public Member Functions

 TernaryTreeMissingDataBranchEstimator ()
 Constructor. More...
 
 ~TernaryTreeMissingDataBranchEstimator ()
 Destructor. More...
 
size_t getNumOfBranches () const override
 Returns the number of branches the corresponding tree has. More...
 
void computeBranchIndex (const float result, const unsigned char flag, const float threshold, unsigned char &branch_index) const override
 Computes the branch index for the specified result. More...
 
- Public Member Functions inherited from pcl::BranchEstimator
virtual ~BranchEstimator ()
 Destructor. More...
 

Detailed Description

Branch estimator for ternary trees where one branch is used for missing data (indicated by flag != 0).

Definition at line 110 of file branch_estimator.h.

Constructor & Destructor Documentation

pcl::TernaryTreeMissingDataBranchEstimator::TernaryTreeMissingDataBranchEstimator ( )
inline

Constructor.

Definition at line 115 of file branch_estimator.h.

pcl::TernaryTreeMissingDataBranchEstimator::~TernaryTreeMissingDataBranchEstimator ( )
inline

Destructor.

Definition at line 117 of file branch_estimator.h.

Member Function Documentation

void pcl::TernaryTreeMissingDataBranchEstimator::computeBranchIndex ( const float  result,
const unsigned char  flag,
const float  threshold,
unsigned char &  branch_index 
) const
inlineoverridevirtual

Computes the branch index for the specified result.

Parameters
[in]resultThe result the branch index will be computed for.
[in]flagThe flag corresponding to the specified result.
[in]thresholdThe threshold used to compute the branch index.
[out]branch_indexThe destination for the computed branch index.

Implements pcl::BranchEstimator.

Definition at line 133 of file branch_estimator.h.

size_t pcl::TernaryTreeMissingDataBranchEstimator::getNumOfBranches ( ) const
inlineoverridevirtual

Returns the number of branches the corresponding tree has.

Implements pcl::BranchEstimator.

Definition at line 121 of file branch_estimator.h.


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