15 #ifndef ODECONTACTGEOM_H
16 #define ODECONTACTGEOM_H
18 #include "pandabase.h"
19 #include "typedReferenceCount.h"
22 #include "ode_includes.h"
44 INLINE dReal get_depth()
const;
47 INLINE
int get_side1()
const;
48 INLINE
int get_side2()
const;
51 INLINE
void set_normal(
const LVecBase3f &normal);
52 INLINE
void set_depth(
const dReal depth);
53 INLINE
void set_g1(
const OdeGeom &geom);
54 INLINE
void set_g2(
const OdeGeom &geom);
58 const dContactGeom* get_contact_geom_ptr()
const;
62 void operator = (
const dContactGeom ©);
63 dContactGeom _contact_geom;
69 static void init_type() {
70 TypedReferenceCount::init_type();
71 register_type(_type_handle,
"OdeContactGeom",
72 TypedReferenceCount::get_class_type());
75 return get_class_type();
77 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
83 #include "odeContactGeom.I"
This is the base class for all three-component vectors and points.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
TypeHandle is the identifier used to differentiate C++ class types.