DirectionRelationHeuristic.h
Go to the documentation of this file.
1 
18 #pragma once
19 
20 // Global includes
21 #include <limits>
22 
23 #include <boost/foreach.hpp>
24 #include <boost/shared_ptr.hpp>
25 
26 // Local includes
27 #include "helper/MathHelper.h"
28 
29 #include "trainer/TreeNode.h"
30 
31 #include "trainer/source/Object.h"
34 
36 
37 #include <ISM/common_type/Object.hpp>
38 #include <ISM/common_type/ObjectSet.hpp>
39 
40 
41 namespace SceneModel {
42 
50  {
51  public:
52 
60  DirectionRelationHeuristic(const double pStaticBreakRatio, const double pTogetherRatio, const double pMaxAngleDeviation);
61 
66 
72  void apply(std::vector<boost::shared_ptr<TreeNode> > pNodes);
73 
80  void apply(std::vector<boost::shared_ptr<TreeNode> > pNodes, boost::shared_ptr<TreeNode> pChild);
81 
88 
95 
96  private:
97 
104  Eigen::Vector3d getDirectionVector(const boost::shared_ptr<ISM::Object> first,
105  const boost::shared_ptr<ISM::Object> second);
106 
112 
118 
124  };
125 }
boost::shared_ptr< TreeNode > getBestParentNode()
DirectionRelationHeuristic(const double pStaticBreakRatio, const double pTogetherRatio, const double pMaxAngleDeviation)
Eigen::Vector3d getDirectionVector(const boost::shared_ptr< ISM::Object > first, const boost::shared_ptr< ISM::Object > second)
void apply(std::vector< boost::shared_ptr< TreeNode > > pNodes)


asr_relation_graph_generator
Author(s): Meißner Pascal
autogenerated on Fri Nov 15 2019 03:39:19