Panda3D
|
Performs Euler integration on a vector of physically modelable objects given a quantum dt. More...
#include "angularEulerIntegrator.h"
Public Member Functions | |
AngularEulerIntegrator () | |
constructor More... | |
virtual | ~AngularEulerIntegrator () |
destructor More... | |
virtual void | output (ostream &out) const |
Write a string representation of this instance to <out>. More... | |
virtual void | write (ostream &out, unsigned int indent=0) const |
Write a string representation of this instance to <out>. More... | |
![]() | |
virtual | ~AngularIntegrator () |
destructor More... | |
void | integrate (Physical *physical, AngularForceVector &forces, PN_stdfloat dt) |
high-level integration. More... | |
![]() | |
virtual | ~BaseIntegrator () |
destructor More... | |
virtual void | write_precomputed_angular_matrices (ostream &out, unsigned int indent=0) const |
Write a string representation of this instance to <out>. More... | |
virtual void | write_precomputed_linear_matrices (ostream &out, unsigned int indent=0) const |
Write a string representation of this instance to <out>. More... | |
![]() | |
int | get_ref_count () const |
Returns the current reference count. More... | |
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 | 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... | |
void | weak_ref (WeakPointerToVoid *ptv) |
Adds the indicated PointerToVoid as a weak reference to this object. More... | |
void | weak_unref (WeakPointerToVoid *ptv) |
Removes the indicated PointerToVoid as a weak reference to this object. More... | |
Additional Inherited Members | |
![]() | |
typedef pvector< PT(AngularForce)> | AngularForceVector |
typedef pvector< PT(LinearForce)> | LinearForceVector |
typedef epvector< LMatrix4 > | MatrixVector |
![]() | |
static TypeHandle | get_class_type () |
static void | init_type () |
Performs Euler integration on a vector of physically modelable objects given a quantum dt.
Definition at line 25 of file angularEulerIntegrator.h.
AngularEulerIntegrator::AngularEulerIntegrator | ( | ) |
constructor
Definition at line 26 of file angularEulerIntegrator.cxx.
References ~AngularEulerIntegrator().
|
virtual |
destructor
Definition at line 35 of file angularEulerIntegrator.cxx.
References PhysicsObject::get_active(), PhysicsObject::get_inertial_tensor(), PhysicsObject::get_orientation(), AngularForce::get_quat(), PhysicsObject::get_rotation(), output(), PhysicsObject::set_rotation(), and LQuaternionf::xform().
Referenced by AngularEulerIntegrator().
|
virtual |
Write a string representation of this instance to <out>.
Reimplemented from AngularIntegrator.
Definition at line 159 of file angularEulerIntegrator.cxx.
References write().
Referenced by ~AngularEulerIntegrator().
|
virtual |
Write a string representation of this instance to <out>.
Reimplemented from AngularIntegrator.
Definition at line 172 of file angularEulerIntegrator.cxx.
References AngularIntegrator::write().
Referenced by output().