FullyMeshedTrainer.cpp
Go to the documentation of this file.
1 
19 
20 namespace SceneModel {
21 
23  : AbstractTrainer()
24  {
25  std::cout << "Building fully meshed tree." << std::endl;
26 
27  // Initilaize a source that translates AsrSceneGraph messages.
29  source = pbdSource;
30 
31  // Initialize the generator for building the tree using agglomerative clustering.
32  // The heuristic used here is searching for stable relativ poses.
34  generator = gen;
35 
36  std::cout << "Fully meshed tree built." << std::endl;
37  }
38 
40  {
41  }
42 
43  void FullyMeshedTrainer::addSceneGraphMessages(std::vector<ISM::ObjectSetPtr> pMessages)
44  {
45  //BOOST_FOREACH(boost::shared_ptr<const ISM::ObjectSetPtr> pMessage, pMessages)
46  pbdSource->addSceneGraphMessage(pMessages);
47  }
48 
49 }
void addSceneGraphMessages(std::vector< ISM::ObjectSetPtr > pMessages)
boost::shared_ptr< AbstractGraphGenerator > generator
boost::shared_ptr< PbdSceneGraphSource > pbdSource
boost::shared_ptr< AbstractSource > source


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