#include <BackgroundSceneContent.h>
Public Member Functions | |
BackgroundSceneContent () | |
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) |
~BackgroundSceneContent () | |
Public Member Functions inherited from ProbabilisticSceneRecognition::SceneContent | |
double | getSceneProbability () |
SceneContent () | |
virtual | ~SceneContent () |
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 the SceneContent class is a wrapper for storing the resources required by a background scene. The background scene is based onthe same calculations as the foreground scene, but the information here is assumed equal distributed.
Definition at line 53 of file BackgroundSceneContent.h.
ProbabilisticSceneRecognition::BackgroundSceneContent::BackgroundSceneContent | ( | ) |
Constructor.
Definition at line 22 of file BackgroundSceneContent.cpp.
ProbabilisticSceneRecognition::BackgroundSceneContent::~BackgroundSceneContent | ( | ) |
Destructor.
Definition at line 27 of file BackgroundSceneContent.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 36 of file BackgroundSceneContent.cpp.
|
virtual |
Initializes the visualization mechanism.
mSuperior | The superior visualizer coordinating the scene visualizers. |
Implements ProbabilisticSceneRecognition::SceneContent.
Definition at line 52 of file BackgroundSceneContent.cpp.
|
virtual |
Loads the model from an XML file.
pPt | Data structure for performing XML operations. |
Implements ProbabilisticSceneRecognition::SceneContent.
Definition at line 31 of file BackgroundSceneContent.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 57 of file BackgroundSceneContent.cpp.