EarlyOutPolyList Class Reference#include <earlyOutPolyList.h>
Inheritance diagram for EarlyOutPolyList:
[legend]
Detailed Description
Early out check PolyList.
This class is used primarily for triggers and similar checks. It checks to see if any of the geometry you feed it is inside its area, and if it is, it stops checking for any more data and returns a true value. This is good if you want to know if anything is in your "trigger" area, for instance.
- See also:
- AbstractPolyList
Member Typedef Documentation
Constructor & Destructor Documentation
EarlyOutPolyList::EarlyOutPolyList |
( |
|
) |
|
EarlyOutPolyList::~EarlyOutPolyList |
( |
|
) |
|
Member Function Documentation
void EarlyOutPolyList::memcpy |
( |
U32 * |
d, |
|
|
U32 * |
s, |
|
|
U32 |
size | |
|
) |
| | [private] |
void EarlyOutPolyList::clear |
( |
|
) |
|
bool EarlyOutPolyList::isEmpty |
( |
|
) |
const [virtual] |
U32 EarlyOutPolyList::addPoint |
( |
const Point3F & |
p |
) |
[virtual] |
Adds a point to the poly list, and returns an ID number for that point.
Implements AbstractPolyList.
U32 EarlyOutPolyList::addPlane |
( |
const PlaneF & |
plane |
) |
[virtual] |
Adds a plane to the poly list, and returns an ID number for that point.
Implements AbstractPolyList.
void EarlyOutPolyList::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 EarlyOutPolyList::plane |
( |
U32 |
v1, |
|
|
U32 |
v2, |
|
|
U32 |
v3 | |
|
) |
| | [virtual] |
void EarlyOutPolyList::plane |
( |
const PlaneF & |
p |
) |
[virtual] |
void EarlyOutPolyList::plane |
( |
const U32 |
index |
) |
[virtual] |
void EarlyOutPolyList::vertex |
( |
U32 |
vi |
) |
[virtual] |
void EarlyOutPolyList::end |
( |
|
) |
[virtual] |
const PlaneF& EarlyOutPolyList::getIndexedPlane |
( |
const U32 |
index |
) |
[protected, virtual] |
Field Documentation
|