OdeSpace

class OdeSpace

Bases: TypedObject

Inheritance diagram

Inheritance diagram of OdeSpace

void add(OdeGeom &geom)
void add(OdeSpace &space)
void auto_collide(void)
void clean(void)
int collide(PyObject *arg, PyObject *near_callback)
PyObject *convert(void) const
OdeHashSpace convert_to_hash_space(void) const
OdeQuadTreeSpace convert_to_quad_tree_space(void) const
OdeSimpleSpace convert_to_simple_space(void) const
void destroy(void)
void disable(void)
void enable(void)
void get_AABB(LVecBase3f &min, LVecBase3f &max) const
PyObject *get_AA_bounds(void) const
BitMask32 get_category_bits(void)
int get_class(void) const
static TypeHandle get_class_type(void)
int get_cleanup(void) const
BitMask32 get_collide_bits(void)
int get_collide_id(dGeomID o1)
int get_collide_id(OdeGeom &geom)
std::string get_collision_event(void)
PyObject *get_converted_geom(int i) const
PyObject *get_converted_space(void) const
OdeGeom get_geom(int i)
int get_num_geoms(void) const
OdeSpace get_space(void) const
int get_surface_type(dGeomID o1)
int get_surface_type(OdeGeom &geom)
bool is_empty(void) const

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.

int is_enabled(void)
int is_space(void)
int query(OdeGeom const &geom) const
int query(OdeSpace const &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(BitMask32 const &bits)
void set_cleanup(int mode)
void set_collide_bits(BitMask32 const &bits)
int set_collide_id(int collide_id, dGeomID id)
int set_collide_id(OdeGeom &geom, int collide_id)
void set_collision_event(std::string const &event_name)
void set_surface_type(int surface_type, dGeomID id)
void set_surface_type(OdeGeom &geom, int surface_type)
virtual void write(std::ostream &out = ::std::cout, unsigned int indent = 0) const