OpenTracker

An Open Architecture for Reconfigurable Tracking based on XML | Contact

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]

Friends

class CommonNodeFactory

Detailed Description

Definition at line 80 of file MatrixTransformation.h.


Constructor & Destructor Documentation

ot::MatrixTransformation::MatrixTransformation (  )  [protected]

default constructor method sets values to implement identity transformation

Definition at line 53 of file MatrixTransformation.cxx.

References matrix.

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

constructor method

Parameters:
matrix_ contains 3x4 matrix for affine transformation

Definition at line 65 of file MatrixTransformation.cxx.

References matrix.

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

constructor method

Parameters:
matrix_ contains 3x4 matrix for affine transformation

Definition at line 75 of file MatrixTransformation.cxx.

References matrix.


Member Function Documentation

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

returns the affine part of the Transformation

Returns:
float pointer to 3x4 floats

Definition at line 113 of file MatrixTransformation.h.

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

Definition at line 125 of file MatrixTransformation.h.

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


Friends And Related Function Documentation

friend class CommonNodeFactory [friend]

Definition at line 130 of file MatrixTransformation.h.


Member Data Documentation

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

stores the affine part of the transformation

Definition at line 85 of file MatrixTransformation.h.

Referenced by MatrixTransformation(), and transformEvent().


The documentation for this class was generated from the following files:

copyright (c) 2006 Graz University of Technology