Main Page   Class Hierarchy   Compound List   Header Files   Compound Members  

ddgGrid Class Reference

A Two dimension grid oriented in the X,Y or Z direction. More...

#include <ddgobjects.h>

Class diagram for ddgGrid:

ddgGeneralObj ddgNode ddgLattice

List of all members.


Public Members

 ddgGrid (void)
Create a default grid.

 ddgGrid (float ww, float hh, float dw, float dh, direction d = Y)
Create a grid of dimension ww and hh, with grid lines every dw,dh. More...

bool draw ( ddgContext *ctx)
Render the lattice.

direction dir
Grid will be orthogonal to X,Y, or Z axis.

float w
Grid width.

float h
Grid height.

float nw
Number of gridlines along w axis.

float nh
Number of gridlines along h axis.


Detailed Description

A Two dimension grid oriented in the X,Y or Z direction.


Member Function Documentation

ddgGrid::ddgGrid (float ww, float hh, float dw, float dh, direction d = Y) [inline]

Create a grid of dimension ww and hh, with grid lines every dw,dh.

Orient orthogonal to X,Y or Z axis.


The documentation for this class was generated from the following file:
Generated at Sun Sep 17 19:27:53 2000 for Digital Dawn Graphics Toolkit by doxygen 0.49-991205 written by Dimitri van Heesch, © 1997-1999