CIvfMatrixStack Class Reference

#include <ivfmath/IvfMatrixStack.h>

Inheritance diagram for CIvfMatrixStack:

CIvfMathBase List of all members.

Public Member Functions

 CIvfMatrixStack ()
virtual ~CIvfMatrixStack ()
 IvfClassInfo ("CIvfMatrixStack", CIvfMathBase)
void pushMatrix ()
void popMatrix ()
void translate (double x, double y, double z)
void rotate (double vx, double vy, double vz, double theta)
void printCurrent ()
void zero ()
void identity ()
void getWorldCoordinate (double lx, double ly, double lz, double &wx, double &wy, double &wz)

Detailed Description

Matrix stack class

Implements a matrix stack used to calculated the global coordinates for rendered objects. Initial matrix is set to identity.

Author:
Jonas Lindemann

Definition at line 43 of file IvfMatrixStack.h.


Constructor & Destructor Documentation

CIvfMatrixStack::CIvfMatrixStack  ) 
 

CIvfMatrixStack constructor

virtual CIvfMatrixStack::~CIvfMatrixStack  )  [virtual]
 

CIvfMatrixStack destructor


Member Function Documentation

void CIvfMatrixStack::getWorldCoordinate double  lx,
double  ly,
double  lz,
double &  wx,
double &  wy,
double &  wz
 

Returns the world coordinat of the transformed local system

void CIvfMatrixStack::identity  ) 
 

Sets the current matrix to identity

void CIvfMatrixStack::popMatrix  ) 
 

Pops the stack and replaces the current matrix

void CIvfMatrixStack::printCurrent  ) 
 

Prints the current matrix to stdout

void CIvfMatrixStack::pushMatrix  ) 
 

Pushes the current matrix on to the stack

void CIvfMatrixStack::rotate double  vx,
double  vy,
double  vz,
double  theta
 

Multiplies the current matrix with a rotation matrix

void CIvfMatrixStack::translate double  x,
double  y,
double  z
 

Multiplies the current matrix with a translation matrix

void CIvfMatrixStack::zero  ) 
 

Zeros the current matrix


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:53 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO