MFnIkEffector Class Reference
[OpenMayaAnim - API module for animationFunctionSet classes]

#include <MFnIkEffector.h>

Inheritance diagram for MFnIkEffector:

Inheritance graph
[legend]
Collaboration diagram for MFnIkEffector:

Collaboration graph
[legend]

List of all members.


Detailed Description

Inverse kinematics end effector function set.

MFnIkEffector is the function set for inverse kinematic end effectors. An end effector is a point on the skeleton, usually the last bone. When an IK system solves, it is trying to calculate the rotations on the joints necessary to get the end effector to the target point.

The methods of the parent class MFnTransform used to position the end effector.

Public Member Functions

virtual MFn::Type type () const
 Function set type.
virtual ~MFnIkEffector ()
 Destructor.
 MFnIkEffector ()
 Default constructor.
 MFnIkEffector (MObject &object, MStatus *ReturnStatus=NULL)
 Constructor.
 MFnIkEffector (const MDagPath &object, MStatus *ret=NULL)
 Constructor.
MObject create (MObject parent=MObject::kNullObj, MStatus *ReturnStatus=NULL)
 MFnIkEffector (const MObject &object, MStatus *ret=NULL)
 Constructor.

Protected Member Functions

virtual const char * className () const
 Class name.


Constructor & Destructor Documentation

MFnIkEffector::~MFnIkEffector (  )  [virtual]

Destructor.

Class destructor.

MFnIkEffector::MFnIkEffector ( MObject object,
MStatus ReturnStatus = NULL 
)

Constructor.

Class constructor that initializes the function set to the given MObject.

Parameters:
[in] object The MObject to attach the function set to
[out] ReturnStatus the return status
Status Codes:

MFnIkEffector::MFnIkEffector ( const MDagPath object,
MStatus ReturnStatus = NULL 
)

Constructor.

Class constructor that initializes the function set to the given constant MDagPath object.

Parameters:
[in] object The const MDagPath to attach the function set to
[out] ReturnStatus The return status
Status Codes:

MFnIkEffector::MFnIkEffector ( const MObject object,
MStatus ReturnStatus = NULL 
)

Constructor.

Class constructor that initializes the function set to the given MObject.

Parameters:
[in] object The MObject to attach the function set to
[out] ReturnStatus the return status
Status Codes:


Member Function Documentation

MFn::Type MFnIkEffector::type (  )  const [virtual]

Function set type.

Return the class type : MFn::kIkEffector

Reimplemented from MFnTransform.

const char * MFnIkEffector::className (  )  const [protected, virtual]

Class name.

Return the class name : "MFnIkEffector"

Reimplemented from MFnTransform.

MObject MFnIkEffector::create ( MObject  parent = MObject::kNullObj,
MStatus ReturnStatus = NULL 
)

Creates a new end effector. For the effector to work properly, it should be given a joint as the parent. It should be given the joint before the last bone.

Parameters:
[in] parent parent DAG node (should be a joint)
[out] ReturnStatus return status
Returns:
A handle to the new object
Status Codes:

Reimplemented from MFnTransform.


Autodesk® Maya® 2009 © 1997-2008 Autodesk, Inc. All rights reserved. Generated with doxygen 1.5.6