ot::CustomTransformation Class Reference

#include <CustomTransformation.h>

Inheritance diagram for ot::CustomTransformation:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CustomTransformation (int baseEvent_=1, bool usePos_=true, bool useOrient_=true)
virtual void onEventGenerated (Event &event, Node &generator)

Protected Member Functions

void ncross (float *v1, float *v2, float *result)
void QuaternionToHeading (float *qin, float *result)
void FrameToQuaternion (float *Vx, float *Vy, float *Vz, std::vector< float > &)
void Compute_6DOF (Event &sensor1, Event &sensor2, Event &newevent)

Protected Attributes

Event store1
Event store2
int baseEvent

Friends

class CommonNodeFactory

Constructor & Destructor Documentation

ot::CustomTransformation::CustomTransformation int  baseEvent_ = 1,
bool  usePos_ = true,
bool  useOrient_ = true
 


Member Function Documentation

void ot::CustomTransformation::Compute_6DOF Event sensor1,
Event sensor2,
Event newevent
[protected]
 

void ot::CustomTransformation::FrameToQuaternion float *  Vx,
float *  Vy,
float *  Vz,
std::vector< float > & 
[protected]
 

void ot::CustomTransformation::ncross float *  v1,
float *  v2,
float *  result
[protected]
 

void ot::CustomTransformation::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.

Reimplemented from ot::Transformation.

void ot::CustomTransformation::QuaternionToHeading float *  qin,
float *  result
[protected]
 


Friends And Related Function Documentation

friend class CommonNodeFactory [friend]
 

Reimplemented from ot::StaticTransformation.


Member Data Documentation

int ot::CustomTransformation::baseEvent [protected]
 

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

Event ot::CustomTransformation::store1 [protected]
 

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

Event ot::CustomTransformation::store2 [protected]
 


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