OdeMass
-
class OdeMass
Bases:
TypedReferenceCount
Inheritance diagram
-
OdeMass(void)
-
void adjust(dReal newmass)
-
int check(void)
-
static TypeHandle get_class_type(void)
-
dReal get_magnitude(void) const
-
void set_box(dReal density, dReal lx, dReal ly, dReal lz)
-
void set_box(dReal density, LVecBase3f const &size)
-
void set_box_total(dReal total_mass, dReal lx, dReal ly, dReal lz)
-
void set_box_total(dReal total_mass, LVecBase3f const &size)
-
void set_capsule(dReal density, int direction, dReal radius, dReal length)
-
void set_capsule_total(dReal total_mass, int direction, dReal radius, dReal length)
-
void set_cylinder(dReal density, int direction, dReal radius, dReal length)
-
void set_cylinder_total(dReal total_mass, int direction, dReal radius, dReal length)
-
void set_parameters(dReal themass, dReal cgx, dReal cgy, dReal cgz, dReal I11, dReal I22, dReal I33, dReal I12, dReal I13, dReal I23)
-
void set_parameters(dReal themass, LVecBase3f const ¢er, LMatrix3f const &r)
-
void set_sphere(dReal density, dReal radius)
-
void set_sphere_total(dReal total_mass, dReal radius)
-
void set_zero(void)
-
void translate(dReal x, dReal y, dReal z)
-
void translate(LVecBase3f const &pos)
-
virtual void write(std::ostream &out = ::std::cout, unsigned int indent = 0) const
-
OdeMass(void)