class TcInteractionManager

Core InteractionManager Class

Public Methods

TcInteractionManager(TcGfxManager &gfxM)
Constructor.
virtual ~TcInteractionManager()
Destructor.
int config()
This must be called in the Constructor of a derived class before any of the aggregate members can be accessed
bool isConfigured()
This determines if config has been called.
void updateInteractions()
This is called from the Core Execution Control loop.
virtual TcTrackerManager* createTrackerManager()
Factory Method
virtual TcGfxIntersectionManager* createIntersectionManager()
Clients must override this if they wish to provide a custom IntersectionManager
virtual TcInputManager* createInputManager()
Factory Method
const TcInputManager& getInputManager()
Returns a reference to the inputManager.
virtual void doTdInteractions()
This must be overridden by derived classes to implement customized interactions.
virtual void doTdTravel()
This must be overridden by derived class to implement customized travel.
const TcGfxManager& getGfxManager()
Returns the graphicsManager.
void setTreeDebug(const bool &b)
Sets a debugging mode attached to buttons 2 & 3 Button 2 will toggleLoad the current TcGfxComponent

Protected Fields

TcTrackerManager* trackerManager
TrackerManager
TcGfxIntersectionManager* intersectionManager
IntersectionManager
TcInputManager* inputManager
InputManager
TcGfxManager& sceneManager
GraphicsManager

Documentation

Core InteractionManager Class. Role : This class performs the core interaction updates. It is an aggregate consisting of a TrackerManger, a GraphicsIntersectionManager, an InputManager, a Traveler, a GraphicsManager and a NetworkManager.

Responsibilities: It is responsible for instantiating the Input Manager the TrackerManager and the GraphicsIntersectionManager These are the components updated during core interaction updates.

TcInteractionManager(TcGfxManager &gfxM)
Constructor.

virtual ~TcInteractionManager()
Destructor.

int config()
This must be called in the Constructor of a derived class before any of the aggregate members can be accessed. This includes the InputManager, TrackerManager and GraphicsIntersectionManager.

bool isConfigured()
This determines if config has been called.

void updateInteractions()
This is called from the Core Execution Control loop.

virtual TcTrackerManager* createTrackerManager()
Factory Method. Clients must override this if they wish to provide a custom TrackerManager. They will have to implement the interface of the default tracker manager. Currently one is provided that is implemented on top of the CAVElib.

virtual TcGfxIntersectionManager* createIntersectionManager()
Clients must override this if they wish to provide a custom IntersectionManager. They will have to implement the interface of the default intersectionManager. Currently one is provided.

virtual TcInputManager* createInputManager()
Factory Method. Clients must override this if they wish to provide a custom InputManager. They will have to implement the interface of the default inputManager. Currently one is provided that is implementd on top of the CAVElib.

const TcInputManager& getInputManager()
Returns a reference to the inputManager.

virtual void doTdInteractions()
This must be overridden by derived classes to implement customized interactions.

virtual void doTdTravel()
This must be overridden by derived class to implement customized travel.

const TcGfxManager& getGfxManager()
Returns the graphicsManager.

void setTreeDebug(const bool &b)
Sets a debugging mode attached to buttons 2 & 3 Button 2 will toggleLoad the current TcGfxComponent. Button will iterate through the tree. Results are printed to standard out.

TcTrackerManager* trackerManager
TrackerManager

TcGfxIntersectionManager* intersectionManager
IntersectionManager

TcInputManager* inputManager
InputManager

TcGfxManager& sceneManager
GraphicsManager


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de