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

#include <MFnHikEffector.h>
Inheritance diagram for MFnHikEffector:
Inheritance graph
[legend]
Collaboration diagram for MFnHikEffector:
Collaboration graph
[legend]

List of all members.


Detailed Description

Full Body IK end effector function set.

MFnHikEffector is the function set for full body ik effectors. An Full Body IK (FBIK/HIK) effector is a special transform that allows users to manipulate a Full Body IK system.

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  ~MFnHikEffector ()
  Destructor.
  MFnHikEffector ()
  Default constructor.
  MFnHikEffector (MObject &object, MStatus *ReturnStatus=NULL)
  Constructor.
  MFnHikEffector (const MDagPath &object, MStatus *ret=NULL)
  Constructor.
MObject  create (MObject parent=MObject::kNullObj, MStatus *ReturnStatus=NULL)
MVector  getPivotOffset (MStatus *ReturnStatus=NULL) const
MStatus  setPivotOffset (const MVector &vector)
MColor  getEffColor (MStatus *ReturnStatus=NULL) const
MStatus  setEffColor (const MColor &color)
MStatus  getAuxiliaryEffectors (MObjectArray &effs) const
  MFnHikEffector (const MObject &object, MStatus *ret=NULL)
  Constructor.

Protected Member Functions

virtual const char *  className () const
  Class name.

Constructor & Destructor Documentation

MFnHikEffector::~MFnHikEffector (  )  [virtual]

Destructor.

Class destructor.

MFnHikEffector::MFnHikEffector ( 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:

MFnHikEffector::MFnHikEffector ( 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:

MFnHikEffector::MFnHikEffector ( 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 MFnHikEffector::type (  )  const [virtual]

Function set type.

Return the class type : MFn::kHikEffector

Reimplemented from MFnTransform.

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

Class name.

Return the class name : "MFnHikEffector"

Reimplemented from MFnTransform.

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

Creates a new fbik effector.

Parameters:
[in]  parent  parent DAG node (usually none)
[out]  ReturnStatus  return status
Returns:
A handle to the new object
Status Codes:

Reimplemented from MFnTransform.

MVector MFnHikEffector::getPivotOffset ( MStatus ReturnStatus = NULL  )  const

Retrieve the pivot offset of this effector.

Parameters:
[out]  ReturnStatus  return status
Returns:
Pivot offset vector.
Status Codes:

MStatus MFnHikEffector::setPivotOffset ( const MVector vector  ) 

Set the pivot offset for this effector.

Parameters:
[in]  vector  the new pivot offset
Returns:
Status code
Status Codes:

MColor MFnHikEffector::getEffColor ( MStatus ReturnStatus = NULL  )  const

Retrieve the cached humanIK color of this effector.

Parameters:
[out]  ReturnStatus  return status
Returns:
Pivot offset vector.
Status Codes:

MStatus MFnHikEffector::setEffColor ( const MColor color  ) 

Set the humanIK color for this effector.

Parameters:
[in]  color  the new color
Returns:
Status code
Status Codes:

MStatus MFnHikEffector::getAuxiliaryEffectors ( MObjectArray effs  )  const

Returns an array of the auxiliary effectors associated with this effector. Auxiliary effectors are used by humanIK to act as additional pivots.

Parameters:
[out]  effs  the auxiliary effectors for this effector
Returns:
Status code
Status Codes:

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