Point Cloud Library (PCL)  1.11.1-dev
List of all members | Public Member Functions
pcl::BranchEstimator Class Referenceabstract

Interface for branch estimators. More...

#include <pcl/ml/branch_estimator.h>

+ Inheritance diagram for pcl::BranchEstimator:

Public Member Functions

virtual ~BranchEstimator ()
 Destructor. More...
virtual std::size_t getNumOfBranches () const =0
 Returns the number of branches the corresponding tree has. More...
virtual void computeBranchIndex (const float result, const unsigned char flag, const float threshold, unsigned char &branch_index) const =0
 Computes the branch index for the specified result. More...

Detailed Description

Interface for branch estimators.

Definition at line 50 of file branch_estimator.h.

Constructor & Destructor Documentation

◆ ~BranchEstimator()

virtual pcl::BranchEstimator::~BranchEstimator ( )


Definition at line 53 of file branch_estimator.h.

Member Function Documentation

◆ computeBranchIndex()

virtual void pcl::BranchEstimator::computeBranchIndex ( const float  result,
const unsigned char  flag,
const float  threshold,
unsigned char &  branch_index 
) const
pure virtual

Computes the branch index for the specified result.

[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

Implemented in pcl::TernaryTreeMissingDataBranchEstimator, and pcl::BinaryTreeThresholdBasedBranchEstimator.

Referenced by pcl::face_detection::PoseClassRegressionVarianceStatsEstimator< LabelDataType, NodeType, DataSet, ExampleIndex >::computeBranchIndex().

◆ getNumOfBranches()

virtual std::size_t pcl::BranchEstimator::getNumOfBranches ( ) const
pure virtual

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