Inheritance diagram for I3DShConstraint:

Public Member Functions | |
| virtual int16 MCCOMAPI | GetNbrFreedom () const =0 |
| virtual MCCOMErr MCCOMAPI | IncrementFreedomValue (int16 index, real &increment)=0 |
| virtual MCCOMErr MCCOMAPI | GetMotionLimit (int16 index, ELimitType &limit) const =0 |
| virtual MCCOMErr MCCOMAPI | GetFreedomRange (int16 index, real &min, real &max) const =0 |
| virtual MCCOMErr MCCOMAPI | GetTransform (TTransform3D &transform) const =0 |
| virtual MCCOMErr MCCOMAPI | GetTransformPartialDerivate (int16 index, TTransform3D &transform) const =0 |
| virtual MCCOMErr MCCOMAPI | GetTransformSecondPartialDerivative (int16 index1, int16 index2, TTransform3D &transform) const =0 |
| virtual MCCOMErr MCCOMAPI | SetTransform (TTransform3D &transform)=0 |
| virtual boolean MCCOMAPI | IsTransformResetRequired ()=0 |
| virtual MCCOMErr MCCOMAPI | ResetConstraint ()=0 |
There are two interfaces to access a constraint: The shell interface (I3DShConstraint) and the external interface (I3DExConstraint) . You can get one from the other using QueryInterface.
You should use the Shell interface (I3DShConstraint) to access the component because the Shell will make sure that the parameter map of the external component is valid. This is especially important if the component is animated. For more information on components see the Overview of the SDK.
|
||||||||||||||||
|
Returns the maximum range of increment and decrement for a given degree of freedom.
|
|
||||||||||||
|
Returns the constraint for a given degree of freedom.
|
|
|
Returns the number of degrees of freedom. Because the freedom value can be limited, you have to give the range of values. This range is defined as a range of increment/decrement around the value. |
|
|
Returns the rotation matrix and translation vector due to the freedom values.
|
|
||||||||||||
|
To allow the inverse kinematics mechanism to work with a constraint, implement the GetTransfromPartialDerivate() function. A partial derivative transformation is a transformation where each element is derived by a freedom degree.
|
|
||||||||||||||||
|
Returns the second order partial derivative of the transform. A partial derivative transformation is a transformation where each element is derived by a freedom degree.
|
|
||||||||||||
|
Modify the value of a degree of freedom by adding an increment
|
|
|
Call this after an event in the constraint chooser a reset is required when the constraint has changed in nature or in axis that is when the transform will no longer match the default is return true if you did not handle the change |
|
|
Resets the constraint. (called when IsTransformResetRequired() returns True). |
|
|
Sets the transformation matrix.
|
1.3.9.1