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

Public Member Functions | |
| rdPolynomialSetPoint (int aBodyA=0, int aBodyB=0) | |
| Default constructor. | |
| rdPolynomialSetPoint (IDOM_Element *aElement) | |
| Construct an actuator from an XML element. | |
| rdPolynomialSetPoint (const rdPolynomialSetPoint &aContact) | |
| Copy constructor. | |
| virtual | ~rdPolynomialSetPoint () |
| Destructor. | |
| virtual rdActuator * | copy () const |
| Copy this actuator and return a pointer to the copy. | |
| virtual rdActuator * | copy (IDOM_Element *aElement) const |
| Copy this actuator and modify the copy so that it is consistent with a specified XML element node. | |
| rdPolynomialSetPoint & | operator= (const rdPolynomialSetPoint &aActuator) |
| Assignment operator. | |
| void | setNormalStiffnessConstant (double aKNP) |
| Set normal stiffness. | |
| double | getNormalStiffnessConstant () const |
| Get normal stiffness. | |
| void | setNormalViscosityConstant (double aKNV) |
| Set normal viscosity. | |
| double | getNormalViscosityConstant () const |
| Get normal viscosity. | |
| void | setStiffnessPower (double aPower) |
| Set the power to which the normal displacement of the spring is raised. | |
| double | getStiffnessPower () const |
| Get the power to which the normal displacement of the spring is raised. | |
| void | setViscosityPower (double aPower) |
| Set the power to which the normal velocity of the spring is raised. | |
| double | getViscosityPower () const |
| Get the power to which the normal velocity of the spring is raised. | |
| virtual void | computeActuation () |
| Compute all quantities necessary for applying the actuator force to the model. | |
| virtual bool | check () const |
| Check that this force actuator has a valid set of states. | |
| 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. | |
Static Public Attributes | |
| const char | PROP_NORMAL_STIFFNESS [] = "normal_stiffness" |
| const char | PROP_NORMAL_VISCOSITY [] = "normal_viscosity" |
| const char | PROP_STIFFNESS_POWER [] = "stiffness_power" |
| const char | PROP_VISCOSITY_POWER [] = "viscosity_power" |
Protected Attributes | |
| double | _kNP |
| Normal stiffness constant. | |
| double | _kNV |
| Normal viscosity constant. | |
| double | _powNP |
| Stiffness power- power to which normal spring displacement is raised. | |
| double | _powNV |
| Viscosity power- power to which normal spring velocity is raised. | |
Private Member Functions | |
| void | setNull () |
| Set the data members of this actuator to their null values. | |
|
|
Construct an actuator from an XML element.
|
|
|
Copy constructor.
|
|
|
Copy this actuator and modify the copy so that it is consistent with a specified XML element node. The copy is constructed by first using rdForce::rdForce(IDOM_Element*,int,int) 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 rdForce object. Finally, the data members of the copy are updated using rdForce::updateObject().
Reimplemented from rdForce. |
|
|
Copy this actuator and return a pointer to the copy. The copy constructor for this class is used.
Reimplemented from rdForce. |
|
|
Generate an XML node representing this object.
Reimplemented from rdSetPoint. |
|
|
Get normal stiffness.
|
|
|
Get normal viscosity.
|
|
|
Get the power to which the normal displacement of the spring is raised.
|
|
|
Get the power to which the normal velocity of the spring is raised.
|
|
|
Assignment operator.
|
|
|
Set normal stiffness.
|
|
|
Set normal viscosity.
|
|
|
Set the power to which the normal displacement of the spring is raised.
|
|
|
Set the power to which the normal velocity of the spring is raised.
|
|
|
Update the member data of this object based on its XML node. Member objects (children) are not updated. Reimplemented from rdSetPoint. |
|
|
Update the XML node representing this object.
Reimplemented from rdSetPoint. |
|
|
Update this object based on its XML node.
Reimplemented from rdSetPoint. |
|
|
Normal stiffness constant. This constant needs to be different than variable in base class. The base class variable is the instantaneous stiffness. |
|
|
Normal viscosity constant. This constant needs to be different than variable in base class. The base class variable is the instantaneous viscosity. |
|
|
Stiffness power- power to which normal spring displacement is raised. The power is 1.0 by default. |
|
|
Viscosity power- power to which normal spring velocity is raised. The power is 1.0 by default. |
1.3