#include <track.h>
Collaboration diagram for ROADSTRIP:

Public Member Functions | |
| ROADSTRIP () | |
| ~ROADSTRIP () | |
| BEZIER * | Add (BEZIER newpatch) |
| BEZIER * | AddNew () |
| bool | ReadFrom (ifstream &openfile) |
| bool | WriteTo (ofstream &openfile) |
| bool | DeleteLastPatch () |
| void | Visualize (bool wireframe, bool fill, VERTEX color) |
| BEZIER * | GetLastPatch () |
| BEZIERNODE * | GetFirstNode () |
| int | NumPatches () |
| bool | Collide (VERTEX origin, VERTEX direction, VERTEX &outtri, bool closest) |
| bool | Collide (VERTEX origin, VERTEX direction, VERTEX &outtri, bool closest, BEZIER *&colpatch, VERTEX &normal) |
| bool | CollideBruteForce (VERTEX origin, VERTEX direction, VERTEX &outtri, bool closest, BEZIER *&colpatch) |
| bool | CollideBranch (VERTEX origin, VERTEX direction, VERTEX &outtri, bool closest, BEZIER *&colpatch, BEZIERCOLBRANCH *branch, VERTEX &normal) |
Public Attributes | |
| BEZIERNODE * | patchnodes |
Private Member Functions | |
| void | ClearPatches () |
| void | GenerateCollisionTree () |
| void | GenerateBranches (BEZIERCOLBRANCH *branch) |
Private Attributes | |
| BEZIERCOLBRANCH | coltree |
| BEZIER * | lastcolpatch |
Definition at line 60 of file track.h.
|
|
Definition at line 27 of file track.cpp. References NULL, and patchnodes. |
|
|
Definition at line 72 of file track.h. References ClearPatches(), coltree, and BEZIERCOLBRANCH::DeleteChildren(). |
|
|
Definition at line 45 of file track.cpp. References BEZIER::Attach(), BEZIER::CopyFrom(), BEZIERNODE::next, NULL, BEZIERNODE::patch, and patchnodes. Referenced by AddNew(), and ReadFrom(). |
|
|
Definition at line 77 of file track.cpp. References Add(). |
|
|
Definition at line 32 of file track.cpp. References coltree, BEZIERCOLBRANCH::DeleteChildren(), BEZIERCOLBRANCH::leaves, BEZIERNODE::next, NULL, and patchnodes. Referenced by ReadFrom(), and ~ROADSTRIP(). |
|
||||||||||||||||||||||||||||
|
Definition at line 334 of file track.cpp. References CollideBranch(), coltree, and lastcolpatch. |
|
||||||||||||||||||||
|
Definition at line 269 of file track.cpp. Referenced by TRACK::CollideRoads(). |
|
||||||||||||||||||||||||||||||||
|
Definition at line 357 of file track.cpp. References BEZIERCOLBRANCH::leaves, BEZIERCOLBRANCH::left, NULL, and BEZIERCOLBRANCH::right. Referenced by Collide(). |
|
||||||||||||||||||||||||
|
Definition at line 276 of file track.cpp. References BEZIERNODE::next, NULL, BEZIERNODE::patch, and patchnodes. |
|
|
Definition at line 158 of file track.cpp. References BEZIERNODE::next, NULL, and patchnodes. |
|
|
Definition at line 527 of file track.cpp. References BEZIERCOLBRANCH::leaves. Referenced by GenerateCollisionTree(). |
|
|
Definition at line 498 of file track.cpp. References coltree, BEZIERCOLBRANCH::DeleteChildren(), GenerateBranches(), BEZIERCOLBRANCH::leaves, BEZIERCOLBRANCH::left, NULL, patchnodes, and BEZIERCOLBRANCH::right. |
|
|
Definition at line 80 of file track.h. References patchnodes. Referenced by TRACK::GetPatch(). |
|
|
Definition at line 191 of file track.cpp. References BEZIERNODE::next, NULL, BEZIERNODE::patch, and patchnodes. |
|
|
Definition at line 142 of file track.cpp. References BEZIERNODE::next, NULL, and patchnodes. Referenced by WriteTo(). |
|
|
Definition at line 83 of file track.cpp. References Add(), ClearPatches(), lastcolpatch, NULL, and BEZIER::ReadFrom(). Referenced by TRACK::Load(). |
|
||||||||||||||||
|
Definition at line 220 of file track.cpp. References cam, BEZIER::center, CAMERA::frustum, NULL, BEZIERNODE::patch, patchnodes, VERTEX::x, VERTEX::y, and VERTEX::z. Referenced by TRACK::VisualizeRoads(). |
|
|
Definition at line 125 of file track.cpp. References BEZIERNODE::next, NULL, NumPatches(), BEZIERNODE::patch, patchnodes, and BEZIER::WriteTo(). Referenced by TRACK::Write(). |
|
|
Definition at line 65 of file track.h. Referenced by ClearPatches(), Collide(), GenerateCollisionTree(), and ~ROADSTRIP(). |
|
|
Definition at line 67 of file track.h. Referenced by Collide(), and ReadFrom(). |
|
|
Definition at line 70 of file track.h. Referenced by Add(), ClearPatches(), CollideBruteForce(), DeleteLastPatch(), GenerateCollisionTree(), TRACK::GetBezier(), GetFirstNode(), GetLastPatch(), NumPatches(), ROADSTRIP(), Visualize(), and WriteTo(). |
1.4.6