CIvfUcs3d Class Reference

#include <ivfmath/IvfUcs3d.h>

Inheritance diagram for CIvfUcs3d:

CIvfMathBase List of all members.

Public Member Functions

 CIvfUcs3d ()
virtual ~CIvfUcs3d ()
 IvfClassInfo ("CIvfUcs3d", CIvfMathBase)
void transformWorld (CIvfPoint3d *point)
void transform (CIvfPoint3d *point)
void transformWorld (double sx, double sy, double sz, double &wx, double &wy, double &wz)
void transform (double wx, double wy, double wz, double &sx, double &sy, double &sz)
CIvfVec3dtransformWorld (CIvfVec3d &vector)
CIvfVec3dtransform (CIvfVec3d &vector)
void snap (double &x, double &y, double &z)
CIvfVec3dsnap (CIvfVec3d &vector)
void setSnapUnit (double unit)
double getSnapUnit ()
void intersect (double x0, double y0, double z0, double i, double j, double k, double &x, double &y, double &z)
CIvfVec3dintersect (CIvfVec3d &origin, CIvfVec3d &vector)
void setTranslation (double tx, double ty, double tz)
void getTranslation (double &tx, double &ty, double &tz)
void setRotation (double vx, double vy, double vz, double theta)
void getRotation (double &vx, double &vy, double &vz, double &theta)
CIvfVec3dgetYAxis ()

Protected Member Functions

void calcMatrix ()

Detailed Description

User coordinate class.

CIvfUcs3d implements a user defined coordinate system and routines to convert to and from this. Coordinate snap is also implemented.

Author:
Jonas Lindemann

Definition at line 45 of file IvfUcs3d.h.


Constructor & Destructor Documentation

CIvfUcs3d::CIvfUcs3d  ) 
 

CIvfUcs3d constructor

virtual CIvfUcs3d::~CIvfUcs3d  )  [virtual]
 

CIvfUcs3d destructor


Member Function Documentation

void CIvfUcs3d::getRotation double &  vx,
double &  vy,
double &  vz,
double &  theta
 

Return coordinate system rotation

double CIvfUcs3d::getSnapUnit  ) 
 

Return snap unit

void CIvfUcs3d::getTranslation double &  tx,
double &  ty,
double &  tz
 

Return coordinate system translation

CIvfVec3d& CIvfUcs3d::getYAxis  ) 
 

Return y-axis orientation

CIvfVec3d& CIvfUcs3d::intersect CIvfVec3d origin,
CIvfVec3d vector
 

Determine plane intersection

void CIvfUcs3d::intersect double  x0,
double  y0,
double  z0,
double  i,
double  j,
double  k,
double &  x,
double &  y,
double &  z
 

Determine plane intersection

void CIvfUcs3d::setRotation double  vx,
double  vy,
double  vz,
double  theta
 

Set coordinate system rotation

void CIvfUcs3d::setSnapUnit double  unit  ) 
 

Set snap unit

void CIvfUcs3d::setTranslation double  tx,
double  ty,
double  tz
 

Set coordinate system translation

CIvfVec3d& CIvfUcs3d::snap CIvfVec3d vector  ) 
 

Snap vector to grid

void CIvfUcs3d::snap double &  x,
double &  y,
double &  z
 

Snap (x, y, z) to grid

CIvfVec3d& CIvfUcs3d::transform CIvfVec3d vector  ) 
 

Transform vector to local coordinate system

void CIvfUcs3d::transform double  wx,
double  wy,
double  wz,
double &  sx,
double &  sy,
double &  sz
 

Transform (wx, wy, wz) to local coordinate system

void CIvfUcs3d::transform CIvfPoint3d point  ) 
 

Transform point to local coordinate system

CIvfVec3d& CIvfUcs3d::transformWorld CIvfVec3d vector  ) 
 

Transform vector to world coordinates

void CIvfUcs3d::transformWorld double  sx,
double  sy,
double  sz,
double &  wx,
double &  wy,
double &  wz
 

Transform (sx, sy, sz) to world coordinate system

void CIvfUcs3d::transformWorld CIvfPoint3d point  ) 
 

Transform point to world coordinate system


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