#include <AbstractTopologyCreator.h>
Public Member Functions | |
virtual std::vector< boost::shared_ptr< Topology > > | generateAllConnectedTopologies ()=0 |
virtual boost::shared_ptr< Topology > | generateFullyMeshedTopology ()=0 |
virtual std::vector< boost::shared_ptr< Topology > > | generateNeighbours (boost::shared_ptr< Topology > pFrom)=0 |
virtual boost::shared_ptr< Topology > | generateRandomTopology ()=0 |
virtual std::vector< boost::shared_ptr< Topology > > | generateStarTopologies ()=0 |
Abstract Interface to TopologyCreator, which generates different topologies of object graphs.
Definition at line 27 of file AbstractTopologyCreator.h.
|
pure virtual |
Generates all connected topologies containing the object types from constructor.
Implemented in SceneModel::TopologyCreator.
|
pure virtual |
Generates the fully meshed topolgy containing all the object types from constructor.
Implemented in SceneModel::TopologyCreator.
|
pure virtual |
Generates a set of neighbouring topologies from the given one using up to three operations depending on the parameters passed in constructor. Operations are adding, removing and swapping relations.
pFrom | the topology to generate the neighbours for. |
Implemented in SceneModel::TopologyCreator.
|
pure virtual |
Generates a random topology containing the object types.
Implemented in SceneModel::TopologyCreator.
|
pure virtual |
Generates all possible star topologies containing all the object types passed in constructor. A star topology is one where all objects are connected only to a sigle reference object.
Implemented in SceneModel::TopologyCreator.