CIvfCoordinateSystem Class Reference

#include <ivf/IvfCoordinateSystem.h>

Inheritance diagram for CIvfCoordinateSystem:

CIvfComposite CIvfShape CIvfObject CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

CIvfGridgetGrid ()
 CIvfCoordinateSystem ()
virtual ~CIvfCoordinateSystem ()
 IvfClassInfo ("CIvfCoordinateSystem", CIvfComposite)
void setAxisState (TObjectState state)
void setGridState (TObjectState state)
void setWorkspace (double size)
void setDrawSubDivision (bool flag)
void setAxisType (int type)
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)
void snap (double &x, double &y, double &z)
void setSnapUnit (double unit)
double getSnapUnit ()
void alignShape (CIvfShape *shape)
void intersect (double x0, double y0, double z0, double i, double j, double k, double &x, double &y, double &z)
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)
CIvfAxisgetAxisShape ()
void setTempYTranslation (double value)

Protected Member Functions

void calcMatrix ()

Detailed Description

Coordinate system interaction/shape class

CIvfCoordinateSystem implements an intelligent drawing aid int the form of a grid with an attached coordinatesystem.

This class will become OBSOLETE.

See also:
CIvfConstructionPlane,

CIvfWorkplace and

CIvfUcs3d.

Author:
Jonas Lindemann

Definition at line 47 of file IvfCoordinateSystem.h.


Constructor & Destructor Documentation

CIvfCoordinateSystem::CIvfCoordinateSystem  ) 
 

CIvfCoordinateSystem constructor

virtual CIvfCoordinateSystem::~CIvfCoordinateSystem  )  [virtual]
 

CIvfCoordinateSystem destructor


Member Function Documentation

void CIvfCoordinateSystem::alignShape CIvfShape shape  ) 
 

Align shape with local coordinate system

CIvfAxis* CIvfCoordinateSystem::getAxisShape  ) 
 

Returns axis shape

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

Return coordinate system rotation

double CIvfCoordinateSystem::getSnapUnit  ) 
 

Return snap unit

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

Return coordinate system translation

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

Determine plane intersection

void CIvfCoordinateSystem::setAxisState TObjectState  state  ) 
 

Set the state of the internal axis shape

void CIvfCoordinateSystem::setAxisType int  type  ) 
 

Set axis type. See CIvfAxis

void CIvfCoordinateSystem::setDrawSubDivision bool  flag  ) 
 

Subdivision drawing flag

If set to true, grid subdivisions will be drawn.

void CIvfCoordinateSystem::setGridState TObjectState  state  ) 
 

Set the state of the internal grid shape

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

Set coordinate system rotation

void CIvfCoordinateSystem::setSnapUnit double  unit  ) 
 

Set snap unit

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

Set coordinate system translation

void CIvfCoordinateSystem::setWorkspace double  size  ) 
 

Set workspace size

The workspace determines the size of the visible grid.

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

Snap (x, y, z) to grid

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

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

void CIvfCoordinateSystem::transform CIvfPoint3d point  ) 
 

Transform point to local coordinate system

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

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

void CIvfCoordinateSystem::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:50 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO