#include <ddgobjects.h>
Class diagram for ddgGrid:
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. |
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.