CIvfGrid Class Reference

#include <ivf/IvfGrid.h>

Inheritance diagram for CIvfGrid:

CIvfShape CIvfObject CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

 CIvfGrid ()
virtual ~CIvfGrid ()
 IvfClassInfo ("CIvfGrid", CIvfShape)
void setUseAxis (bool flag)
void setUseGrid (bool flag)
void setUseOutline (bool flag)
void setUseCorners (bool flag)
void setUseSurface (bool flag)
void setGridSpacing (double spacing)
void setSize (double width, double height)
void setAxisSize (double size)
virtual void refresh ()
virtual void updateBoundingSphere ()
CIvfAxisgetAxisShape ()
void setGridInterval (int interval)

Protected Member Functions

virtual void createGeometry ()

Detailed Description

Grid class

This class implements a grid used in conjunction with the construction plane class

See also:
CIvfConstructionPlane

Definition at line 43 of file IvfGrid.h.


Constructor & Destructor Documentation

CIvfGrid::CIvfGrid  ) 
 

CIvfGrid constructor

virtual CIvfGrid::~CIvfGrid  )  [virtual]
 

CIvfGrid destructor


Member Function Documentation

virtual void CIvfGrid::createGeometry  )  [protected, virtual]
 

Forces an object recalculation.

Reimplemented from CIvfShape.

CIvfAxis* CIvfGrid::getAxisShape  ) 
 

Returns axis shape

virtual void CIvfGrid::refresh  )  [virtual]
 

Updates grid geometry

Reimplemented from CIvfShape.

void CIvfGrid::setAxisSize double  size  ) 
 

Set size of axis indicator

void CIvfGrid::setGridInterval int  interval  ) 
 

Set drawing interval of grid lines

void CIvfGrid::setGridSpacing double  spacing  ) 
 

Set the grid spacing

void CIvfGrid::setSize double  width,
double  height
 

Set size of grid

void CIvfGrid::setUseAxis bool  flag  ) 
 

Set axis state flag

if

Parameters:
flag is set to true an axis indicator is shown at local coordinate (0,0,0).

void CIvfGrid::setUseCorners bool  flag  ) 
 

Set corners state flag (true = visible)

if

Parameters:
flag is set to true special corners are drawn on the max/min grid positions.

void CIvfGrid::setUseGrid bool  flag  ) 
 

Set grid state flag (true = visible)

if

Parameters:
flag is set to true a grid with the spacing set with setGridSpacing is visible

void CIvfGrid::setUseOutline bool  flag  ) 
 

Set outline state flag (true = visible)

if

Parameters:
flag is set to true an outline is drawn around the grid extents.

void CIvfGrid::setUseSurface bool  flag  ) 
 

Set surface state flag (true = visible)

if

Parameters:
flag is set to true a quad is drawn over the grid extents.

virtual void CIvfGrid::updateBoundingSphere  )  [virtual]
 

Updates grid bounding box

Reimplemented from CIvfObject.


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