ot::DynamicTransformation Class Reference

#include <DynamicTransformation.h>

Inheritance diagram for ot::DynamicTransformation:

Inheritance graph
[legend]
Collaboration diagram for ot::DynamicTransformation:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void onEventGenerated (Event &event, Node &generator)

Protected Member Functions

 DynamicTransformation (int baseEvent_=1, bool usePos_=true, bool useOrient_=true)

Protected Attributes

Event store
int baseEvent

Friends

class CommonNodeFactory

Constructor & Destructor Documentation

ot::DynamicTransformation::DynamicTransformation int  baseEvent_ = 1,
bool  usePos_ = true,
bool  useOrient_ = true
[protected]
 

constructor method. It sets default values on the underlying StaticTransformation.


Member Function Documentation

void ot::DynamicTransformation::onEventGenerated Event event,
Node generator
[virtual]
 

this method is called by the EventGenerator to update it's observers. This class computes a transformed event, stores it in its local variable and notifies its observers in turn, propagating the change. If the EventGenerator equals the baseChild, its data is stored in the underlying StaticTransformation fields, to change the transformation itself.

Reimplemented from ot::Transformation.


Friends And Related Function Documentation

friend class CommonNodeFactory [friend]
 

Reimplemented from ot::StaticTransformation.


Member Data Documentation

int ot::DynamicTransformation::baseEvent [protected]
 

flag, whether a change in the base should generate an event or not

Event ot::DynamicTransformation::store [protected]
 

stores the original event data to compute new values on base changes.


The documentation for this class was generated from the following files:
Generated on Wed Feb 28 15:28:08 2007 for NaviTrack by  doxygen 1.4.6