#include <TopologyTreeTrainer.h>
Public Member Functions | |
void | addSceneGraphMessages (std::vector< ISM::ObjectSetPtr > pMessages) |
TopologyTreeTrainer (std::vector< boost::shared_ptr< Relation >> pRelations) | |
~TopologyTreeTrainer () | |
Public Member Functions inherited from SceneModel::AbstractTrainer | |
AbstractTrainer () | |
boost::shared_ptr< TreeNode > | getTree () |
void | loadTrajectoriesAndBuildTree () |
void | loadTrajectoriesAndBuildTree (std::string pType) |
~AbstractTrainer () | |
Private Attributes | |
boost::shared_ptr< PbdSceneGraphSource > | pbdSource |
Additional Inherited Members | |
Protected Attributes inherited from SceneModel::AbstractTrainer | |
boost::shared_ptr< AbstractGraphGenerator > | generator |
boost::shared_ptr< TreeNode > | root |
boost::shared_ptr< AbstractSource > | source |
Trainer returning a tree with references representing an object relation graph topology.
Definition at line 38 of file TopologyTreeTrainer.h.
SceneModel::TopologyTreeTrainer::TopologyTreeTrainer | ( | std::vector< boost::shared_ptr< Relation >> | pRelations | ) |
Constructor.
pRelations | the relations representing the topology to be transformed into a tree. |
Definition at line 22 of file TopologyTreeTrainer.cpp.
SceneModel::TopologyTreeTrainer::~TopologyTreeTrainer | ( | ) |
Destructor.
Definition at line 39 of file TopologyTreeTrainer.cpp.
void SceneModel::TopologyTreeTrainer::addSceneGraphMessages | ( | std::vector< ISM::ObjectSetPtr > | pMessages | ) |
Adds a AsrSceneGraph message for conversion into a trajectory.
pMessage | The messages to add to the source. |
Definition at line 43 of file TopologyTreeTrainer.cpp.
|
private |
A source for collecting and converting AsrSceneGraph messages.
Definition at line 65 of file TopologyTreeTrainer.h.