Open Dynamics Engine
Public Member Functions | Public Attributes | List of all members
dxSpace Struct Referenceabstract
Inheritance diagram for dxSpace:
dxGeom dBase dxHashSpace dxQuadTreeSpace dxSAPSpace dxSimpleSpace

Public Member Functions

 dxSpace (dSpaceID _space)
 
void computeAABB ()
 
void setCleanup (int mode)
 
int getCleanup () const
 
void setSublevel (int value)
 
int getSublevel () const
 
void setManulCleanup (int value)
 
int getManualCleanup () const
 
int query (dxGeom *geom) const
 
int getNumGeoms () const
 
virtual dxGeomgetGeom (int i)
 
virtual void add (dxGeom *)
 
virtual void remove (dxGeom *)
 
virtual void dirty (dxGeom *)
 
virtual void cleanGeoms ()=0
 
virtual void collide (void *data, dNearCallback *callback)=0
 
virtual void collide2 (void *data, dxGeom *geom, dNearCallback *callback)=0
 
- Public Member Functions inherited from dxGeom
 dxGeom (dSpaceID _space, int is_placeable)
 
void updateZeroSizedFlag (bool is_zero_sized)
 
unsigned getParentSpaceTLSKind () const
 
void computePosr ()
 
void recomputePosr ()
 
bool checkControlValueSizeValidity (void *dataValue, int *dataSize, int iRequiresSize)
 
virtual bool controlGeometry (int controlClass, int controlCode, void *dataValue, int *dataSize)
 
virtual int AABBTest (dxGeom *o, dReal aabb[6])
 
void recomputeAABB ()
 
void spaceAdd (dxGeom **first_ptr)
 
void spaceRemove ()
 
void bodyAdd (dxBody *b)
 
void bodyRemove ()
 
- Public Member Functions inherited from dBase
void * operator new (size_t size)
 
void * operator new (size_t, void *p)
 
void operator delete (void *ptr, size_t size)
 
void * operator new[] (size_t size)
 
void operator delete[] (void *ptr, size_t size)
 

Public Attributes

int count
 
dxGeomfirst
 
int cleanup
 
int sublevel
 
unsigned tls_kind
 
int current_index
 
dxGeomcurrent_geom
 
int lock_count
 
- Public Attributes inherited from dxGeom
int type
 
int gflags
 
void * data
 
dBodyID body
 
dxGeombody_next
 
dxPosRfinal_posr
 
dxPosRoffset_posr
 
dxGeomnext
 
dxGeom ** tome
 
dxGeomnext_ex
 
dxGeom ** tome_ex
 
dxSpaceparent_space
 
dReal aabb [6]
 
unsigned long category_bits
 
unsigned long collide_bits
 

The documentation for this struct was generated from the following files: