ShapeTermEvaluator.cpp
Go to the documentation of this file.
1 
19 
21 
23  : TermEvaluator()
24  {
25  }
26 
28  {
29  }
30 
31  void ShapeTermEvaluator::load(boost::property_tree::ptree& pPt)
32  {
33  // Load hierarchical shape model
34  mHsm.load(pPt);
35  }
36 
38  {
39  // Forward visualizer to hierarchical shape model.
40  mHsm.initializeVisualizer(mSuperior);
41  }
42 
43  double ShapeTermEvaluator::calculateProbabilityForHypothesis(std::vector<ISM::Object> pEvidenceList, std::vector<unsigned int> pAssignments)
44  {
45  return mHsm.calculateProbabilityForHypothesis(pEvidenceList, pAssignments);
46  }
47 
48  void ShapeTermEvaluator::visualize(std::vector<ISM::Object> pEvidenceList)
49  {
50  mHsm.visualize(pEvidenceList);
51  }
52 
54  {
55  return mHsm.getNumberOfNodes();
56  }
57 
58 }
void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mSuperior)
double calculateProbabilityForHypothesis(std::vector< ISM::Object > pEvidenceList, std::vector< unsigned int > pAssignments)
void visualize(std::vector< ISM::Object > pEvidenceList)
void visualize(std::vector< ISM::Object > pEvidenceList)
void initializeVisualizer(boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mSuperior)
void load(boost::property_tree::ptree &pPt)
double calculateProbabilityForHypothesis(std::vector< ISM::Object > pEvidenceList, std::vector< unsigned int > pAssignments)


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