|
| OdeMass (const OdeMass ©) |
|
void | add (OdeMass &other) |
|
void | adjust (dReal newmass) |
|
int | check () |
|
virtual TypeHandle | force_init_type () |
|
LPoint3f | get_center () const |
|
LMatrix3f | get_inertial_tensor () const |
|
dReal | get_magnitude () const |
|
dMass * | get_mass_ptr () |
|
virtual TypeHandle | get_type () const |
|
void | rotate (const LMatrix3f &r) |
|
void | set_box (dReal density, dReal lx, dReal ly, dReal lz) |
|
void | set_box (dReal density, const LVecBase3f &size) |
|
void | set_box_total (dReal total_mass, dReal lx, dReal ly, dReal lz) |
|
void | set_box_total (dReal total_mass, const LVecBase3f &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, const LVecBase3f ¢er, const LMatrix3f &r) |
|
void | set_sphere (dReal density, dReal radius) |
|
void | set_sphere_total (dReal total_mass, dReal radius) |
|
void | set_zero () |
|
void | translate (dReal x, dReal y, dReal z) |
|
void | translate (const LVecBase3f &pos) |
|
virtual void | write (std::ostream &out=std::cout, unsigned int indent=0) const |
|
| TypedReferenceCount (const TypedReferenceCount ©) |
|
void | operator= (const TypedReferenceCount ©) |
|
| TypedObject (const TypedObject ©)=default |
|
TypedObject * | as_typed_object () |
| Returns the object, upcast (if necessary) to a TypedObject pointer. More...
|
|
const TypedObject * | as_typed_object () const |
| Returns the object, upcast (if necessary) to a TypedObject pointer. More...
|
|
int | get_best_parent_from_Set (const std::set< int > &) const |
|
int | get_type_index () const |
| Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More...
|
|
bool | is_exact_type (TypeHandle handle) const |
| Returns true if the current object is the indicated type exactly. More...
|
|
bool | is_of_type (TypeHandle handle) const |
| Returns true if the current object is or derives from the indicated type. More...
|
|
TypedObject & | operator= (const TypedObject ©)=default |
|
int | get_ref_count () const |
|
WeakReferenceList * | get_weak_list () const |
| Returns the WeakReferenceList associated with this ReferenceCount object. More...
|
|
bool | has_weak_list () const |
| Returns true if this particular ReferenceCount object has a WeakReferenceList created, false otherwise. More...
|
|
void | local_object () |
| This function should be called, once, immediately after creating a new instance of some ReferenceCount-derived object on the stack. More...
|
|
void | ref () const |
| Explicitly increments the reference count. More...
|
|
bool | ref_if_nonzero () const |
| Atomically increases the reference count of this object if it is not zero. More...
|
|
bool | test_ref_count_integrity () const |
| Does some easy checks to make sure that the reference count isn't completely bogus. More...
|
|
bool | test_ref_count_nonzero () const |
| Does some easy checks to make sure that the reference count isn't zero, or completely bogus. More...
|
|
virtual bool | unref () const |
| Explicitly decrements the reference count. More...
|
|
WeakReferenceList * | weak_ref () |
| Adds the indicated PointerToVoid as a weak reference to this object. More...
|
|
void | weak_unref () |
| Removes the indicated PointerToVoid as a weak reference to this object. More...
|
|
Definition at line 26 of file odeMass.h.