tlp::GlGrid Class Reference#include <GlGrid.h>
Inherits tlp::GlSimpleEntity.
Inheritance diagram for tlp::GlGrid:
[legend]Collaboration diagram for tlp::GlGrid:
[legend]List of all members.
Detailed Description
General class used to render grids as augmented displays.
This class is a generic class to render grids as augmented displays. It does not uses the basic parameters of the GlAugmentedDisplay(position and color).
Public Member Functions
Protected Attributes
Constructor & Destructor Documentation
tlp::GlGrid::GlGrid |
( |
|
) |
[inline] |
|
tlp::GlGrid::GlGrid |
( |
const Coord & |
frontTopLeft, |
|
|
const Coord & |
backBottomRight, |
|
|
const Size & |
cell, |
|
|
const Color & |
color, |
|
|
bool |
displays[3] |
|
) |
|
|
|
Constructor
- Parameters:
-
| frontTopLeft | The minimum of the bounding box of the grid. |
| backBottomRight | The maximum of the bounding box of the grid. |
| cell | The size of a single cell of the grid. |
| color | The color of the lines of the grid. |
| displays | The dimensions of the grid to display. |
| hollowGrid | Indicates if the grid chould be hollowed. |
|
Member Function Documentation
virtual void tlp::GlGrid::draw |
( |
float |
lod, |
|
|
Camera * |
camera |
|
) |
[virtual] |
|
void tlp::GlGrid::getDisplayDim |
( |
bool |
displayDim[3] |
) |
const |
|
|
Accessor in reading to the dimensions to display. |
void tlp::GlGrid::getXML |
( |
xmlNodePtr |
rootNode |
) |
[virtual] |
|
void tlp::GlGrid::setDisplayDim |
( |
bool |
displayDim[3] |
) |
|
|
|
Accessor in writing to the dimensions to display. |
void tlp::GlGrid::setWithXML |
( |
xmlNodePtr |
rootNode |
) |
[virtual] |
|
virtual void tlp::GlGrid::translate |
( |
const Coord & |
mouvement |
) |
[virtual] |
|
Member Data Documentation
|
Back bottom right point of the grid, the "maximum" |
|
The size of a cell of the grid |
|
Which dimensions should be displayed ? Note that only one dimension at most should be disabled |
|
Front top left point of the grid, the "minimum" |
|
Should the grid be hollowed ? |
|