OdeMass

class OdeMass

Bases: TypedReferenceCount

Inheritance diagram

Inheritance diagram of OdeMass

OdeMass(void)
OdeMass(OdeMass const &copy)
void add(OdeMass &other)
void adjust(dReal newmass)
int check(void)
LPoint3f get_center(void) const
static TypeHandle get_class_type(void)
LMatrix3f get_inertial_tensor(void) const
dReal get_magnitude(void) const
void rotate(LMatrix3f const &r)
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 &center, 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