Inverse kinematics (IK) system class.
This class provides an interface to the inverse kinematics (IK) system. The ik system is used to set/query the global snapping flag for handles, set/query the global solve flag for solvers, and to find the ik solvers available in maya.
#include <MIkSystem.h>
Static Public Member Functions |
|
| static MObject | findSolver (MString name, MStatus *ReturnStatus=NULL) |
| Returns the ik solver with the given name.
|
|
| static MStatus | getSolvers (MStringArray &names) |
| Get a list of the names for the solvers that
are available in the system. |
|
| static bool | isGlobalSnap (MStatus *ReturnStatus=NULL) |
| Determines whether global snapping is on.
|
|
| static MStatus | setGlobalSnap (bool isSnap) |
| Turns global snapping on or off. |
|
| static bool | isGlobalSolve (MStatus *ReturnStatus=NULL) |
| Determines whether global solving is on.
|
|
| static MStatus | setGlobalSolve (bool isSnap) |
| Turns global solving on or off. |
|
| static const char * | className () |
| Returns the name of this class. |
|
Returns the ik solver with the given name.
If the solver cannot be found then a a null MObject and an error is returned.
| [in] | name | the name of the solver to find |
| [out] | ReturnStatus | Status Code (see below) |
| MStatus getSolvers | ( | MStringArray & | names | ) | [static] |
Get a list of the names for the solvers that are available in the system.
| [out] | names | storage for the solver names |
| bool isGlobalSnap | ( | MStatus * | ReturnStatus =
NULL |
) | [static] |
Determines whether global snapping is on.
Turning on global snapping will turn on snapping for all ik handles.
| [out] | ReturnStatus | Status Code (see below) |
| MStatus setGlobalSnap | ( | bool | isSnap | ) | [static] |
Turns global snapping on or off.
Turning on global snapping will turn on snapping for all ik handles.
| [in] | isSnap | true turns global snapping on, false turns it off |
| bool isGlobalSolve | ( | MStatus * | ReturnStatus =
NULL |
) | [static] |
Determines whether global solving is on.
| [out] | ReturnStatus | Status Code (see below) |
| MStatus setGlobalSolve | ( | bool | isSolve | ) | [static] |
Turns global solving on or off.
| [in] | isSolve | true turns global solving on, false turns it off |
| const char * className | ( | ) | [static] |