Container Class Reference#include <sceneObject.h>
List of all members.
|
Basic database operations |
| typedef void(*) | FindCallback (SceneObject *, void *key) |
| void | findObjects (U32 mask, FindCallback, void *key=NULL) |
| void | findObjects (const Box3F &box, U32 mask, FindCallback, void *key=NULL) |
| void | polyhedronFindObjects (const Polyhedron &polyhedron, U32 mask, FindCallback, void *key=NULL) |
Public Member Functions |
| | Container () |
| | ~Container () |
| bool | addObject (SceneObject *) |
| bool | removeObject (SceneObject *) |
| void | addRefPoolBlock () |
| SceneObjectRef * | allocateObjectRef () |
| void | freeObjectRef (SceneObjectRef *) |
| void | insertIntoBins (SceneObject *) |
| void | removeFromBins (SceneObject *) |
| void | checkBins (SceneObject *) |
| | Checkbins makes sure that we're not just sticking the object right back where it came from.
|
| void | insertIntoBins (SceneObject *, U32, U32, U32, U32) |
| void | initRadiusSearch (const Point3F &searchPoint, const F32 searchRadius, const U32 searchMask) |
| void | initTypeSearch (const U32 searchMask) |
| U32 | containerSearchNext () |
| F32 | containerSearchCurrDist () |
| F32 | containerSearchCurrRadiusDist () |
|
| bool | castRay (const Point3F &start, const Point3F &end, U32 mask, RayInfo *info) |
| bool | collideBox (const Point3F &start, const Point3F &end, U32 mask, RayInfo *info) |
|
| bool | buildPolyList (const Box3F &box, U32 mask, AbstractPolyList *, FindCallback=0, void *key=NULL) |
| bool | buildCollisionList (const Box3F &box, const Point3F &start, const Point3F &end, const VectorF &velocity, U32 mask, CollisionList *collisionList, FindCallback=0, void *key=NULL, const Box3F *queryExpansion=0) |
| bool | buildCollisionList (const Polyhedron &polyhedron, const Point3F &start, const Point3F &end, const VectorF &velocity, U32 mask, CollisionList *collisionList, FindCallback callback=0, void *key=NULL) |
Static Public Attributes |
| static const U32 | csmNumBins |
| static const F32 | csmBinSize |
| static const F32 | csmTotalBinSize |
| static const U32 | csmRefPoolBlockSize |
| static U32 | smCurrSeqKey |
Private Member Functions |
| void | cleanupSearchVectors () |
Private Attributes |
| Link | mStart |
| Link | mEnd |
| SceneObjectRef * | mFreeRefPool |
| Vector< SceneObjectRef * > | mRefPoolBlocks |
| SceneObjectRef * | mBinArray |
| SceneObjectRef | mOverflowBin |
| Vector< SimObjectPtr< SceneObject > * > | mSearchList |
| | Object searches to support console querying of the database. ONLY WORKS ON SERVER.
|
| S32 | mCurrSearchPos |
| Point3F | mSearchReferencePoint |
Classes |
| struct | CallbackInfo |
| struct | Link |
Member Typedef Documentation
Constructor & Destructor Documentation
| Container::~Container |
( |
|
) |
|
Member Function Documentation
| void Container::addRefPoolBlock |
( |
|
) |
|
Checkbins makes sure that we're not just sticking the object right back where it came from.
The overloaded insertInto is so we don't calculate the ranges twice.
| void Container::cleanupSearchVectors |
( |
|
) |
[private] |
| void Container::initRadiusSearch |
( |
const Point3F & |
searchPoint, |
|
|
const F32 |
searchRadius, |
|
|
const U32 |
searchMask | |
|
) |
| | |
| void Container::initTypeSearch |
( |
const U32 |
searchMask |
) |
|
| U32 Container::containerSearchNext |
( |
|
) |
|
| F32 Container::containerSearchCurrDist |
( |
|
) |
|
| F32 Container::containerSearchCurrRadiusDist |
( |
|
) |
|
Member Data Documentation
Object searches to support console querying of the database. ONLY WORKS ON SERVER.
|