Main Page
Namespaces
Classes
Files
File List
File Members
include
inference
model
SceneDescription.h
Go to the documentation of this file.
1
18
#pragma once
19
20
// Global includes
21
#include <vector>
22
#include <fstream>
23
#include <iostream>
24
25
// Package includes
26
#include <asr_msgs/AsrObject.h>
27
28
#include <boost/shared_ptr.hpp>
29
#include <boost/lexical_cast.hpp>
30
#include <boost/property_tree/ptree.hpp>
31
32
#include <visualization/psm/ProbabilisticSceneModelVisualization.h>
33
#include <visualization/psm/ProbabilisticSceneVisualization.h>
34
35
// Local includes
36
#include "
inference/model/SceneIdentifier.h
"
37
#include "
inference/model/SceneContent.h
"
38
39
#include "
inference/model/foreground/ForegroundSceneContent.h
"
40
41
#include "
inference/model/background/BackgroundSceneContent.h
"
42
43
#include <ISM/common_type/Object.hpp>
44
45
namespace
ProbabilisticSceneRecognition
{
46
53
class
SceneDescription
{
54
public
:
55
59
SceneDescription
();
60
64
~SceneDescription
();
65
72
void
load
(boost::property_tree::ptree& pPt, std::string pAlgorithm);
73
79
void
initializeVisualizer
(
boost::shared_ptr<Visualization::ProbabilisticSceneModelVisualization>
mSuperior);
80
86
void
update
(std::vector<ISM::Object> pEvidenceList);
87
91
void
calculateSceneProbaility
();
92
98
boost::shared_ptr<SceneIdentifier>
getSceneIdentifier
();
99
105
void
setSceneIdentifier
(
boost::shared_ptr<SceneIdentifier>
pIdentifier);
106
107
private
:
108
112
std::ofstream
mRuntimeFile
;
113
117
boost::shared_ptr<SceneIdentifier>
mIdentifier
;
118
123
boost::shared_ptr<SceneContent>
mContent
;
124
128
boost::shared_ptr<Visualization::ProbabilisticSceneVisualization>
mVisualizer
;
129
};
130
}
ProbabilisticSceneRecognition::SceneDescription::load
void load(boost::property_tree::ptree &pPt, std::string pAlgorithm)
Definition:
SceneDescription.cpp:34
ForegroundSceneContent.h
SceneContent.h
ProbabilisticSceneRecognition::SceneDescription::mRuntimeFile
std::ofstream mRuntimeFile
Definition:
SceneDescription.h:112
ProbabilisticSceneRecognition::SceneDescription::mIdentifier
boost::shared_ptr< SceneIdentifier > mIdentifier
Definition:
SceneDescription.h:117
ProbabilisticSceneRecognition::SceneDescription::update
void update(std::vector< ISM::Object > pEvidenceList)
Definition:
SceneDescription.cpp:96
boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization >
ProbabilisticSceneRecognition::SceneDescription::mVisualizer
boost::shared_ptr< Visualization::ProbabilisticSceneVisualization > mVisualizer
Definition:
SceneDescription.h:128
ProbabilisticSceneRecognition::SceneDescription
Definition:
SceneDescription.h:53
ProbabilisticSceneRecognition::SceneDescription::~SceneDescription
~SceneDescription()
Definition:
SceneDescription.cpp:27
ProbabilisticSceneRecognition::SceneDescription::initializeVisualizer
void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization > mSuperior)
Definition:
SceneDescription.cpp:80
ProbabilisticSceneRecognition::SceneDescription::calculateSceneProbaility
void calculateSceneProbaility()
Definition:
SceneDescription.cpp:107
ProbabilisticSceneRecognition::SceneDescription::mContent
boost::shared_ptr< SceneContent > mContent
Definition:
SceneDescription.h:123
BackgroundSceneContent.h
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
ProbabilisticSceneRecognition::SceneDescription::setSceneIdentifier
void setSceneIdentifier(boost::shared_ptr< SceneIdentifier > pIdentifier)
Definition:
SceneDescription.cpp:126
ProbabilisticSceneRecognition::SceneDescription::getSceneIdentifier
boost::shared_ptr< SceneIdentifier > getSceneIdentifier()
Definition:
SceneDescription.cpp:121
ProbabilisticSceneRecognition::SceneDescription::SceneDescription
SceneDescription()
Definition:
SceneDescription.cpp:22
SceneIdentifier.h
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54