SceneObjectLearner.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/ProbabilisticSceneVisualization.h>
29 
30 #include <trainer/PSMTrainer.h>
31 
32 //local includes
33 #include <ISM/common_type/ObjectSet.hpp>
34 
36 
44  public:
45 
51  SceneObjectLearner(std::string pSceneObjectType);
52 
56  virtual ~SceneObjectLearner();
57 
64 
70  virtual void save(boost::property_tree::ptree& pPt) = 0;
71 
77  virtual void learn(std::vector<ISM::ObjectSetPtr> pExamplesList, boost::shared_ptr<SceneModel::TreeNode> tree) = 0;
78 
84  bool hasType(std::string pSceneObjectType);
85 
92  void setClusteringParameters(double pStaticBreakRatio, double pTogetherRatio, double pMaxAngleDeviation);
93 
99  void setVolumeOfWorkspace(double pValue);
100 
106  void setPriori(double pPriori);
107 
108  protected:
109 
114  double mPriori;
115 
119  std::string mSceneObjectType;
120 
125 
130  };
131 }
virtual void learn(std::vector< ISM::ObjectSetPtr > pExamplesList, boost::shared_ptr< SceneModel::TreeNode > tree)=0
virtual void save(boost::property_tree::ptree &pPt)=0
virtual void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticSceneVisualization > mSuperior)=0
void setClusteringParameters(double pStaticBreakRatio, double pTogetherRatio, double pMaxAngleDeviation)


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