ShadowVolumeBSP Class Reference#include <shadowVolumeBSP.h>
Detailed Description
Used to calculate shadows.
|
Public Member Functions |
| ShadowVolumeBSP () |
| ~ShadowVolumeBSP () |
void | insertPoly (SVNode **, SVPoly *) |
void | insertPolyFront (SVNode **, SVPoly *) |
void | insertPolyBack (SVNode **, SVPoly *) |
void | splitPoly (SVPoly *, const PlaneF &, SVPoly **, SVPoly **) |
void | insertShadowVolume (SVNode **, U32) |
void | addUniqueVolume (SurfaceInfo *, U32) |
SVNode::Side | whichSide (SVPoly *, const PlaneF &) const |
bool | testPoint (SVNode *, const Point3F &) |
bool | testPoly (SVNode *, SVPoly *) |
void | addToPolyList (SVPoly **, SVPoly *) const |
void | clipPoly (SVNode *, SVPoly **, SVPoly *) |
void | clipToSelf (SVNode *, SVPoly **, SVPoly *) |
F32 | getPolySurfaceArea (SVPoly *) const |
F32 | getClippedSurfaceArea (SVNode *, SVPoly *) |
void | movePolyList (SVPoly **, SVPoly *) const |
F32 | getLitSurfaceArea (SVPoly *, SurfaceInfo *) |
SVNode * | createNode () |
void | recycleNode (SVNode *) |
SVPoly * | createPoly () |
void | recyclePoly (SVPoly *) |
U32 | insertPlane (const PlaneF &) |
const PlaneF & | getPlane (U32) const |
SVNode * | getShadowVolume (U32) |
void | removeLastInterior () |
|
void | insertPoly (SVPoly *poly) |
bool | testPoint (Point3F &pnt) |
bool | testPoly (SVPoly *poly) |
F32 | getClippedSurfaceArea (SVPoly *poly) |
|
void | buildPolyVolume (SVPoly *, LightInfo *) |
SVPoly * | copyPoly (SVPoly *) |
Data Fields |
Vector< SurfaceInfo * > | mSurfaces |
Chunker< SVNode > | mNodeChunker |
Chunker< SVPoly > | mPolyChunker |
SVNode * | mSVRoot |
Vector< SVNode * > | mShadowVolumes |
Vector< PlaneF > | mPlanes |
SVNode * | mNodeStore |
SVPoly * | mPolyStore |
Vector< SVNode * > | mParentNodes |
SVNode * | mFirstInteriorNode |
Data Structures |
struct | SurfaceInfo |
struct | SVNode |
struct | SVPoly |
Constructor & Destructor Documentation
ShadowVolumeBSP::ShadowVolumeBSP |
( |
|
) |
|
ShadowVolumeBSP::~ShadowVolumeBSP |
( |
|
) |
|
Member Function Documentation
F32 ShadowVolumeBSP::getPolySurfaceArea |
( |
SVPoly * |
|
) |
const |
SVNode* ShadowVolumeBSP::createNode |
( |
|
) |
|
SVPoly* ShadowVolumeBSP::createPoly |
( |
|
) |
|
U32 ShadowVolumeBSP::insertPlane |
( |
const PlaneF & |
|
) |
|
const PlaneF& ShadowVolumeBSP::getPlane |
( |
U32 |
|
) |
const |
SVNode* ShadowVolumeBSP::getShadowVolume |
( |
U32 |
|
) |
|
void ShadowVolumeBSP::removeLastInterior |
( |
|
) |
|
void ShadowVolumeBSP::insertPoly |
( |
SVPoly * |
poly |
) |
[inline] |
bool ShadowVolumeBSP::testPoint |
( |
Point3F & |
pnt |
) |
[inline] |
bool ShadowVolumeBSP::testPoly |
( |
SVPoly * |
poly |
) |
[inline] |
F32 ShadowVolumeBSP::getClippedSurfaceArea |
( |
SVPoly * |
poly |
) |
[inline] |
Field Documentation
|