Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
PhysicsBody::ComponentListener Class ReferenceThis object subscribes to a LinkComponent (usually the root KinematicJoint of a chain) and creates a corresponding PhysicsBodies for it and its children. More...
Inheritance diagram for PhysicsBody::ComponentListener:
Detailed DescriptionThis object subscribes to a LinkComponent (usually the root KinematicJoint of a chain) and creates a corresponding PhysicsBodies for it and its children. When parameters change in the KinematicJoint, the ComponentListener will update fields in the PhysicsBody. This may require rebuilding the chain of inter-body constraints. Definition at line 28 of file PhysicsBody.h.
Constructor & Destructor Documentation
constructor, pass the physics world, source component, a dictionary of actuator positions (from which this joint's target position will be monitored), and the initial location */ Definition at line 31 of file PhysicsBody.h.
destructor
constructor for children attached to this link Definition at line 50 of file PhysicsBody.h. Member Function Documentation
allocates body (to be called if the link has mass and shape, or its children do.
returns the body this link is part of; either body or the first parent who has a non-NULL body (if it hits the root, a body is created!) Referenced by rebuildBody().
returns the ComponentListener for the KinematicJoint; either *this, or the parent.
frees body
returns the PhysicsBody if available, otherwise NULL Definition at line 45 of file PhysicsBody.h.
returns the name of the graphics model in use Definition at line 43 of file PhysicsBody.h.
returns a string identifying the component within a chain
does the setup and initialization Referenced by ComponentListener().
Reimplemented from KinematicJoint::BranchListener.
Reimplemented from KinematicJoint::BranchListener.
Reimplemented from KinematicJoint::BranchListener.
This will be called whenever an entry is replaced, or multiple entries are added/removed at once, such as when an assignment occurs. Reimplemented from plist::CollectionListener.
This will be called whenever an entry is added to the collection. Reimplemented from plist::CollectionListener.
This will be called whenever an entry is added to the collection. Reimplemented from plist::CollectionListener.
called when the body has significantly changed and must rebuild its parameters Definition at line 63 of file PhysicsBody.h.
reinitialize individual field listeners, and those of its subcomponents
Member Data Documentation
Definition at line 86 of file PhysicsBody.h. Referenced by getBody().
Definition at line 84 of file PhysicsBody.h.
Definition at line 85 of file PhysicsBody.h.
Definition at line 88 of file PhysicsBody.h.
Definition at line 93 of file PhysicsBody.h.
Definition at line 91 of file PhysicsBody.h.
Definition at line 90 of file PhysicsBody.h.
Definition at line 89 of file PhysicsBody.h.
Definition at line 79 of file PhysicsBody.h. Referenced by getModel().
Definition at line 92 of file PhysicsBody.h.
Definition at line 81 of file PhysicsBody.h.
Definition at line 80 of file PhysicsBody.h.
Definition at line 82 of file PhysicsBody.h.
Definition at line 78 of file PhysicsBody.h. The documentation for this class was generated from the following file: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:14 2016 by Doxygen 1.6.3 |