#include <OcmModel.h>
Public Member Functions | |
unsigned int | getNumberOfSlots () |
void | initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mSuperior) |
OcmModel (const boost::shared_ptr< SceneModel::TreeNode > pRoot) | |
void | save (double pWorkspaceVolume, boost::property_tree::ptree &pPt) |
void | saveAppearance (boost::property_tree::ptree &pPt) |
void | saveOcclusion (boost::property_tree::ptree &pPt) |
void | saveShape (double pWorkspaceVolume, boost::property_tree::ptree &pPt) |
~OcmModel () | |
This class represents the OCM model. It contains data structures for the parameters of shape, appearance, hypothesis and occlusion.
Definition at line 49 of file OcmModel.h.
ProbabilisticSceneRecognition::OcmModel::OcmModel | ( | 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 OcmModel.cpp.
ProbabilisticSceneRecognition::OcmModel::~OcmModel | ( | ) |
Destructor.
Definition at line 28 of file OcmModel.cpp.
unsigned int ProbabilisticSceneRecognition::OcmModel::getNumberOfSlots | ( | ) |
Returns the number of slots.
Definition at line 89 of file OcmModel.cpp.
void ProbabilisticSceneRecognition::OcmModel::initializeVisualizer | ( | boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > | mSuperior | ) |
Initializes the visualization mechanism.
mSuperior | The superior visualizer coordinating the scene visualizers. |
Definition at line 32 of file OcmModel.cpp.
void ProbabilisticSceneRecognition::OcmModel::save | ( | double | pWorkspaceVolume, |
boost::property_tree::ptree & | pPt | ||
) |
Saves the tree to XML beginning with the root node.
pWorkspaceVolume | The volume of the workspace the scene takes place in qubic meters. |
pPt | Datastructure for handling XML operations. |
Definition at line 38 of file OcmModel.cpp.
void ProbabilisticSceneRecognition::OcmModel::saveAppearance | ( | boost::property_tree::ptree & | pPt | ) |
Saves the appearance information for the given node to XML.
pPt | Data structure for handling XML operations. |
Definition at line 65 of file OcmModel.cpp.
void ProbabilisticSceneRecognition::OcmModel::saveOcclusion | ( | boost::property_tree::ptree & | pPt | ) |
Saves the occlusion information for the given node to XML.
pPt | Data structure for handling XML operations. |
Definition at line 77 of file OcmModel.cpp.
void ProbabilisticSceneRecognition::OcmModel::saveShape | ( | double | pWorkspaceVolume, |
boost::property_tree::ptree & | pPt | ||
) |
Saves the shape information for the given node to XML.
pWorkspaceVolume | The volume of the workspace the scene takes place in qubic meters. |
pPt | Data structure for handling XML operations. |
Definition at line 49 of file OcmModel.cpp.
boost::shared_ptr<MappedProbabilityTable> ProbabilisticSceneRecognition::OcmModel::mAppearanceTable |
A probability table for the appearance that could be adressey with cleartext object names.
Definition at line 118 of file OcmModel.h.
boost::shared_ptr<MappedProbabilityTable> ProbabilisticSceneRecognition::OcmModel::mHypothesisTable |
A probability table for the hypothesis that could be adressey with cleartext object names.
Definition at line 123 of file OcmModel.h.
boost::shared_ptr<ProbabilityTable> ProbabilisticSceneRecognition::OcmModel::mOcclusionTable |
A probability table representing the occlusion probabilities.
Definition at line 128 of file OcmModel.h.
boost::shared_ptr<OcmTree> ProbabilisticSceneRecognition::OcmModel::mRoot |
The root node of the OCM tree data structure for modelling the hierarchical relationship of the model slots.
Definition at line 113 of file OcmModel.h.