Public Member Functions | Protected Attributes | List of all members
ProbabilisticSceneRecognition::ForegroundSceneContent Class Reference

#include <ForegroundSceneContent.h>

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

Public Member Functions

 ForegroundSceneContent ()
 
void initializeInferenceAlgorithms (std::string pAlgorithm)
 
void initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticSceneVisualization > mSuperior)
 
void load (boost::property_tree::ptree &pPt)
 
void update (std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger)
 
 ~ForegroundSceneContent ()
 
- Public Member Functions inherited from ProbabilisticSceneRecognition::SceneContent
double getSceneProbability ()
 
 SceneContent ()
 
virtual ~SceneContent ()
 

Protected Attributes

boost::shared_ptr< std::vector< boost::shared_ptr< SceneObjectDescription > > > mSceneObjects
 

Additional Inherited Members

- Protected Member Functions inherited from ProbabilisticSceneRecognition::SceneContent
void doInference (std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger)
 
void loadInferenceAlgorithm (boost::property_tree::ptree &pPt)
 
void setInferenceAlgorithm (boost::shared_ptr< InferenceAlgorithm > pAlgorithm)
 

Detailed Description

This subclass of SceneContent class represents a foreground scene. A foreground scene is a scene that contains a model for describing object relations.

Author
Joachim Gehrung
Version
See SVN

Definition at line 54 of file ForegroundSceneContent.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::ForegroundSceneContent::ForegroundSceneContent ( )

Constructor.

Definition at line 22 of file ForegroundSceneContent.cpp.

ProbabilisticSceneRecognition::ForegroundSceneContent::~ForegroundSceneContent ( )

Destructor.

Definition at line 28 of file ForegroundSceneContent.cpp.

Member Function Documentation

void ProbabilisticSceneRecognition::ForegroundSceneContent::initializeInferenceAlgorithms ( std::string  pAlgorithm)
virtual

Initializes the inference algorithms. The algorithm that should be used is determined by the given string.

Parameters
pAlgorithmThe name of the inference algorithm that should be used.

Implements ProbabilisticSceneRecognition::SceneContent.

Definition at line 55 of file ForegroundSceneContent.cpp.

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

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Implements ProbabilisticSceneRecognition::SceneContent.

Definition at line 71 of file ForegroundSceneContent.cpp.

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

Loads the model from an XML file.

Parameters
pPtData structure for performing XML operations.

Implements ProbabilisticSceneRecognition::SceneContent.

Definition at line 32 of file ForegroundSceneContent.cpp.

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

Updates the model with new evidence.

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

Implements ProbabilisticSceneRecognition::SceneContent.

Definition at line 78 of file ForegroundSceneContent.cpp.

Member Data Documentation

boost::shared_ptr<std::vector<boost::shared_ptr<SceneObjectDescription> > > ProbabilisticSceneRecognition::ForegroundSceneContent::mSceneObjects
protected

The scene objects associated with this foreground scene.

Definition at line 101 of file ForegroundSceneContent.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