IK handle groups.
Group class for ik handles. Each group has an associated solver and priority. A single chain solver handle group has only one handle in its group.
#include <MIkHandleGroup.h>
Public Member Functions |
|
| MIkHandleGroup () | |
| Default constructor. |
|
| ~MIkHandleGroup () | |
| The class destructor. |
|
| int | priority (MStatus *ReturnStatus=NULL) const |
| Return the priority value of this handle
group. |
|
| int | solverID (MStatus *ReturnStatus=NULL) const |
| Return the solver id used by this handle
group. |
|
| int | solverPriority (MStatus *ReturnStatus=NULL) const |
| return the priority of the solver used by
this handle group. |
|
| MStatus | setPriority (int) |
| Set the priority of this handle group.
|
|
| MStatus | setSolverID (int) |
| Set the solver id for this handle group.
|
|
| bool | checkEffectorAtGoal (MStatus *ReturnStatus=NULL) |
| Determines whether the end-effector at the
handle(goal) location. |
|
| MStatus | solve () |
| Do all ik solving steps for this group.
|
|
| int | dofCount (MStatus *ReturnStatus=NULL) const |
| Return the total number of degrees of
freedom of this handle group. |
|
| int | handleCount (MStatus *ReturnStatus=NULL) const |
| Return the number of handles in the handle
list for this group. |
|
| MObject | handle (int ith, MStatus *ReturnStatus=NULL) |
| Return the ith handle in the handle list for
this group. |
|
Static Public Member Functions |
|
| static const char * | className () |
| Returns the name of this class. |
|
Friends |
|
| class | MPxIkSolver |
| class | MPxIkSolverNode |
| MIkHandleGroup | ( | ) |
Default constructor.
The instance is set to contain no groups.
| int priority | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Return the priority value of this handle group.
| [out] | ReturnStatus | Status code |
| int solverID | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Return the solver id used by this handle group.
| [out] | ReturnStatus | Status code |
| int solverPriority | ( | MStatus * | ReturnStatus =
NULL |
) | const |
return the priority of the solver used by this handle group.
| [out] | ReturnStatus | Status code |
| MStatus setPriority | ( | int | priority | ) |
Set the priority of this handle group.
| [in] | priority | the priority value to set |
| MStatus setSolverID | ( | int | id | ) |
Set the solver id for this handle group.
| [in] | id | the id value to set |
| bool checkEffectorAtGoal | ( | MStatus * | ReturnStatus =
NULL |
) |
Determines whether the end-effector at the handle(goal) location.
| [out] | ReturnStatus | Status code |
| MStatus solve | ( | ) |
Do all ik solving steps for this group.
| int dofCount | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Return the total number of degrees of freedom of this handle group.
| [out] | ReturnStatus | Status code |
| int handleCount | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Return the number of handles in the handle list for this group.
| [out] | ReturnStatus | Status code |
Return the ith handle in the handle list for this group.
| [in] | ith | the index of the handle |
| [out] | ReturnStatus | Status code |
| const char * className | ( | ) | [static] |