ExtrudedPolyList Class Reference#include <extrudedPolyList.h>
Inheritance diagram for ExtrudedPolyList:
[legend]
Detailed Description
Extruded Polytope PolyList.
This class is used primarily for collision detection, by objects which need to check for obstructions along their path. You feed it a polytope to extrude along the direction of movement, and it gives you a list of collisions.
- See also:
- AbstractPolyList
Member Typedef Documentation
Constructor & Destructor Documentation
ExtrudedPolyList::ExtrudedPolyList |
( |
|
) |
|
ExtrudedPolyList::~ExtrudedPolyList |
( |
|
) |
|
Member Function Documentation
bool ExtrudedPolyList::testPoly |
( |
ExtrudedFace & |
|
) |
[private] |
void ExtrudedPolyList::setVelocity |
( |
const VectorF & |
velocity |
) |
|
void ExtrudedPolyList::adjustCollisionTime |
( |
|
) |
|
void ExtrudedPolyList::render |
( |
|
) |
|
bool ExtrudedPolyList::isEmpty |
( |
|
) |
const [virtual] |
U32 ExtrudedPolyList::addPoint |
( |
const Point3F & |
p |
) |
[virtual] |
Adds a point to the poly list, and returns an ID number for that point.
Implements AbstractPolyList.
U32 ExtrudedPolyList::addPlane |
( |
const PlaneF & |
plane |
) |
[virtual] |
Adds a plane to the poly list, and returns an ID number for that point.
Implements AbstractPolyList.
void ExtrudedPolyList::begin |
( |
U32 |
material, |
|
|
U32 |
surfaceKey | |
|
) |
| | [virtual] |
Start a surface.
- Parameters:
-
| material | A material ID for this surface. |
| surfaceKey | A key value to associate with this surface. |
Implements AbstractPolyList.
void ExtrudedPolyList::plane |
( |
U32 |
v1, |
|
|
U32 |
v2, |
|
|
U32 |
v3 | |
|
) |
| | [virtual] |
void ExtrudedPolyList::plane |
( |
const PlaneF & |
p |
) |
[virtual] |
void ExtrudedPolyList::plane |
( |
const U32 |
index |
) |
[virtual] |
void ExtrudedPolyList::vertex |
( |
U32 |
vi |
) |
[virtual] |
void ExtrudedPolyList::end |
( |
|
) |
[virtual] |
const PlaneF& ExtrudedPolyList::getIndexedPlane |
( |
const U32 |
index |
) |
[protected, virtual] |
Field Documentation
|