#include <suTrackJoint.h>
Inheritance diagram for suTrackJoint:

Public Member Functions | |
| suTrackJoint (int aQID=-1) | |
| Construct a track joint object for a specified model and generalized coordinate. | |
| suTrackJoint (IDOM_Element *aElement) | |
| Construct a track joint object for a specified model from an XML element. | |
| suTrackJoint (const suTrackJoint &aTrackJoint) | |
| Copy constructor. | |
| virtual | ~suTrackJoint () |
| Destructor. | |
| virtual suTrackObject * | copy () const |
| Copy this track object and return a pointer to the copy. | |
| virtual suTrackObject * | copy (IDOM_Element *aElement) const |
| Copy this track object and modify the copy so that it is consistent with a specified XML element node. | |
| suTrackJoint & | operator= (const suTrackJoint &aTrackJoint) |
| Assignment operator. | |
| void | setQID (int aQID) |
| Set the generalized coordinate that is to be tracked. | |
| int | getQID () const |
| Get the generalized coordinate that is to be tracked. | |
| virtual void | computeErrors (double aT) |
| Compute the position and velocity errors. | |
| virtual void | computeDesiredAccelerations (double aT) |
| Compute the desired accelerations. | |
| virtual void | computeAccelerations () |
| Compute the acceleration of the appropriate generalized coordinate. | |
| virtual void | updateObject (bool aDeep=true) |
| Update this object based on its XML node. | |
| virtual void | updateNode (bool aDeep=true) |
| Update the XML node representing this object. | |
| virtual void | generateNode (IDOM_Element *aParent) |
| Generate an XML node representing this object. | |
| void | updateData () |
| Update the member data of this object based on its XML node. | |
Protected Attributes | |
| int | _qid |
| Generalized coordinate to be tracked. | |
Private Member Functions | |
| void | setNull () |
| Set NULL values for all member variables. | |
| void | copyData (const suTrackJoint &aTrackJoint) |
| Copy the member data for this class only. | |
Static Private Attributes | |
| const char | PROP_QID [] = "qid" |
|
|
Construct a track joint object for a specified model and generalized coordinate.
|
|
|
Construct a track joint object for a specified model from an XML element.
|
|
|
Copy constructor.
|
|
|
Compute the acceleration of the appropriate generalized coordinate. For the computed accelerations to be correct, rdModel::computeAccelerations() must have already been called. For joints (i.e., generalized coordinates), the acceleration is not computed. It has already been computed and is simply retrieved from the model.
Implements suTrackObject. |
|
|
Compute the desired accelerations. This method assumes that the states have been set for the model.
Implements suTrackObject. |
|
|
Compute the position and velocity errors. This method assumes the states have been set for the model.
Implements suTrackObject. |
|
|
Copy this track object and modify the copy so that it is consistent with a specified XML element node. The copy is constructed by first using the contructor for the IDOM_Element in order to establish the relationship of the rdForce object with the XML node. Then, the assignment operator is used to set all data members of the copy to the values of this object. Finally, the data members of the copy are updated from the IDOM_Elment using updateObject().
Implements suTrackObject. |
|
|
Copy this track object and return a pointer to the copy. The copy constructor for this class is used.
Implements suTrackObject. |
|
|
Generate an XML node representing this object.
Reimplemented from suTrackObject. |
|
|
Get the generalized coordinate that is to be tracked.
|
|
|
Assignment operator.
|
|
|
Set the generalized coordinate that is to be tracked.
|
|
|
Update the member data of this object based on its XML node. Member objects (children) are not updated. Reimplemented from suTrackObject. |
|
|
Update the XML node representing this object.
Reimplemented from suTrackObject. |
|
|
Update this object based on its XML node.
Reimplemented from suTrackObject. |
1.3