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

#include <OcmSceneObjectContent.h>

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

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
 

Detailed Description

This class is a container for the data used by a scene object which is based on the Object Constellation Model (OCM).

Author
Joachim Gehrung
Version
See SVN

Definition at line 53 of file OcmSceneObjectContent.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::OcmSceneObjectContent::OcmSceneObjectContent ( )

Constructor.

Definition at line 22 of file OcmSceneObjectContent.cpp.

ProbabilisticSceneRecognition::OcmSceneObjectContent::~OcmSceneObjectContent ( )

Destructor.

Definition at line 31 of file OcmSceneObjectContent.cpp.

Member Function Documentation

double ProbabilisticSceneRecognition::OcmSceneObjectContent::getSceneObjectProbability ( )
virtual

Returns the probability for the scene object modelled by this class.

Returns
Probability for this scene object.

Implements ProbabilisticSceneRecognition::SceneObjectContent.

Definition at line 229 of file OcmSceneObjectContent.cpp.

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

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Implements ProbabilisticSceneRecognition::SceneObjectContent.

Definition at line 57 of file OcmSceneObjectContent.cpp.

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

Loads the model from an XML file.

Parameters
pPtData structure for performing XML operations.

Implements ProbabilisticSceneRecognition::SceneObjectContent.

Definition at line 36 of file OcmSceneObjectContent.cpp.

void ProbabilisticSceneRecognition::OcmSceneObjectContent::setBestStatus ( bool  pStatus)
virtual

Marks the scene object with the best score.

Parameters
pStatusTrue, to select the scene object as the one with the best score.

Implements ProbabilisticSceneRecognition::SceneObjectContent.

Definition at line 234 of file OcmSceneObjectContent.cpp.

void ProbabilisticSceneRecognition::OcmSceneObjectContent::update ( std::vector< ISM::Object >  pEvidenceList)
virtual

Updates the model with new evidence.

Parameters
pEvidenceListA list containing all evidences.

Implements ProbabilisticSceneRecognition::SceneObjectContent.

Definition at line 67 of file OcmSceneObjectContent.cpp.

Member Data Documentation

std::vector<boost::shared_ptr<TermEvaluator> > ProbabilisticSceneRecognition::OcmSceneObjectContent::mEvaluators
private

The term evaluators responsible for generation of the distributions that are part of the OCM.

Definition at line 116 of file OcmSceneObjectContent.h.

unsigned int ProbabilisticSceneRecognition::OcmSceneObjectContent::mNumberOfSlots
private

The number of slots of the OCM.

Definition at line 111 of file OcmSceneObjectContent.h.

double ProbabilisticSceneRecognition::OcmSceneObjectContent::mProbability
private

The probability for this scene object based on the evidence.

Definition at line 106 of file OcmSceneObjectContent.h.

boost::shared_ptr<Visualization::ProbabilisticPrimarySceneObjectVisualization> ProbabilisticSceneRecognition::OcmSceneObjectContent::mVisualizer
private

Pointer to the visualizer.

Definition at line 121 of file OcmSceneObjectContent.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