Public Member Functions | Private Attributes | List of all members
ProbabilisticSceneRecognition::ShapeTermEvaluator Class Reference

#include <ShapeTermEvaluator.h>

Inheritance diagram for ProbabilisticSceneRecognition::ShapeTermEvaluator:
Inheritance graph
[legend]

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
 

Detailed Description

Subclass of the abstract TermEvaluator class responsible for the shape distribution.

Author
Joachim Gehrung
Version
See SVN

Definition at line 50 of file ShapeTermEvaluator.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::ShapeTermEvaluator::ShapeTermEvaluator ( )

Constructor.

Definition at line 22 of file ShapeTermEvaluator.cpp.

ProbabilisticSceneRecognition::ShapeTermEvaluator::~ShapeTermEvaluator ( )

Destructor.

Definition at line 27 of file ShapeTermEvaluator.cpp.

Member Function Documentation

double ProbabilisticSceneRecognition::ShapeTermEvaluator::calculateProbabilityForHypothesis ( std::vector< ISM::Object >  pEvidenceList,
std::vector< unsigned int >  pAssignments 
)
virtual

Calculates the probability for a hypothesis with the given assignments.

Parameters
pEvidenceListA list containing all evidences.
pAssignmentsAssignments of parts to slots.
Returns
Probability as determinded by the shape term.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 43 of file ShapeTermEvaluator.cpp.

unsigned int ProbabilisticSceneRecognition::ShapeTermEvaluator::getNumberOfSlots ( )
virtual

Returns the number of slots of the OCM (equals the number of distributions).

Returns
The number of slots of the OCM.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 53 of file ShapeTermEvaluator.cpp.

void ProbabilisticSceneRecognition::ShapeTermEvaluator::initializeVisualizer ( boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization >  mSuperior)
virtual

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 37 of file ShapeTermEvaluator.cpp.

void ProbabilisticSceneRecognition::ShapeTermEvaluator::load ( boost::property_tree::ptree &  pPt)
virtual

Loads the working data from an XML file.

Parameters
pPtData structure for performing XML operations.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 31 of file ShapeTermEvaluator.cpp.

void ProbabilisticSceneRecognition::ShapeTermEvaluator::visualize ( std::vector< ISM::Object >  pEvidenceList)
virtual

Update the visualizers based on the evidence.

Parameters
pEvidenceListA list containing all evidences.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 48 of file ShapeTermEvaluator.cpp.

Member Data Documentation

HierarchicalShapeModel ProbabilisticSceneRecognition::ShapeTermEvaluator::mHsm
private

Container holding the hierarchical tree modelling the the relationships between scene objects.

Definition at line 106 of file ShapeTermEvaluator.h.


The documentation for this class was generated from the following files:


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 04:00:09