#include <TopologyTreeGenerator.h>

Public Member Functions | |
| void | buildTree (ObjectSetList pObjectSets, boost::shared_ptr< TreeNode > &pRoot) |
| void | buildTree (ObjectSetList pTrajectories, boost::shared_ptr< TreeNode > &pRoot, std::string pType) |
| void | setRelations (std::vector< boost::shared_ptr< Relation >> pRelations) |
| TopologyTreeGenerator () | |
| ~TopologyTreeGenerator () | |
Public Member Functions inherited from SceneModel::AbstractGraphGenerator | |
| AbstractGraphGenerator () | |
| virtual | ~AbstractGraphGenerator () |
Private Attributes | |
| std::vector< boost::shared_ptr< Relation > > | mRelations |
Generates a tree with references representing an object relation graph topology.
Definition at line 30 of file TopologyTreeGenerator.h.
| SceneModel::TopologyTreeGenerator::TopologyTreeGenerator | ( | ) |
Constructor.
Definition at line 23 of file TopologyTreeGenerator.cpp.
| SceneModel::TopologyTreeGenerator::~TopologyTreeGenerator | ( | ) |
Destructor.
Definition at line 25 of file TopologyTreeGenerator.cpp.
|
virtual |
Builds the tree.
| pObjectSets | The list of trajectories to build the tree from. |
| pRoot | The root node of the tree. |
Reimplemented from SceneModel::AbstractGraphGenerator.
Definition at line 27 of file TopologyTreeGenerator.cpp.
|
virtual |
Builds the tree, forces the object with the given type as root node and appends a new node to what ever node it is appropriate
| pTrajectories | The list of trajectories to build the tree from. |
| pRoot | The root node of the tree. |
| pType | Type of the object that should be forced as root node. |
Reimplemented from SceneModel::AbstractGraphGenerator.
Definition at line 32 of file TopologyTreeGenerator.cpp.
| void SceneModel::TopologyTreeGenerator::setRelations | ( | std::vector< boost::shared_ptr< Relation >> | pRelations | ) |
Set the relations representing the topology to generate the tree from.
| pRelations | the relations representing the topology to generate the tree from. |
Definition at line 89 of file TopologyTreeGenerator.cpp.
|
private |
The relations representing the topology to generate the tree from.
Definition at line 71 of file TopologyTreeGenerator.h.