#include <MIkHandleGroup.h>
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.
Public Member Functions | |
MIkHandleGroup () | |
~MIkHandleGroup () | |
int | priority (MStatus *ReturnStatus=NULL) const |
int | solverID (MStatus *ReturnStatus=NULL) const |
int | solverPriority (MStatus *ReturnStatus=NULL) const |
MStatus | setPriority (int) |
MStatus | setSolverID (int) |
bool | checkEffectorAtGoal (MStatus *ReturnStatus=NULL) |
MStatus | solve () |
int | dofCount (MStatus *ReturnStatus=NULL) const |
int | handleCount (MStatus *ReturnStatus=NULL) const |
MObject | handle (int ith, MStatus *ReturnStatus=NULL) |
Friends | |
class | MPxIkSolver |
class | MPxIkSolverNode |
MIkHandleGroup::MIkHandleGroup | ( | ) |
Default constructor. The instance is set to contain no groups.
MIkHandleGroup::~MIkHandleGroup | ( | ) |
The class destructor.
int MIkHandleGroup::priority | ( | MStatus * | ReturnStatus = NULL |
) | const |
Return the priority value of this handle group.
[out] | ReturnStatus | Status code |
int MIkHandleGroup::solverID | ( | MStatus * | ReturnStatus = NULL |
) | const |
Return the solver id used by this handle group.
[out] | ReturnStatus | Status code |
int MIkHandleGroup::solverPriority | ( | MStatus * | ReturnStatus = NULL |
) | const |
return the priority of the solver used by this handle group.
[out] | ReturnStatus | Status code |
MStatus MIkHandleGroup::setPriority | ( | int | priority | ) |
Set the priority of this handle group.
[in] | priority | the priority value to set |
MStatus MIkHandleGroup::setSolverID | ( | int | id | ) |
Set the solver id for this handle group.
[in] | id | the id value to set |
bool MIkHandleGroup::checkEffectorAtGoal | ( | MStatus * | ReturnStatus = NULL |
) |
Determines whether the end-effector at the handle(goal) location.
[out] | ReturnStatus | Status code |
MStatus MIkHandleGroup::solve | ( | ) |
Do all ik solving steps for this group.
int MIkHandleGroup::dofCount | ( | MStatus * | ReturnStatus = NULL |
) | const |
Return the total number of degrees of freedom of this handle group.
[out] | ReturnStatus | Status code |
int MIkHandleGroup::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 |
Autodesk® Maya® 2009 © 1997-2008 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |