VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtHomogeneousTransformMatrix Class Reference

Public Member Functions

 DtHomogeneousTransformMatrix ()
 
void initToIdentityTransformation ()
 
void initTranslation (const DtPoint &wc)
 
void initScale (double sx, double sy, double sz)
 
void initShear (double shx, double shy)
 
void initRotAboutX (double theta)
 
void initRotAboutY (double theta)
 
void initRotAboutZ (double theta)
 
void initPerspective (double distanceToProjectionPlane)
 
void initPerspectiveToParallel (double zmin)
 
void setTranslation (const DtPoint &wc)
 
void setScale (double sx, double sy, double sz)
 
void setShear (double shx, double shy)
 
void setRotAboutX (double theta)
 
void setRotAboutY (double theta)
 
void setRotAboutZ (double theta)
 
void setPerspective (double distanceToProjectionPlane)
 
void setPerspectiveToParallel (double zmin)
 
void setRow (int col, double sx, double sy, double sz, double sa)
 
void setColumn (int col, double sx, double sy, double sz, double sa)
 
void transpose ()
 
void transposeInto (DtHomogeneousTransformMatrix &out) const
 
void invert ()
 
void invertInto (DtHomogeneousTransformMatrix &out) const
 
void concatenate (const DtHomogeneousTransformMatrix &m1, const DtHomogeneousTransformMatrix &m2)
 
void transformPoint (DtPoint &out, const DtPoint &in) const
 
void transformPoint (DtPoint &inout) const
 
void transformVector (DtVector &out, const DtVector &in) const
 
void transformVector (DtVector &inout) const
 
void transformChord (DtChord &out, const DtChord &in) const
 
void transformChord (DtChord &inout) const
 
void transformExtent (DtExtent &inout) const
 
bool isIdentity () const
 
bool readFrom (FILE *fp)
 
bool writeTo (FILE *fp)
 
void dump (const char *label, int indentLevel) const
 

Protected Member Functions

void transform (Dt4dPoint &out, const Dt4dPoint &in) const
 
void swapRow (int row1, int row2)
 
void divideRow (int row, double divisor)
 

Protected Attributes

double myMatrix [4][4]
 

Constructor & Destructor Documentation

DtHomogeneousTransformMatrix::DtHomogeneousTransformMatrix ( )

Member Function Documentation

void DtHomogeneousTransformMatrix::initToIdentityTransformation ( )
void DtHomogeneousTransformMatrix::initTranslation ( const DtPoint wc)
void DtHomogeneousTransformMatrix::initScale ( double  sx,
double  sy,
double  sz 
)
void DtHomogeneousTransformMatrix::initShear ( double  shx,
double  shy 
)
void DtHomogeneousTransformMatrix::initRotAboutX ( double  theta)
void DtHomogeneousTransformMatrix::initRotAboutY ( double  theta)
void DtHomogeneousTransformMatrix::initRotAboutZ ( double  theta)
void DtHomogeneousTransformMatrix::initPerspective ( double  distanceToProjectionPlane)
void DtHomogeneousTransformMatrix::initPerspectiveToParallel ( double  zmin)
void DtHomogeneousTransformMatrix::setTranslation ( const DtPoint wc)
void DtHomogeneousTransformMatrix::setScale ( double  sx,
double  sy,
double  sz 
)
void DtHomogeneousTransformMatrix::setShear ( double  shx,
double  shy 
)
void DtHomogeneousTransformMatrix::setRotAboutX ( double  theta)
void DtHomogeneousTransformMatrix::setRotAboutY ( double  theta)
void DtHomogeneousTransformMatrix::setRotAboutZ ( double  theta)
void DtHomogeneousTransformMatrix::setPerspective ( double  distanceToProjectionPlane)
void DtHomogeneousTransformMatrix::setPerspectiveToParallel ( double  zmin)
void DtHomogeneousTransformMatrix::setRow ( int  col,
double  sx,
double  sy,
double  sz,
double  sa 
)
void DtHomogeneousTransformMatrix::setColumn ( int  col,
double  sx,
double  sy,
double  sz,
double  sa 
)
void DtHomogeneousTransformMatrix::transpose ( )
void DtHomogeneousTransformMatrix::transposeInto ( DtHomogeneousTransformMatrix out) const
void DtHomogeneousTransformMatrix::invert ( )
void DtHomogeneousTransformMatrix::invertInto ( DtHomogeneousTransformMatrix out) const
void DtHomogeneousTransformMatrix::concatenate ( const DtHomogeneousTransformMatrix m1,
const DtHomogeneousTransformMatrix m2 
)
void DtHomogeneousTransformMatrix::transformPoint ( DtPoint out,
const DtPoint in 
) const
void DtHomogeneousTransformMatrix::transformPoint ( DtPoint inout) const
void DtHomogeneousTransformMatrix::transformVector ( DtVector out,
const DtVector in 
) const
void DtHomogeneousTransformMatrix::transformVector ( DtVector inout) const
void DtHomogeneousTransformMatrix::transformChord ( DtChord out,
const DtChord in 
) const
void DtHomogeneousTransformMatrix::transformChord ( DtChord inout) const
void DtHomogeneousTransformMatrix::transformExtent ( DtExtent inout) const
bool DtHomogeneousTransformMatrix::isIdentity ( ) const
bool DtHomogeneousTransformMatrix::readFrom ( FILE *  fp)
bool DtHomogeneousTransformMatrix::writeTo ( FILE *  fp)
void DtHomogeneousTransformMatrix::dump ( const char label,
int  indentLevel 
) const
void DtHomogeneousTransformMatrix::transform ( Dt4dPoint &  out,
const Dt4dPoint &  in 
) const
protected
void DtHomogeneousTransformMatrix::swapRow ( int  row1,
int  row2 
)
protected
void DtHomogeneousTransformMatrix::divideRow ( int  row,
double  divisor 
)
protected

Member Data Documentation

double DtHomogeneousTransformMatrix::myMatrix[4][4]
protected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)