|
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.
|