#include <OcmSceneObjectContent.h>
Public Member Functions | |
double | getSceneObjectProbability () |
void | initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mSuperior) |
void | load (boost::property_tree::ptree &pPt) |
OcmSceneObjectContent () | |
void | setBestStatus (bool pStatus) |
void | update (std::vector< ISM::Object > pEvidenceList) |
~OcmSceneObjectContent () | |
Public Member Functions inherited from ProbabilisticSceneRecognition::SceneObjectContent | |
SceneObjectContent () | |
virtual | ~SceneObjectContent () |
Private Attributes | |
std::vector< boost::shared_ptr< TermEvaluator > > | mEvaluators |
unsigned int | mNumberOfSlots |
double | mProbability |
boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > | mVisualizer |
This class is a container for the data used by a scene object which is based on the Object Constellation Model (OCM).
Definition at line 53 of file OcmSceneObjectContent.h.
ProbabilisticSceneRecognition::OcmSceneObjectContent::OcmSceneObjectContent | ( | ) |
Constructor.
Definition at line 22 of file OcmSceneObjectContent.cpp.
ProbabilisticSceneRecognition::OcmSceneObjectContent::~OcmSceneObjectContent | ( | ) |
Destructor.
Definition at line 31 of file OcmSceneObjectContent.cpp.
|
virtual |
Returns the probability for the scene object modelled by this class.
Implements ProbabilisticSceneRecognition::SceneObjectContent.
Definition at line 229 of file OcmSceneObjectContent.cpp.
|
virtual |
Initializes the visualization mechanism.
mSuperior | The superior visualizer coordinating the scene visualizers. |
Implements ProbabilisticSceneRecognition::SceneObjectContent.
Definition at line 57 of file OcmSceneObjectContent.cpp.
|
virtual |
Loads the model from an XML file.
pPt | Data structure for performing XML operations. |
Implements ProbabilisticSceneRecognition::SceneObjectContent.
Definition at line 36 of file OcmSceneObjectContent.cpp.
|
virtual |
Marks the scene object with the best score.
pStatus | True, to select the scene object as the one with the best score. |
Implements ProbabilisticSceneRecognition::SceneObjectContent.
Definition at line 234 of file OcmSceneObjectContent.cpp.
|
virtual |
Updates the model with new evidence.
pEvidenceList | A list containing all evidences. |
Implements ProbabilisticSceneRecognition::SceneObjectContent.
Definition at line 67 of file OcmSceneObjectContent.cpp.
|
private |
The term evaluators responsible for generation of the distributions that are part of the OCM.
Definition at line 116 of file OcmSceneObjectContent.h.
|
private |
The number of slots of the OCM.
Definition at line 111 of file OcmSceneObjectContent.h.
|
private |
The probability for this scene object based on the evidence.
Definition at line 106 of file OcmSceneObjectContent.h.
|
private |
Pointer to the visualizer.
Definition at line 121 of file OcmSceneObjectContent.h.