version 3.3

VRS::Tf Class Reference

General Geometric Transformation. More...

#include <vrs/tf.h>

Inheritance diagram for VRS::Tf:

VRS::Transform VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 Tf ()
 Tf (const Matrix &mat)
bool operator== (const Tf &other) const
void setMatrix (const Matrix &matrix)
Matrix getMatrix () const
 Set/get the matrix.
virtual const Matrixmatrix (Engine *engine=0) const
 VRS_TYPEINFO (Tf, Transform)
 VRS_SERIALIZABLE (Tf)


Detailed Description

General Geometric Transformation.

Constructor & Destructor Documentation

VRS::Tf::Tf (  ) 

VRS::Tf::Tf ( const Matrix mat  ) 

A general 3D transformation is specified by a 4x4 Matrix. The default constructor uses an identity matrix.


Member Function Documentation

bool VRS::Tf::operator== ( const Tf other  )  const

void VRS::Tf::setMatrix ( const Matrix matrix  ) 

Matrix VRS::Tf::getMatrix (  )  const [inline]

Set/get the matrix.

virtual const Matrix& VRS::Tf::matrix ( Engine engine = 0  )  const [virtual]

Returns the matrix. Actually, this is just the same as returned by `getMatrix'.

Implements VRS::Transform.

VRS::Tf::VRS_TYPEINFO ( Tf  ,
Transform   
)

VRS::Tf::VRS_SERIALIZABLE ( Tf   ) 


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

Generated on Wed May 23 06:00:30 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact