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 
34 
41  class SceneLearner {
42  public:
43 
49  SceneLearner(std::string pSceneName);
50 
55  SceneLearner();
56 
60  virtual ~SceneLearner();
61 
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 
121 
125  std::string mSceneName;
126 
130  std::vector<ISM::ObjectSetPtr> mExamplesList;
131  };
132 }
virtual void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization > mSuperior)=0
bool isExampleForScene(const ISM::ObjectSetPtr pExample)
void addExampleToScene(const ISM::ObjectSetPtr pExample)
virtual void save(boost::property_tree::ptree &pPt)=0
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