14 #ifndef ODECONTACTGEOM_H 15 #define ODECONTACTGEOM_H 40 INLINE LVecBase3f get_pos()
const;
41 INLINE LVecBase3f get_normal()
const;
42 INLINE dReal get_depth()
const;
45 INLINE
int get_side1()
const;
46 INLINE
int get_side2()
const;
48 INLINE
void set_pos(
const LVecBase3f &pos);
49 INLINE
void set_normal(
const LVecBase3f &normal);
50 INLINE
void set_depth(
const dReal depth);
51 INLINE
void set_g1(
const OdeGeom &geom);
52 INLINE
void set_g2(
const OdeGeom &geom);
56 const dContactGeom* get_contact_geom_ptr()
const;
60 void operator = (
const dContactGeom ©);
61 dContactGeom _contact_geom;
67 static void init_type() {
68 TypedReferenceCount::init_type();
70 TypedReferenceCount::get_class_type());
73 return get_class_type();
75 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
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.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.