ForceField Class Reference#include <forceField.h>
|
Public Member Functions |
| ForceField () |
| ~ForceField () |
bool | prepForRendering () |
void | render (const ColorF &color, const F32 fadeLevel) |
const Box3F & | getBoundingBox () const |
bool | castRay (const Point3F &, const Point3F &, RayInfo *) |
bool | buildPolyList (AbstractPolyList *, SphereF &) |
bool | read (Stream &stream) |
bool | write (Stream &stream) const |
Static Public Member Functions |
static U16 | getPlaneIndex (U16 index) |
static bool | planeIsFlipped (U16 index) |
Protected Member Functions |
bool | castRay_r (const U16, const Point3F &, const Point3F &, RayInfo *) |
void | buildPolyList_r (const U16, Vector< U16 > &, AbstractPolyList *, SphereF &) |
void | collisionFanFromSurface (const Surface &, U32 *fan, U32 *numIndices) const |
Protected Attributes |
StringTableEntry | mName |
ColorF | mColor |
Vector< StringTableEntry > | mTriggers |
Box3F | mBoundingBox |
SphereF | mBoundingSphere |
Vector< PlaneF > | mPlanes |
Vector< Point3F > | mPoints |
Vector< IBSPNode > | mBSPNodes |
Vector< IBSPLeafSolid > | mBSPSolidLeaves |
Vector< U32 > | mSolidLeafSurfaces |
bool | mPreppedForRender |
TextureHandle * | mWhite |
Vector< U32 > | mWindings |
Vector< Surface > | mSurfaces |
Private Member Functions |
bool | isBSPLeafIndex (U16 index) const |
bool | isBSPSolidLeaf (U16 index) const |
bool | isBSPEmptyLeaf (U16 index) const |
U16 | getBSPSolidLeafIndex (U16 index) const |
bool | writePlaneVector (Stream &) const |
bool | readPlaneVector (Stream &) |
const PlaneF & | getPlane (U16 index) const |
bool | areEqualPlanes (U16, U16) const |
Static Private Attributes |
static const U32 | smFileVersion |
Friends |
class | EditGeometry |
class | InteriorInstance |
Data Structures |
struct | IBSPLeafSolid |
struct | IBSPNode |
struct | Surface |
Constructor & Destructor Documentation
ForceField::ForceField |
( |
|
) |
|
ForceField::~ForceField |
( |
|
) |
|
Member Function Documentation
bool ForceField::prepForRendering |
( |
|
) |
|
void ForceField::render |
( |
const ColorF & |
color, |
|
|
const F32 |
fadeLevel | |
|
) |
| | |
const Box3F & ForceField::getBoundingBox |
( |
|
) |
const [inline] |
bool ForceField::read |
( |
Stream & |
stream |
) |
|
bool ForceField::write |
( |
Stream & |
stream |
) |
const |
U16 ForceField::getPlaneIndex |
( |
U16 |
index |
) |
[inline, static] |
bool ForceField::planeIsFlipped |
( |
U16 |
index |
) |
[inline, static] |
bool ForceField::isBSPLeafIndex |
( |
U16 |
index |
) |
const [inline, private] |
bool ForceField::isBSPSolidLeaf |
( |
U16 |
index |
) |
const [inline, private] |
bool ForceField::isBSPEmptyLeaf |
( |
U16 |
index |
) |
const [inline, private] |
U16 ForceField::getBSPSolidLeafIndex |
( |
U16 |
index |
) |
const [inline, private] |
bool ForceField::writePlaneVector |
( |
Stream & |
|
) |
const [private] |
bool ForceField::readPlaneVector |
( |
Stream & |
|
) |
[private] |
const PlaneF & ForceField::getPlane |
( |
U16 |
index |
) |
const [inline, private] |
bool ForceField::areEqualPlanes |
( |
U16 |
, |
|
|
U16 |
| |
|
) |
| | const [inline, private] |
void ForceField::collisionFanFromSurface |
( |
const Surface & |
, |
|
|
U32 * |
fan, |
|
|
U32 * |
numIndices | |
|
) |
| | const [protected] |
Friends And Related Function Documentation
friend class EditGeometry [friend] |
Field Documentation
|