#include <ShapeTermEvaluator.h>
Public Member Functions | |
double | calculateProbabilityForHypothesis (std::vector< ISM::Object > pEvidenceList, std::vector< unsigned int > pAssignments) |
unsigned int | getNumberOfSlots () |
void | initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mSuperior) |
void | load (boost::property_tree::ptree &pPt) |
ShapeTermEvaluator () | |
void | visualize (std::vector< ISM::Object > pEvidenceList) |
~ShapeTermEvaluator () | |
Public Member Functions inherited from ProbabilisticSceneRecognition::TermEvaluator | |
TermEvaluator () | |
virtual | ~TermEvaluator () |
Private Attributes | |
HierarchicalShapeModel | mHsm |
Subclass of the abstract TermEvaluator class responsible for the shape distribution.
Definition at line 50 of file ShapeTermEvaluator.h.
ProbabilisticSceneRecognition::ShapeTermEvaluator::ShapeTermEvaluator | ( | ) |
Constructor.
Definition at line 22 of file ShapeTermEvaluator.cpp.
ProbabilisticSceneRecognition::ShapeTermEvaluator::~ShapeTermEvaluator | ( | ) |
Destructor.
Definition at line 27 of file ShapeTermEvaluator.cpp.
|
virtual |
Calculates the probability for a hypothesis with the given assignments.
pEvidenceList | A list containing all evidences. |
pAssignments | Assignments of parts to slots. |
Implements ProbabilisticSceneRecognition::TermEvaluator.
Definition at line 43 of file ShapeTermEvaluator.cpp.
|
virtual |
Returns the number of slots of the OCM (equals the number of distributions).
Implements ProbabilisticSceneRecognition::TermEvaluator.
Definition at line 53 of file ShapeTermEvaluator.cpp.
|
virtual |
Initializes the visualization mechanism.
mSuperior | The superior visualizer coordinating the scene visualizers. |
Implements ProbabilisticSceneRecognition::TermEvaluator.
Definition at line 37 of file ShapeTermEvaluator.cpp.
|
virtual |
Loads the working data from an XML file.
pPt | Data structure for performing XML operations. |
Implements ProbabilisticSceneRecognition::TermEvaluator.
Definition at line 31 of file ShapeTermEvaluator.cpp.
|
virtual |
Update the visualizers based on the evidence.
pEvidenceList | A list containing all evidences. |
Implements ProbabilisticSceneRecognition::TermEvaluator.
Definition at line 48 of file ShapeTermEvaluator.cpp.
|
private |
Container holding the hierarchical tree modelling the the relationships between scene objects.
Definition at line 106 of file ShapeTermEvaluator.h.