18 #include "pandabase.h" 19 #include "typedObject.h" 23 #include "ode_includes.h" 57 enum GeomClass { GC_sphere = 0,
76 INLINE dGeomID get_id()
const;
79 INLINE
void set_body(
OdeBody &body);
80 INLINE
bool has_body()
const;
81 INLINE
OdeBody get_body()
const;
82 INLINE
void set_position(dReal x, dReal y, dReal z);
83 INLINE
void set_position(
const LVecBase3f &pos);
84 INLINE
void set_rotation(
const LMatrix3f &r);
86 INLINE
LPoint3f get_position()
const;
90 EXTENSION(INLINE PyObject *get_AA_bounds()
const);
91 INLINE
int is_space();
92 INLINE
int get_class()
const;
93 INLINE
void set_category_bits(
const BitMask32 &bits);
94 INLINE
void set_collide_bits(
const BitMask32 &bits);
98 INLINE
void disable();
99 INLINE
int is_enabled();
100 INLINE
void set_offset_position(dReal x, dReal y, dReal z);
101 INLINE
void set_offset_position(
const LVecBase3f &pos);
102 INLINE
void set_offset_rotation(
const LMatrix3f &r);
103 INLINE
void set_offset_quaternion(
const LQuaternionf &q);
104 INLINE
void set_offset_world_position(dReal x, dReal y, dReal z);
105 INLINE
void set_offset_world_position(
const LVecBase3f &pos);
106 INLINE
void set_offset_world_rotation(
const LMatrix3f &r);
107 INLINE
void set_offset_world_quaternion(
const LQuaternionf &q);
108 INLINE
void clear_offset();
109 INLINE
int is_offset();
110 INLINE
LPoint3f get_offset_position()
const;
111 INLINE
LMatrix3f get_offset_rotation()
const;
122 EXTENSION(INLINE PyObject *get_converted_space()
const);
124 virtual void write(ostream &out = cout,
unsigned int indent=0)
const;
125 operator bool ()
const;
128 EXTENSION(PyObject *convert()
const);
143 INLINE
static int get_geom_class() {
return -1; };
155 register_type(_type_handle,
"OdeGeom",
156 TypedObject::get_class_type());
159 return get_class_type();
This is the base class for all three-component vectors and points.
static void init_type()
This function is declared non-inline to work around a compiler bug in g++ 2.96.
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
A class used to hold information about a collision that has occurred.
An STL function object class, this is intended to be used on any ordered collection of class objects ...
This is the base quaternion class.
bool is_empty() const
Returns true if the entry holds no contacts.
TypeHandle is the identifier used to differentiate C++ class types.
This is a 3-by-3 transform matrix.