SpatialHashBucket Class Reference

#include <rimCollisionWorldSpatialHashBucket.h>

List of all members.

Public Member Functions

 SpatialHashBucket ()
 SpatialHashBucket (int objectArraySize)
 ~SpatialHashBucket ()
SpatialHashBucketoperator= (const SpatialHashBucket &bucket)
void addObject (SpatialHashObject *object)
void removeObject (SpatialHashObject *object)
SpatialHashObjectgetObject (int index)
void clearObjects ()
int getNumberOfObjects () const

Public Attributes

int tick

Private Attributes

int numObjects
int objectArraySize
SpatialHashObject ** objects

Static Private Attributes

static const int DEFAULT_OBJECT_ARRAY_SIZE = 8


Constructor & Destructor Documentation

SpatialHashBucket::SpatialHashBucket (  )  [inline]

SpatialHashBucket::SpatialHashBucket ( int  objectArraySize  )  [inline]

SpatialHashBucket::~SpatialHashBucket (  )  [inline]


Member Function Documentation

SpatialHashBucket& SpatialHashBucket::operator= ( const SpatialHashBucket bucket  )  [inline]

void SpatialHashBucket::addObject ( SpatialHashObject object  )  [inline]

void SpatialHashBucket::removeObject ( SpatialHashObject object  )  [inline]

SpatialHashObject* SpatialHashBucket::getObject ( int  index  )  [inline]

void SpatialHashBucket::clearObjects (  )  [inline]

int SpatialHashBucket::getNumberOfObjects (  )  const [inline]


Member Data Documentation

int SpatialHashBucket::tick

int SpatialHashBucket::numObjects [private]

int SpatialHashBucket::objectArraySize [private]

SpatialHashObject** SpatialHashBucket::objects [private]

const int SpatialHashBucket::DEFAULT_OBJECT_ARRAY_SIZE = 8 [static, private]


The documentation for this class was generated from the following file:
Generated on Tue Aug 26 00:03:21 2008 for Rim Physics by  doxygen 1.5.4