27class EXPCL_PANDAODE OdeCylinderGeom :
public OdeGeom {
31 OdeCylinderGeom(dGeomID
id);
34 OdeCylinderGeom(dReal radius, dReal length);
35 OdeCylinderGeom(OdeSpace &space, dReal radius, dReal length);
36 virtual ~OdeCylinderGeom();
38 INLINE
void set_params(dReal radius, dReal length);
39 INLINE
void get_params(dReal *radius, dReal *length)
const;
40 INLINE dReal get_radius()
const;
41 INLINE dReal get_length()
const;
44 INLINE
static int get_geom_class() {
return dCylinderClass; };
50 static void init_type() {
53 OdeGeom::get_class_type());
56 return get_class_type();
58 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...