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

#include <SceneDescription.h>

Public Member Functions

void calculateSceneProbaility ()
 
boost::shared_ptr< SceneIdentifiergetSceneIdentifier ()
 
void initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization > mSuperior)
 
void load (boost::property_tree::ptree &pPt, std::string pAlgorithm)
 
 SceneDescription ()
 
void setSceneIdentifier (boost::shared_ptr< SceneIdentifier > pIdentifier)
 
void update (std::vector< ISM::Object > pEvidenceList)
 
 ~SceneDescription ()
 

Private Attributes

boost::shared_ptr< SceneContentmContent
 
boost::shared_ptr< SceneIdentifiermIdentifier
 
std::ofstream mRuntimeFile
 
boost::shared_ptr< Visualization::ProbabilisticSceneVisualization > mVisualizer
 

Detailed Description

This class describes a scene. It's a wrapper for the for the scene content which contains the concrete realization of the scene.

Author
Joachim Gehrung
Version
See SVN

Definition at line 53 of file SceneDescription.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::SceneDescription::SceneDescription ( )

Constructor.

Definition at line 22 of file SceneDescription.cpp.

ProbabilisticSceneRecognition::SceneDescription::~SceneDescription ( )

Destructor.

Definition at line 27 of file SceneDescription.cpp.

Member Function Documentation

void ProbabilisticSceneRecognition::SceneDescription::calculateSceneProbaility ( )

Calculates the probability of the scene.

Definition at line 107 of file SceneDescription.cpp.

boost::shared_ptr< SceneIdentifier > ProbabilisticSceneRecognition::SceneDescription::getSceneIdentifier ( )

Returns the scene's metadata.

Returns
The metadata of the scene.

Definition at line 121 of file SceneDescription.cpp.

void ProbabilisticSceneRecognition::SceneDescription::initializeVisualizer ( boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization >  mSuperior)

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Definition at line 80 of file SceneDescription.cpp.

void ProbabilisticSceneRecognition::SceneDescription::load ( boost::property_tree::ptree &  pPt,
std::string  pAlgorithm 
)

Loads the model from an XML file.

Parameters
pPtData structure for performing XML operations.
pAlgorithmThe name of the inference algorithm.

Definition at line 34 of file SceneDescription.cpp.

void ProbabilisticSceneRecognition::SceneDescription::setSceneIdentifier ( boost::shared_ptr< SceneIdentifier pIdentifier)

Sets the scene content of this scene.

Parameters
pIdentifierThe identifier holding the scenes metadata.

Definition at line 126 of file SceneDescription.cpp.

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

Updates the model with new evidence.

Parameters
pEvidenceListA list containing all evidences.

Definition at line 96 of file SceneDescription.cpp.

Member Data Documentation

boost::shared_ptr<SceneContent> ProbabilisticSceneRecognition::SceneDescription::mContent
private

A container holding the resources required by the scene. A background scene will hold other resources than a foreground scene.

Definition at line 123 of file SceneDescription.h.

boost::shared_ptr<SceneIdentifier> ProbabilisticSceneRecognition::SceneDescription::mIdentifier
private

A wrapper for the scene's metadata.

Definition at line 117 of file SceneDescription.h.

std::ofstream ProbabilisticSceneRecognition::SceneDescription::mRuntimeFile
private

handle for the file that will contain the results from the runtime test.

Definition at line 112 of file SceneDescription.h.

boost::shared_ptr<Visualization::ProbabilisticSceneVisualization> ProbabilisticSceneRecognition::SceneDescription::mVisualizer
private

Coordinates the primary scene object visualization.

Definition at line 128 of file SceneDescription.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