ot::MatrixTransformation Class Reference

#include <MatrixTransformation.h>

Inheritance diagram for ot::MatrixTransformation:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

float ** getMatrix ()
void setMatrix (float *data[4])

Protected Member Functions

virtual EventtransformEvent (Event *event)
 MatrixTransformation ()
 MatrixTransformation (float *matrix_[4])
 MatrixTransformation (float *matrix_)

Protected Attributes

float matrix [3][4]
 stores the affine part of the transformation

Friends

class CommonNodeFactory

Constructor & Destructor Documentation

ot::MatrixTransformation::MatrixTransformation  )  [protected]
 

default constructor method sets values to implement identity transformation

ot::MatrixTransformation::MatrixTransformation float *  matrix_[4]  )  [protected]
 

constructor method

Parameters:
matrix_ contains 3x4 matrix for affine transformation

ot::MatrixTransformation::MatrixTransformation float *  matrix_  )  [protected]
 

constructor method

Parameters:
matrix_ contains 3x4 matrix for affine transformation


Member Function Documentation

float** ot::MatrixTransformation::getMatrix  )  [inline]
 

returns the affine part of the Transformation

Returns:
float pointer to 3x4 floats

void ot::MatrixTransformation::setMatrix float *  data[4]  )  [inline]
 

sets the scale of the transformation. It is only executed, if the transformation is of type to change the position of any events. It copies the passed float array into an internal structure.

Parameters:
data a 3x4 float array containing the scale

Event * ot::MatrixTransformation::transformEvent Event event  )  [protected, virtual]
 

transforms a event. Overrides the Transformation implementation to implement a different one.

Implements ot::Transformation.


Friends And Related Function Documentation

friend class CommonNodeFactory [friend]
 


Member Data Documentation

float ot::MatrixTransformation::matrix[3][4] [protected]
 

stores the affine part of the transformation


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