Main Page
Namespaces
Classes
Files
File List
File Members
src
learner
SceneLearner.cpp
Go to the documentation of this file.
1
18
#include "
learner/SceneLearner.h
"
19
20
namespace
ProbabilisticSceneRecognition
{
21
22
SceneLearner::SceneLearner
(std::string pSceneName)
23
: mSceneName(pSceneName)
24
{
25
26
}
27
28
SceneLearner::SceneLearner
()
29
:
mSceneName
()
30
{
31
}
32
33
SceneLearner::~SceneLearner
()
34
{
35
}
36
37
38
bool
SceneLearner::isExampleForScene
(
const
ISM::ObjectSetPtr pExample)
39
40
{
41
//return true;
42
return
(
mSceneName
.compare(pExample->mIdentifier) == 0);
43
44
}
45
46
47
void
SceneLearner::addExampleToScene
(
const
ISM::ObjectSetPtr pExample)
48
49
{
50
mExamplesList
.push_back(pExample);
51
}
52
53
void
SceneLearner::setVolumeOfWorkspace
(
double
pValue)
54
{
55
mWorkspaceVolume
= pValue;
56
}
57
58
void
SceneLearner::setPriori
(
double
pPriori)
59
{
60
mPriori
= pPriori;
61
}
62
63
}
SceneLearner.h
ProbabilisticSceneRecognition::SceneLearner::setVolumeOfWorkspace
void setVolumeOfWorkspace(double pValue)
Definition:
SceneLearner.cpp:53
ProbabilisticSceneRecognition::SceneLearner::isExampleForScene
bool isExampleForScene(const ISM::ObjectSetPtr pExample)
Definition:
SceneLearner.cpp:38
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::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::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