Panda3D
|
Public Member Functions | |
void | add (OdeGeom &geom) |
void | add (OdeSpace &space) |
int | auto_collide () |
void | clean () |
OdeHashSpace | convert_to_hash_space () const |
OdeQuadTreeSpace | convert_to_quad_tree_space () const |
OdeSimpleSpace | convert_to_simple_space () const |
void | destroy () |
void | disable () |
void | enable () |
virtual TypeHandle | force_init_type () |
void | get_AABB (LVecBase3f &min, LVecBase3f &max) const |
BitMask32 | get_category_bits () |
int | get_class () const |
int | get_cleanup () const |
BitMask32 | get_collide_bits () |
int | get_collide_id (dGeomID o1) |
int | get_collide_id (OdeGeom &geom) |
string | get_collision_event () |
int | get_contact_id (int data_index, int first=0) |
OdeGeom | get_geom (int i) |
dSpaceID | get_id () const |
Returns the underlying dSpaceID. | |
int | get_num_geoms () const |
OdeSpace | get_space () const |
int | get_surface_type (dGeomID o1) |
int | get_surface_type (OdeGeom &geom) |
virtual TypeHandle | get_type () const |
bool | is_empty () const |
Returns true if the ID is 0, meaning the OdeSpace does not point to a valid space. | |
int | is_enabled () |
int | is_space () |
operator bool () const | |
int | query (const OdeGeom &geom) const |
int | query (const OdeSpace &space) const |
void | remove (OdeGeom &geom) |
void | remove (OdeSpace &space) |
void | set_auto_collide_joint_group (OdeJointGroup &) |
void | set_auto_collide_world (OdeWorld &) |
void | set_category_bits (const BitMask32 &bits) |
void | set_cleanup (int mode) |
void | set_collide_bits (const BitMask32 &bits) |
int | set_collide_id (int collide_id, dGeomID id) |
int | set_collide_id (OdeGeom &geom, int collide_id) |
void | set_collision_event (const string &event_name) |
void | set_surface_type (int surface_type, dGeomID id) |
void | set_surface_type (OdeGeom &geom, int surface_type) |
virtual void | write (ostream &out=cout, unsigned int indent=0) const |
Static Public Member Functions | |
static void | auto_callback (void *, dGeomID, dGeomID) |
static TypeHandle | get_class_type () |
static double | get_contact_data (int data_index) |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. | |
Public Attributes | |
string | _collision_event |
Static Public Attributes | |
static dJointGroupID | _collide_joint_group |
static OdeSpace * | _collide_space |
static OdeWorld * | _collide_world |
static double | contact_data [192] |
static int | contact_ids [128] |
static int | contactCount = 0 |
Protected Member Functions | |
OdeSpace (dSpaceID id) | |
Protected Attributes | |
int | _g |
dSpaceID | _id |
OdeWorld * | my_world |
Friends | |
class | OdeGeom |
Definition at line 44 of file odeSpace.h.
dSpaceID OdeSpace::get_id | ( | ) | const [inline] |
Returns the underlying dSpaceID.
Definition at line 34 of file odeSpace.I.
static void OdeSpace::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from TypedObject.
Reimplemented in OdeHashSpace, OdeQuadTreeSpace, and OdeSimpleSpace.
Definition at line 137 of file odeSpace.h.
References OdeGeom::init_type().
bool OdeSpace::is_empty | ( | ) | const [inline] |
Returns true if the ID is 0, meaning the OdeSpace does not point to a valid space.
It is an error to call a method on an empty space. Note that an empty OdeSpace also evaluates to False.
Definition at line 24 of file odeSpace.I.