Main Page
Namespaces
Classes
Files
File List
File Members
include
inference
model
SceneModelDescription.h
Go to the documentation of this file.
1
18
#pragma once
19
20
// Global includes
21
#include <vector>
22
23
// Package includes
24
#include <
ros/ros.h
>
25
#include <
ros/console.h
>
26
27
#include <boost/foreach.hpp>
28
#include <boost/shared_ptr.hpp>
29
#include <boost/filesystem.hpp>
30
#include <boost/property_tree/ptree.hpp>
31
#include <boost/property_tree/xml_parser.hpp>
32
33
#include <asr_msgs/AsrObject.h>
34
35
#include <visualization/psm/ProbabilisticSceneModelVisualization.h>
36
37
// Local includes
38
#include "
inference/model/ObjectEvidence.h
"
39
#include "
inference/model/SceneIdentifier.h
"
40
#include "
inference/model/SceneDescription.h
"
41
42
#include <ISM/common_type/Object.hpp>
43
44
namespace
ProbabilisticSceneRecognition
{
45
52
class
SceneModelDescription
{
53
public
:
54
58
SceneModelDescription
();
59
63
~SceneModelDescription
();
64
71
void
loadModelFromFile
(std::string pPathToFile, std::string pAlgorithm);
72
78
void
initializeVisualizer
(
boost::shared_ptr<Visualization::ProbabilisticSceneModelVisualization>
mSuperior);
79
86
void
integrateEvidence
(
const
boost::shared_ptr<const ISM::Object>
& pObject);
87
91
void
updateModel
();
92
98
void
getSceneListWithProbabilities
(std::vector<SceneIdentifier>& pSceneList);
99
100
private
:
101
105
ObjectEvidence
mObjectEvidence
;
106
111
std::vector<ISM::Object>
mEvidenceList
;
112
116
std::vector<boost::shared_ptr<SceneDescription> >
mScenes
;
117
};
118
}
ProbabilisticSceneRecognition::SceneModelDescription::initializeVisualizer
void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization > mSuperior)
Definition:
SceneModelDescription.cpp:57
SceneDescription.h
ProbabilisticSceneRecognition::SceneModelDescription::mScenes
std::vector< boost::shared_ptr< SceneDescription > > mScenes
Definition:
SceneModelDescription.h:116
ProbabilisticSceneRecognition::SceneModelDescription::integrateEvidence
void integrateEvidence(const boost::shared_ptr< const ISM::Object > &pObject)
Definition:
SceneModelDescription.cpp:64
ProbabilisticSceneRecognition::SceneModelDescription::mObjectEvidence
ObjectEvidence mObjectEvidence
Definition:
SceneModelDescription.h:105
boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization >
ProbabilisticSceneRecognition::SceneModelDescription::mEvidenceList
std::vector< ISM::Object > mEvidenceList
Definition:
SceneModelDescription.h:111
ProbabilisticSceneRecognition::SceneModelDescription::SceneModelDescription
SceneModelDescription()
Definition:
SceneModelDescription.cpp:22
ProbabilisticSceneRecognition::SceneModelDescription::getSceneListWithProbabilities
void getSceneListWithProbabilities(std::vector< SceneIdentifier > &pSceneList)
Definition:
SceneModelDescription.cpp:88
ProbabilisticSceneRecognition::SceneModelDescription
Definition:
SceneModelDescription.h:52
ProbabilisticSceneRecognition::ObjectEvidence
Definition:
ObjectEvidence.h:46
ProbabilisticSceneRecognition::SceneModelDescription::~SceneModelDescription
~SceneModelDescription()
Definition:
SceneModelDescription.cpp:26
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
ObjectEvidence.h
ros.h
console.h
ProbabilisticSceneRecognition::SceneModelDescription::loadModelFromFile
void loadModelFromFile(std::string pPathToFile, std::string pAlgorithm)
Definition:
SceneModelDescription.cpp:30
ProbabilisticSceneRecognition::SceneModelDescription::updateModel
void updateModel()
Definition:
SceneModelDescription.cpp:71
SceneIdentifier.h
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54