Function set for inverse kinematics (IK) solvers.
This is the function set for inverse kinematics (IK) solvers. This function set is used for setting and querying attached ik solvers.
#include <MFnIkSolver.h>
Public Member Functions |
|
virtual MFn::Type | type () const |
Function set type. |
|
virtual | ~MFnIkSolver () |
Destructor. |
|
MFnIkSolver () | |
Default constructor. |
|
MFnIkSolver (MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. |
|
unsigned int | maxIterations (MStatus *ReturnStatus=NULL) |
Returns the maximum number of iterations
used when solving. |
|
MStatus | setMaxIterations (unsigned int maxIters) |
Sets the maximum number of iterations used
when solving. |
|
double | tolerance (MStatus *ReturnStatus=NULL) |
Returns the tolerance used when solving.
|
|
MStatus | setTolerance (double tolerance) |
Sets the tolerance used when solving.
|
|
MFnIkSolver (const MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. |
|
Protected Member Functions |
|
virtual const char * | className () const |
Class name. |
MFnIkSolver | ( | MObject & | object, |
MStatus * | ReturnStatus =
NULL |
||
) |
Constructor.
Class constructor that initializes the function set to the given MObject.
[in] | object | The MObject to attach the function set to |
[out] | ReturnStatus | the return status |
MFnIkSolver | ( | const MObject & | object, |
MStatus * | ReturnStatus =
NULL |
||
) |
Constructor.
Class constructor that initializes the function set to the given MObject.
[in] | object | The MObject to attach the function set to |
[out] | ReturnStatus | the return status |
MFn::Type type | ( | ) | const [virtual] |
const char * className | ( | ) | const [protected, virtual] |
unsigned int maxIterations | ( | MStatus * | ReturnStatus =
NULL |
) |
Returns the maximum number of iterations used when solving.
[out] | ReturnStatus | Status Code (see below) |
MStatus setMaxIterations | ( | unsigned int | maxIters | ) |
Sets the maximum number of iterations used when solving.
[in] | maxIters | the new value for the maximum number of iterations for the solver |
double tolerance | ( | MStatus * | ReturnStatus =
NULL |
) |
Returns the tolerance used when solving.
[out] | ReturnStatus | Status Code (see below) |
MStatus setTolerance | ( | double | tolerance | ) |
Sets the tolerance used when solving.
[in] | tolerance | The tolerance value to be set |