CIvfOldGrid Class Reference

#include <ivf/IvfOldGrid.h>

Inheritance diagram for CIvfOldGrid:

CIvfSimpleLineSet CIvfShape CIvfObject CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

 CIvfOldGrid ()
virtual ~CIvfOldGrid ()
 IvfClassInfo ("CIvfOldGrid", CIvfSimpleLineSet)
void setMark (int x, int y)
void setUnits (GLdouble x, GLdouble y)
void setSize (GLint rows, GLint cols)
void setAxisColor (float red, float green, float blue)
void setGridColor (float red, float green, float blue)
void setMarkColor (float red, float green, float blue)
virtual void updateBoundingSphere ()

Protected Member Functions

void createGrid ()

Detailed Description

Grid shape class

CIvfGrid implements a grid with specified units, size and subdivision. CIvfGrid is derived from a CIvfLineSet. (Soon obsolete)

Author:
Jonas Lindemann

Definition at line 40 of file IvfOldGrid.h.


Constructor & Destructor Documentation

CIvfOldGrid::CIvfOldGrid  ) 
 

CIvfGrid constructor.

virtual CIvfOldGrid::~CIvfOldGrid  )  [virtual]
 

CIvfGrid destructor.


Member Function Documentation

void CIvfOldGrid::setAxisColor float  red,
float  green,
float  blue
 

Set axis color

Parameters:
red Red color component
green Green color component
blue blue color component

void CIvfOldGrid::setGridColor float  red,
float  green,
float  blue
 

Set grid color

Parameters:
red Red color component
green Green color component
blue blue color component

void CIvfOldGrid::setMark int  x,
int  y
 

Set subdivision intervals

The subdivision properties determines at what interval a subdivision line shoud be drawn.

Parameters:
x Mark every x line
y Mark every y line

void CIvfOldGrid::setMarkColor float  red,
float  green,
float  blue
 

Set mark color

Parameters:
red Red color component
green Green color component
blue blue color component

void CIvfOldGrid::setSize GLint  rows,
GLint  cols
 

Set grid size

Determines how many rows and columns of the grid that should be drawn.

Parameters:
rows Rows in the z-direction
cols Columns in the x-direction.

void CIvfOldGrid::setUnits GLdouble  x,
GLdouble  y
 

Set grid units

Parameters:
x Grid spacing in x-direction.
y Grid spacing in y-direction.

virtual void CIvfOldGrid::updateBoundingSphere  )  [virtual]
 

Updates bounding sphere for grid

Reimplemented from CIvfObject.


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