RoadGeom Class Reference
#include <RoadGeom.hh>
Inheritance diagram for RoadGeom:
Public Member Functions | |
RoadGeom (Body *body, dSpaceID spaceId) | |
Constructor. | |
virtual | ~RoadGeom () |
Destructor. | |
void | SetTrackSpacing (double spacing) |
Set the nominal spacing between track points (m). | |
void | SetProfileSpacing (double spacing) |
Set the nominal spacing between profile points (m). | |
int | AddTrackPoint (GzVector pos) |
Add a point to the track. | |
void | AddProfilePoint (int index, double pz) |
Add a point to the profile. | |
void | AddSign (GzVector pos, const char *text) |
Add a sign. | |
void | UpdateMesh (GzVector pos) |
Update the mesh. | |
virtual void | Render (RenderOptions *opt) |
Render the geom (GL). | |
Classes | |
struct | SignData |
Description for a single sign. | |
struct | TrackPoint |
Description for a single point on the road. |
Constructor & Destructor Documentation
|
Constructor.
|
|
Destructor.
|
Member Function Documentation
|
Set the nominal spacing between track points (m).
|
|
Set the nominal spacing between profile points (m).
|
|
Add a point to the track.
|
|
Add a point to the profile.
|
|
Add a sign.
|
|
Update the mesh.
|
|
Render the geom (GL).
Reimplemented from Geom. |
The documentation for this class was generated from the following file: