SceneContent.h
Go to the documentation of this file.
1 
18 #pragma once
19 
20 // Global includes
21 #include <string>
22 #include <vector>
23 #include <fstream>
24 #include <iostream>
25 
26 // Package includes
27 #include <boost/property_tree/ptree.hpp>
28 
29 #include <asr_msgs/AsrObject.h>
30 
31 #include <visualization/psm/ProbabilisticSceneVisualization.h>
32 
33 // Local includes
35 
36 #include <ISM/common_type/Object.hpp>
37 
39 
46  class SceneContent {
47  public:
48 
52  SceneContent();
53 
57  virtual ~SceneContent();
58 
64  virtual void load(boost::property_tree::ptree& pPt) = 0;
65 
71  virtual void initializeInferenceAlgorithms(std::string pAlgorithm) = 0;
72 
79 
86  virtual void update(std::vector<ISM::Object> pEvidenceList, std::ofstream& pRuntimeLogger) = 0;
87 
93  double getSceneProbability();
94 
95  protected:
96 
103 
109  void loadInferenceAlgorithm(boost::property_tree::ptree& pPt);
110 
117  void doInference(std::vector<ISM::Object> pEvidenceList, std::ofstream& pRuntimeLogger);
118 
119  private:
120 
125 
126  };
127 }
virtual void load(boost::property_tree::ptree &pPt)=0
void doInference(std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger)
boost::shared_ptr< InferenceAlgorithm > mAlgorithm
Definition: SceneContent.h:124
void setInferenceAlgorithm(boost::shared_ptr< InferenceAlgorithm > pAlgorithm)
virtual void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticSceneVisualization > mSuperior)=0
void loadInferenceAlgorithm(boost::property_tree::ptree &pPt)
virtual void update(std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger)=0
virtual void initializeInferenceAlgorithms(std::string pAlgorithm)=0


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