SceneLearner.cpp
Go to the documentation of this file.
1 
18 #include "learner/SceneLearner.h"
19 
21 
22  SceneLearner::SceneLearner(std::string pSceneName)
23  : mSceneName(pSceneName)
24  {
25 
26  }
27 
29  : mSceneName()
30  {
31  }
32 
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 
54  {
55  mWorkspaceVolume = pValue;
56  }
57 
58  void SceneLearner::setPriori(double pPriori)
59  {
60  mPriori = pPriori;
61  }
62 
63 }
bool isExampleForScene(const ISM::ObjectSetPtr pExample)
void addExampleToScene(const ISM::ObjectSetPtr pExample)
std::vector< ISM::ObjectSetPtr > mExamplesList
Definition: SceneLearner.h:130


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54