#include <OcmTree.h>
Public Member Functions | |
unsigned int | getNumberOfNodes () |
void | initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mSuperior) |
void | initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mSuperior, OcmTree *pParent) |
OcmTree (const boost::shared_ptr< SceneModel::TreeNode > pRoot) | |
void | saveShape (boost::property_tree::ptree &pPt) |
~OcmTree () | |
Public Attributes | |
std::vector< boost::shared_ptr< OcmTree > > | mChildren |
GaussianMixtureModel | mGaussianMixtureModelOrientation |
GaussianMixtureModel | mGaussianMixtureModelPosition |
bool | mIsReference |
boost::shared_ptr< ISM::ObjectSet > | mObjectSet |
std::string | mType |
boost::shared_ptr< Visualization::ProbabilisticSecondarySceneObjectVisualization > | mVisualizer |
Private Attributes | |
unsigned int | mReferenceToID |
This tree represents the structure of the OCM. Every note equals a slot in the model and contains a set of parameters. These are filled by term learners. The tree provides a persistence mechanism.
ProbabilisticSceneRecognition::OcmTree::OcmTree | ( | const boost::shared_ptr< SceneModel::TreeNode > | pRoot | ) |
Constructor.
pRoot | Root node of the tree that represents the learned relationships. |
Definition at line 22 of file OcmTree.cpp.
ProbabilisticSceneRecognition::OcmTree::~OcmTree | ( | ) |
Destructor.
Definition at line 38 of file OcmTree.cpp.
unsigned int ProbabilisticSceneRecognition::OcmTree::getNumberOfNodes | ( | ) |
Returns the number of nodes in the tree.
Definition at line 130 of file OcmTree.cpp.
void ProbabilisticSceneRecognition::OcmTree::initializeVisualizer | ( | boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > | mSuperior | ) |
Initializes the visualization mechanism.
mSuperior | The superior visualizer coordinating the scene visualizers. |
Definition at line 42 of file OcmTree.cpp.
void ProbabilisticSceneRecognition::OcmTree::initializeVisualizer | ( | boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > | mSuperior, |
OcmTree * | pParent | ||
) |
Initializes the visualization mechanism.
mSuperior | The superior visualizer coordinating the scene visualizers. |
mParent | The parent ocm node. |
Definition at line 59 of file OcmTree.cpp.
void ProbabilisticSceneRecognition::OcmTree::saveShape | ( | boost::property_tree::ptree & | pPt | ) |
Saves the shape information for the given node to XML.
pPt | Data structure for handling XML operations. |
Definition at line 107 of file OcmTree.cpp.
std::vector<boost::shared_ptr<OcmTree> > ProbabilisticSceneRecognition::OcmTree::mChildren |
GaussianMixtureModel ProbabilisticSceneRecognition::OcmTree::mGaussianMixtureModelOrientation |
GaussianMixtureModel ProbabilisticSceneRecognition::OcmTree::mGaussianMixtureModelPosition |
boost::shared_ptr<ISM::ObjectSet> ProbabilisticSceneRecognition::OcmTree::mObjectSet |
|
private |
std::string ProbabilisticSceneRecognition::OcmTree::mType |
boost::shared_ptr<Visualization::ProbabilisticSecondarySceneObjectVisualization> ProbabilisticSceneRecognition::OcmTree::mVisualizer |