#include <ForegroundSceneContent.h>
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) |
This subclass of SceneContent class represents a foreground scene. A foreground scene is a scene that contains a model for describing object relations.
Definition at line 54 of file ForegroundSceneContent.h.
ProbabilisticSceneRecognition::ForegroundSceneContent::ForegroundSceneContent | ( | ) |
Constructor.
Definition at line 22 of file ForegroundSceneContent.cpp.
ProbabilisticSceneRecognition::ForegroundSceneContent::~ForegroundSceneContent | ( | ) |
Destructor.
Definition at line 28 of file ForegroundSceneContent.cpp.
|
virtual |
Initializes the inference algorithms. The algorithm that should be used is determined by the given string.
pAlgorithm | The name of the inference algorithm that should be used. |
Implements ProbabilisticSceneRecognition::SceneContent.
Definition at line 55 of file ForegroundSceneContent.cpp.
|
virtual |
Initializes the visualization mechanism.
mSuperior | The superior visualizer coordinating the scene visualizers. |
Implements ProbabilisticSceneRecognition::SceneContent.
Definition at line 71 of file ForegroundSceneContent.cpp.
|
virtual |
Loads the model from an XML file.
pPt | Data structure for performing XML operations. |
Implements ProbabilisticSceneRecognition::SceneContent.
Definition at line 32 of file ForegroundSceneContent.cpp.
|
virtual |
Updates the model with new evidence.
pEvidenceList | A list containing all evidences. |
pRuntimeLogger | A file handle for runtime logging. |
Implements ProbabilisticSceneRecognition::SceneContent.
Definition at line 78 of file ForegroundSceneContent.cpp.
|
protected |
The scene objects associated with this foreground scene.
Definition at line 101 of file ForegroundSceneContent.h.