44 #ifndef __GL_GROUND_PLANE_H__
45 #define __GL_GROUND_PLANE_H__
71 GLGroundPlane(
float width,
float height,
float majorDist,
int minorCount );
95 void setWidth(
float w );
109 void setHeight(
float h );
123 void setMajorDistance(
float dist );
137 void setMinorCount(
int count );
146 void setLineColor(
float r,
float g,
float b );
154 void drawGL(
bool select=
false );
210 #endif // __GL_GROUND_PLANE_H__
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
int getMinorCount() const
Report the number of minor lines between major lines.
Definition: GLGroundPlane.h:130
An abstact class – a generic, scene graph node.
Definition: GLNode.h:66
Sets up the proper compiler directives for platform and dll export/import.
float getHeight() const
Report the height of the ground plane (extent along world y-axis).
Definition: GLGroundPlane.h:102
The basic scene graph node. Any object which can be placed into the scene graph is an instance or sub...
The SceneGraph (SceneGraph) name space, containing all elements to use in a SceneGraph.
A ground plane approximation – z = 0, in world space.
Definition: GLGroundPlane.h:61
float getMajorDistance() const
Report the distance between major lines.
Definition: GLGroundPlane.h:116
float getWidth() const
Report the width of the ground plane (extent along world x-axis).
Definition: GLGroundPlane.h:88