Main Page
Namespaces
Classes
Files
File List
File Members
include
inference
model
foreground
SceneObjectDescription.h
Go to the documentation of this file.
1
18
#pragma once
19
20
// Global includes
21
#include <string>
22
#include <vector>
23
#include <chrono>
24
25
// Package includes
26
#include <boost/foreach.hpp>
27
#include <boost/shared_ptr.hpp>
28
#include <boost/lexical_cast.hpp>
29
#include <boost/property_tree/ptree.hpp>
30
31
#include <asr_msgs/AsrObject.h>
32
33
#include <visualization/psm/ProbabilisticSceneVisualization.h>
34
#include <visualization/psm/ProbabilisticPrimarySceneObjectVisualization.h>
35
36
#include <fstream>
37
38
// Local includes
39
#include "
inference/model/foreground/SceneObjectContent.h
"
40
41
#include "
inference/model/foreground/ocm/OcmSceneObjectContent.h
"
42
43
#include <ISM/common_type/Object.hpp>
44
45
namespace
ProbabilisticSceneRecognition
{
46
53
class
SceneObjectDescription
{
54
public
:
55
59
SceneObjectDescription
();
60
64
~SceneObjectDescription
();
65
71
void
load
(boost::property_tree::ptree& pPt);
72
78
void
initializeVisualizer
(
boost::shared_ptr<Visualization::ProbabilisticSceneVisualization>
mSuperior);
79
86
void
update
(std::vector<ISM::Object> pEvidenceList, std::ofstream& pRuntimeLogger);
87
93
double
getSceneObjectProbability
();
94
100
double
getSceneObjectPriori
();
101
107
std::string
getDescription
();
108
114
void
setBestStatus
(
bool
pStatus);
115
116
private
:
117
121
double
mPriori
;
122
126
std::string
mType
;
127
131
std::string
mDescription
;
132
136
boost::shared_ptr<SceneObjectContent>
mContent
;
137
141
boost::shared_ptr<Visualization::ProbabilisticPrimarySceneObjectVisualization>
mVisualizer
;
142
};
143
}
ProbabilisticSceneRecognition::SceneObjectDescription
Definition:
SceneObjectDescription.h:53
ProbabilisticSceneRecognition::SceneObjectDescription::getSceneObjectProbability
double getSceneObjectProbability()
Definition:
SceneObjectDescription.cpp:105
ProbabilisticSceneRecognition::SceneObjectDescription::~SceneObjectDescription
~SceneObjectDescription()
Definition:
SceneObjectDescription.cpp:26
SceneObjectContent.h
ProbabilisticSceneRecognition::SceneObjectDescription::SceneObjectDescription
SceneObjectDescription()
Definition:
SceneObjectDescription.cpp:22
OcmSceneObjectContent.h
ProbabilisticSceneRecognition::SceneObjectDescription::setBestStatus
void setBestStatus(bool pStatus)
Definition:
SceneObjectDescription.cpp:125
ProbabilisticSceneRecognition::SceneObjectDescription::mVisualizer
boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mVisualizer
Definition:
SceneObjectDescription.h:141
ProbabilisticSceneRecognition::SceneObjectDescription::mType
std::string mType
Definition:
SceneObjectDescription.h:126
boost::shared_ptr< Visualization::ProbabilisticSceneVisualization >
ProbabilisticSceneRecognition::SceneObjectDescription::getSceneObjectPriori
double getSceneObjectPriori()
Definition:
SceneObjectDescription.cpp:115
ProbabilisticSceneRecognition::SceneObjectDescription::initializeVisualizer
void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticSceneVisualization > mSuperior)
Definition:
SceneObjectDescription.cpp:65
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
ProbabilisticSceneRecognition::SceneObjectDescription::load
void load(boost::property_tree::ptree &pPt)
Definition:
SceneObjectDescription.cpp:30
ProbabilisticSceneRecognition::SceneObjectDescription::getDescription
std::string getDescription()
Definition:
SceneObjectDescription.cpp:120
ProbabilisticSceneRecognition::SceneObjectDescription::update
void update(std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger)
Definition:
SceneObjectDescription.cpp:81
ProbabilisticSceneRecognition::SceneObjectDescription::mContent
boost::shared_ptr< SceneObjectContent > mContent
Definition:
SceneObjectDescription.h:136
ProbabilisticSceneRecognition::SceneObjectDescription::mPriori
double mPriori
Definition:
SceneObjectDescription.h:121
ProbabilisticSceneRecognition::SceneObjectDescription::mDescription
std::string mDescription
Definition:
SceneObjectDescription.h:131
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54