Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ProbabilisticSceneRecognition::SceneContent Class Referenceabstract

#include <SceneContent.h>

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

Public Member Functions

double getSceneProbability ()
 
virtual void initializeInferenceAlgorithms (std::string pAlgorithm)=0
 
virtual void initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticSceneVisualization > mSuperior)=0
 
virtual void load (boost::property_tree::ptree &pPt)=0
 
 SceneContent ()
 
virtual void update (std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger)=0
 
virtual ~SceneContent ()
 

Protected Member Functions

void doInference (std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger)
 
void loadInferenceAlgorithm (boost::property_tree::ptree &pPt)
 
void setInferenceAlgorithm (boost::shared_ptr< InferenceAlgorithm > pAlgorithm)
 

Private Attributes

boost::shared_ptr< InferenceAlgorithmmAlgorithm
 

Detailed Description

Abstract class for modelling a specific type of scene (e.g. fore- or background scene).

Author
Joachim Gehrung
Version
See SVN

Definition at line 46 of file SceneContent.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::SceneContent::SceneContent ( )

Constructor.

Definition at line 22 of file SceneContent.cpp.

ProbabilisticSceneRecognition::SceneContent::~SceneContent ( )
virtual

Destructor.

Definition at line 26 of file SceneContent.cpp.

Member Function Documentation

void ProbabilisticSceneRecognition::SceneContent::doInference ( std::vector< ISM::Object >  pEvidenceList,
std::ofstream &  pRuntimeLogger 
)
protected

Executes the inference process.

Parameters
pEvidenceListThe evidence found.
pRuntimeLoggerA file handle for runtime logging.

Definition at line 49 of file SceneContent.cpp.

double ProbabilisticSceneRecognition::SceneContent::getSceneProbability ( )

Returns the probability for the scene modelled by this class.

Returns
Probability for this scene.

Definition at line 30 of file SceneContent.cpp.

virtual void ProbabilisticSceneRecognition::SceneContent::initializeInferenceAlgorithms ( std::string  pAlgorithm)
pure 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.

Implemented in ProbabilisticSceneRecognition::ForegroundSceneContent, and ProbabilisticSceneRecognition::BackgroundSceneContent.

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

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Implemented in ProbabilisticSceneRecognition::ForegroundSceneContent, and ProbabilisticSceneRecognition::BackgroundSceneContent.

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

Loads the model from an XML file.

Parameters
pPtData structure for performing XML operations.

Implemented in ProbabilisticSceneRecognition::ForegroundSceneContent, and ProbabilisticSceneRecognition::BackgroundSceneContent.

void ProbabilisticSceneRecognition::SceneContent::loadInferenceAlgorithm ( boost::property_tree::ptree &  pPt)
protected

Loads the data used by the inference algorithm from an XML file.

Parameters
pPtData structure for performing XML operations.

Definition at line 40 of file SceneContent.cpp.

void ProbabilisticSceneRecognition::SceneContent::setInferenceAlgorithm ( boost::shared_ptr< InferenceAlgorithm pAlgorithm)
protected

Sets the inference algorithm.

Parameters
pAlgorithmThe algorithm used to infer the scene probability.

Definition at line 35 of file SceneContent.cpp.

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

Updates the model with new evidence.

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

Implemented in ProbabilisticSceneRecognition::ForegroundSceneContent, and ProbabilisticSceneRecognition::BackgroundSceneContent.

Member Data Documentation

boost::shared_ptr<InferenceAlgorithm> ProbabilisticSceneRecognition::SceneContent::mAlgorithm
private

The algorithm used for inference.

Definition at line 124 of file SceneContent.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