55 enum GeomClass { GC_sphere = 0,
73 INLINE dGeomID get_id()
const;
76 INLINE
void set_body(
OdeBody &body);
77 INLINE
bool has_body()
const;
78 INLINE
OdeBody get_body()
const;
79 INLINE
void set_position(dReal x, dReal y, dReal z);
80 INLINE
void set_position(
const LVecBase3f &pos);
81 INLINE
void set_rotation(
const LMatrix3f &r);
82 INLINE
void set_quaternion(
const LQuaternionf &q);
83 INLINE LPoint3f get_position()
const;
84 INLINE LMatrix3f get_rotation()
const;
85 INLINE LQuaternionf get_quaternion()
const;
86 INLINE
void get_AABB(LVecBase3f &min, LVecBase3f &max)
const;
87 EXTENSION(INLINE PyObject *get_AA_bounds()
const);
88 INLINE
int is_space();
89 INLINE
int get_class()
const;
90 INLINE
void set_category_bits(
const BitMask32 &bits);
91 INLINE
void set_collide_bits(
const BitMask32 &bits);
95 INLINE
void disable();
96 INLINE
int is_enabled();
97 INLINE
void set_offset_position(dReal x, dReal y, dReal z);
98 INLINE
void set_offset_position(
const LVecBase3f &pos);
99 INLINE
void set_offset_rotation(
const LMatrix3f &r);
100 INLINE
void set_offset_quaternion(
const LQuaternionf &q);
101 INLINE
void set_offset_world_position(dReal x, dReal y, dReal z);
102 INLINE
void set_offset_world_position(
const LVecBase3f &pos);
103 INLINE
void set_offset_world_rotation(
const LMatrix3f &r);
104 INLINE
void set_offset_world_quaternion(
const LQuaternionf &q);
105 INLINE
void clear_offset();
106 INLINE
int is_offset();
107 INLINE LPoint3f get_offset_position()
const;
108 INLINE LMatrix3f get_offset_rotation()
const;
109 INLINE LQuaternionf get_offset_quaternion()
const;
117 EXTENSION(INLINE PyObject *get_converted_space()
const);
119 virtual void write(std::ostream &out = std::cout,
unsigned int indent=0)
const;
120 operator bool ()
const;
123 EXTENSION(PyObject *convert()
const);
138 INLINE
static int get_geom_class() {
return -1; };
151 TypedObject::get_class_type());
154 return get_class_type();
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A class used to hold information about a collision that has occurred.
bool is_empty() const
Returns true if the entry holds no contacts.
TypeHandle is the identifier used to differentiate C++ class types.
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
static void init_type()
This function is declared non-inline to work around a compiler bug in g++ 2.96.
An STL function object class, this is intended to be used on any ordered collection of class objects ...
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.