|
Point Cloud Library (PCL) 1.12.1
|
Class representing a Fern. More...
#include <pcl/ml/ferns/fern.h>
Public Member Functions | |
| Fern () | |
| Constructor. | |
| virtual | ~Fern () |
| Destructor. | |
| void | initialize (const std::size_t num_of_decisions) |
| Initializes the fern. | |
| std::size_t | getNumOfNodes () |
| Returns the number of nodes the Fern has. | |
| std::size_t | getNumOfFeatures () |
| Returns the number of features the Fern has. | |
| void | serialize (::std::ostream &stream) const |
| Serializes the fern. | |
| void | deserialize (::std::istream &stream) |
| Deserializes the fern. | |
| NodeType & | operator[] (const std::size_t node_index) |
| Access operator for nodes. | |
| const NodeType & | operator[] (const std::size_t node_index) const |
| Access operator for nodes. | |
| FeatureType & | accessFeature (const std::size_t feature_index) |
| Access operator for features. | |
| const FeatureType & | accessFeature (const std::size_t feature_index) const |
| Access operator for features. | |
| float & | accessThreshold (const std::size_t threshold_index) |
| Access operator for thresholds. | |
| const float & | accessThreshold (const std::size_t threshold_index) const |
| Access operator for thresholds. | |
Class representing a Fern.
Deserializes the fern.
| [in] | stream | the source for the deserialization |
Definition at line 117 of file fern.h.
References pcl::ConstCloudIterator< PointT >::size().
|
inline |
|
inline |
Serializes the fern.
| [out] | stream | the destination for the serialization |
Definition at line 89 of file fern.h.
References pcl::ConstCloudIterator< PointT >::size().