Public Member Functions | Private Attributes | List of all members
SceneModel::TopologyTreeGenerator Class Reference

#include <TopologyTreeGenerator.h>

Inheritance diagram for SceneModel::TopologyTreeGenerator:
Inheritance graph
[legend]

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
 

Detailed Description

Generates a tree with references representing an object relation graph topology.

Definition at line 30 of file TopologyTreeGenerator.h.

Constructor & Destructor Documentation

SceneModel::TopologyTreeGenerator::TopologyTreeGenerator ( )

Constructor.

Definition at line 23 of file TopologyTreeGenerator.cpp.

SceneModel::TopologyTreeGenerator::~TopologyTreeGenerator ( )

Destructor.

Definition at line 25 of file TopologyTreeGenerator.cpp.

Member Function Documentation

void SceneModel::TopologyTreeGenerator::buildTree ( ObjectSetList  pObjectSets,
boost::shared_ptr< TreeNode > &  pRoot 
)
virtual

Builds the tree.

Parameters
pObjectSetsThe list of trajectories to build the tree from.
pRootThe root node of the tree.

Reimplemented from SceneModel::AbstractGraphGenerator.

Definition at line 27 of file TopologyTreeGenerator.cpp.

void SceneModel::TopologyTreeGenerator::buildTree ( ObjectSetList  pTrajectories,
boost::shared_ptr< TreeNode > &  pRoot,
std::string  pType 
)
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

Parameters
pTrajectoriesThe list of trajectories to build the tree from.
pRootThe root node of the tree.
pTypeType 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.

Parameters
pRelationsthe relations representing the topology to generate the tree from.

Definition at line 89 of file TopologyTreeGenerator.cpp.

Member Data Documentation

std::vector<boost::shared_ptr<Relation> > SceneModel::TopologyTreeGenerator::mRelations
private

The relations representing the topology to generate the tree from.

Definition at line 71 of file TopologyTreeGenerator.h.


The documentation for this class was generated from the following files:


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