OdeGeom
-
class OdeGeom
Bases:
TypedObject
Inheritance diagram
-
enum GeomClass
-
enumerator GC_sphere = 0
-
enumerator GC_box = 1
-
enumerator GC_capped_cylinder = 2
-
enumerator GC_cylinder = 3
-
enumerator GC_plane = 4
-
enumerator GC_ray = 5
-
enumerator GC_tri_mesh = 8
GC_convex, GC_geom_transform,
-
enumerator GC_simple_space = 10
-
enumerator GC_hash_space = 11
-
enumerator GC_quad_tree_space = 12
-
enumerator GC_sphere = 0
-
void clear_offset(void)
-
PyObject *convert(void) const
-
OdeBoxGeom convert_to_box(void) const
-
OdeCappedCylinderGeom convert_to_capped_cylinder(void) const
-
OdeCylinderGeom convert_to_cylinder(void) const
OdeConvexGeom convert_to_convex() const;
-
OdeHashSpace convert_to_hash_space(void) const
-
OdePlaneGeom convert_to_plane(void) const
OdeHeightfieldGeom convert_to_heightfield() const;
-
OdeQuadTreeSpace convert_to_quad_tree_space(void) const
-
OdeRayGeom convert_to_ray(void) const
-
OdeSimpleSpace convert_to_simple_space(void) const
-
OdeSphereGeom convert_to_sphere(void) const
-
OdeTriMeshGeom convert_to_tri_mesh(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
-
int get_class(void) const
-
static TypeHandle get_class_type(void)
-
PyObject *get_converted_space(void) const
-
dGeomID get_id(void) const
Returns the underlying dGeomID.
-
LQuaternionf get_offset_quaternion(void) const
-
LQuaternionf get_quaternion(void) const
-
bool has_body(void) const
-
bool is_empty(void) const
Returns true if the ID is 0, meaning the
OdeGeom
does not point to a valid geom. It is an error to call a method on an empty geom. Note that an emptyOdeGeom
also evaluates to False.
-
int is_enabled(void)
-
int is_offset(void)
-
int is_space(void)
-
void set_offset_position(dReal x, dReal y, dReal z)
-
void set_offset_position(LVecBase3f const &pos)
-
void set_offset_quaternion(LQuaternionf const &q)
-
void set_offset_world_position(dReal x, dReal y, dReal z)
-
void set_offset_world_position(LVecBase3f const &pos)
-
void set_offset_world_quaternion(LQuaternionf const &q)
-
void set_position(dReal x, dReal y, dReal z)
-
void set_position(LVecBase3f const &pos)
-
void set_quaternion(LQuaternionf const &q)
-
virtual void write(std::ostream &out = ::std::cout, unsigned int indent = 0) const
-
enum GeomClass