#include <AbstractGraphGenerator.h>
Public Member Functions | |
AbstractGraphGenerator () | |
virtual void | buildTree (ObjectSetList pTrajectories, boost::shared_ptr< TreeNode > &pRoot) |
virtual void | buildTree (ObjectSetList pTrajectories, boost::shared_ptr< TreeNode > &pRoot, std::string pType) |
virtual | ~AbstractGraphGenerator () |
An abstract interface for generating a tree reflecting the hierarchical relations between objects.
Definition at line 33 of file AbstractGraphGenerator.h.
SceneModel::AbstractGraphGenerator::AbstractGraphGenerator | ( | ) |
Constructor.
Definition at line 22 of file AbstractGraphGenerator.cpp.
|
virtual |
Destructor.
Definition at line 26 of file AbstractGraphGenerator.cpp.
|
virtual |
Builds the tree.
pTrajectories | The list of trajectories to build the tree from. |
pRoot | The root node of the tree. |
Reimplemented in SceneModel::HeuristicalTreeGenerator, SceneModel::FullyMeshedGenerator, and SceneModel::TopologyTreeGenerator.
Definition at line 30 of file AbstractGraphGenerator.cpp.
|
virtual |
Builds the tree, forces the object with the given type as root node.
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 in SceneModel::HeuristicalTreeGenerator, SceneModel::FullyMeshedGenerator, and SceneModel::TopologyTreeGenerator.
Definition at line 35 of file AbstractGraphGenerator.cpp.