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

#include <SceneObjectDescription.h>

Public Member Functions

std::string getDescription ()
 
double getSceneObjectPriori ()
 
double getSceneObjectProbability ()
 
void initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticSceneVisualization > mSuperior)
 
void load (boost::property_tree::ptree &pPt)
 
 SceneObjectDescription ()
 
void setBestStatus (bool pStatus)
 
void update (std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger)
 
 ~SceneObjectDescription ()
 

Private Attributes

boost::shared_ptr< SceneObjectContentmContent
 
std::string mDescription
 
double mPriori
 
std::string mType
 
boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mVisualizer
 

Detailed Description

This class models a single instance of a scene object. A scene object contains information about the object as well as the scene. One could describe it as an object in the context of a scene.

Author
Joachim Gehrung
Version
See SVN

Definition at line 53 of file SceneObjectDescription.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::SceneObjectDescription::SceneObjectDescription ( )

Constructor.

Definition at line 22 of file SceneObjectDescription.cpp.

ProbabilisticSceneRecognition::SceneObjectDescription::~SceneObjectDescription ( )

Destructor.

Definition at line 26 of file SceneObjectDescription.cpp.

Member Function Documentation

std::string ProbabilisticSceneRecognition::SceneObjectDescription::getDescription ( )

Returns the description of the scene object.

Returns
The description of the scene object.

Definition at line 120 of file SceneObjectDescription.cpp.

double ProbabilisticSceneRecognition::SceneObjectDescription::getSceneObjectPriori ( )

Returns the a priori probability of the scene object.

Returns
The a priori probability of the scene object.

Definition at line 115 of file SceneObjectDescription.cpp.

double ProbabilisticSceneRecognition::SceneObjectDescription::getSceneObjectProbability ( )

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

Returns
Probability for this scene object.

Definition at line 105 of file SceneObjectDescription.cpp.

void ProbabilisticSceneRecognition::SceneObjectDescription::initializeVisualizer ( boost::shared_ptr< Visualization::ProbabilisticSceneVisualization >  mSuperior)

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Definition at line 65 of file SceneObjectDescription.cpp.

void ProbabilisticSceneRecognition::SceneObjectDescription::load ( boost::property_tree::ptree &  pPt)

Loads the model from an XML file.

Parameters
pPtData structure for performing XML operations.

Definition at line 30 of file SceneObjectDescription.cpp.

void ProbabilisticSceneRecognition::SceneObjectDescription::setBestStatus ( bool  pStatus)

Marks the scene object with the best score.

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

Definition at line 125 of file SceneObjectDescription.cpp.

void ProbabilisticSceneRecognition::SceneObjectDescription::update ( std::vector< ISM::Object >  pEvidenceList,
std::ofstream &  pRuntimeLogger 
)

Updates the model with new evidence.

Parameters
pEvidenceListA list containing all evidences.
pRuntimeLoggerA file handle for runtime logging.

Definition at line 81 of file SceneObjectDescription.cpp.

Member Data Documentation

boost::shared_ptr<SceneObjectContent> ProbabilisticSceneRecognition::SceneObjectDescription::mContent
private

A wrapper for the model that states how the scene object is modelled.

Definition at line 136 of file SceneObjectDescription.h.

std::string ProbabilisticSceneRecognition::SceneObjectDescription::mDescription
private

A short description of the scene object (e.g. Cup, Blue Plate, ...).

Definition at line 131 of file SceneObjectDescription.h.

double ProbabilisticSceneRecognition::SceneObjectDescription::mPriori
private

A priori probability of the scene object.

Definition at line 121 of file SceneObjectDescription.h.

std::string ProbabilisticSceneRecognition::SceneObjectDescription::mType
private

The type of the content wrapped in this class.

Definition at line 126 of file SceneObjectDescription.h.

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

Coordinates the secondary scene object visualizers.

Definition at line 141 of file SceneObjectDescription.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