Main Page
Namespaces
Classes
Files
File List
File Members
include
learner
SceneLearner.h
Go to the documentation of this file.
1
18
#pragma once
19
20
// Global includes
21
#include <string>
22
#include <vector>
23
24
// Package includes
25
#include <boost/shared_ptr.hpp>
26
#include <boost/property_tree/ptree.hpp>
27
28
#include <visualization/psm/ProbabilisticSceneModelVisualization.h>
29
30
//local includes
31
#include <ISM/common_type/ObjectSet.hpp>
32
33
namespace
ProbabilisticSceneRecognition
{
34
41
class
SceneLearner
{
42
public
:
43
49
SceneLearner
(std::string pSceneName);
50
55
SceneLearner
();
56
60
virtual
~SceneLearner
();
61
67
virtual
void
initializeVisualizer
(
boost::shared_ptr<Visualization::ProbabilisticSceneModelVisualization>
mSuperior) = 0;
68
74
virtual
void
save
(boost::property_tree::ptree& pPt) = 0;
75
79
virtual
void
learn
() = 0;
80
86
bool
isExampleForScene
(
const
ISM::ObjectSetPtr pExample);
87
93
void
addExampleToScene
(
const
ISM::ObjectSetPtr pExample);
94
100
void
setVolumeOfWorkspace
(
double
pValue);
101
107
void
setPriori
(
double
pPriori);
108
109
protected
:
110
115
double
mPriori
;
116
120
double
mWorkspaceVolume
;
121
125
std::string
mSceneName
;
126
130
std::vector<ISM::ObjectSetPtr>
mExamplesList
;
131
};
132
}
ProbabilisticSceneRecognition::SceneLearner::setVolumeOfWorkspace
void setVolumeOfWorkspace(double pValue)
Definition:
SceneLearner.cpp:53
ProbabilisticSceneRecognition::SceneLearner::initializeVisualizer
virtual void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization > mSuperior)=0
ProbabilisticSceneRecognition::SceneLearner::isExampleForScene
bool isExampleForScene(const ISM::ObjectSetPtr pExample)
Definition:
SceneLearner.cpp:38
boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization >
ProbabilisticSceneRecognition::SceneLearner::addExampleToScene
void addExampleToScene(const ISM::ObjectSetPtr pExample)
Definition:
SceneLearner.cpp:47
ProbabilisticSceneRecognition::SceneLearner::SceneLearner
SceneLearner()
Definition:
SceneLearner.cpp:28
ProbabilisticSceneRecognition::SceneLearner::~SceneLearner
virtual ~SceneLearner()
Definition:
SceneLearner.cpp:33
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
ProbabilisticSceneRecognition::SceneLearner::mPriori
double mPriori
Definition:
SceneLearner.h:115
ProbabilisticSceneRecognition::SceneLearner::save
virtual void save(boost::property_tree::ptree &pPt)=0
ProbabilisticSceneRecognition::SceneLearner::mExamplesList
std::vector< ISM::ObjectSetPtr > mExamplesList
Definition:
SceneLearner.h:130
ProbabilisticSceneRecognition::SceneLearner::mWorkspaceVolume
double mWorkspaceVolume
Definition:
SceneLearner.h:120
ProbabilisticSceneRecognition::SceneLearner::setPriori
void setPriori(double pPriori)
Definition:
SceneLearner.cpp:58
ProbabilisticSceneRecognition::SceneLearner::learn
virtual void learn()=0
ProbabilisticSceneRecognition::SceneLearner
Definition:
SceneLearner.h:41
ProbabilisticSceneRecognition::SceneLearner::mSceneName
std::string mSceneName
Definition:
SceneLearner.h:125
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54