#include <MAnimCurveClipboardItem.h>
This class provides a wrapper for a clipboard item. Common convenience functions are available, and the implementation is compatible with the internal Maya implementation so that it can be passed efficiently between plugins and internal maya data structures.
Public Member Functions | |
MAnimCurveClipboardItem () | |
MAnimCurveClipboardItem (const MAnimCurveClipboardItem &r) | |
~MAnimCurveClipboardItem () | |
const MObject | animCurve (MStatus *ReturnStatus=NULL) const |
MStatus | getAddressingInfo (unsigned int &rowCount, unsigned int &childCount, unsigned int &attributeCount) const |
const MString & | fullAttributeName (MStatus *ReturnStatus=NULL) const |
const MString & | leafAttributeName (MStatus *ReturnStatus=NULL) const |
const MString & | nodeName (MStatus *ReturnStatus=NULL) const |
MFnAnimCurve::AnimCurveType | animCurveType (MStatus *ReturnStatus=NULL) const |
MStatus | setAnimCurve (const MObject &curve) |
MStatus | setAddressingInfo (unsigned int rowCount, unsigned int childCount, unsigned int attributeCount) |
MStatus | setNameInfo (const MString &nodeName, const MString &fullName, const MString &leafName) |
MAnimCurveClipboardItem & | operator= (const MAnimCurveClipboardItem &from) |
bool | operator== (const MAnimCurveClipboardItem &rhs) const |
MAnimCurveClipboardItem::MAnimCurveClipboardItem | ( | ) |
Default Constructor.
MAnimCurveClipboardItem::MAnimCurveClipboardItem | ( | const MAnimCurveClipboardItem & | r | ) |
MAnimCurveClipboardItem::~MAnimCurveClipboardItem | ( | ) |
Class Destructor
Returns the animCurve held by this clipboard item as an MObject. Note that the returned MObject is const because you must not modify the animCurve referenced by this MObject.
[out] | ReturnStatus | Status Code (see below) |
MStatus MAnimCurveClipboardItem::getAddressingInfo | ( | unsigned int & | rowCount, | |
unsigned int & | childCount, | |||
unsigned int & | attributeCount | |||
) | const |
Returns the addressing information for this clipboard item,
[out] | rowCount | The clipboard item's row count |
[out] | childCount | The clipboard item's child count |
[out] | attributeCount | The clipboard item's attribute count |
Returns the attribute's full name
[out] | ReturnStatus | Status Code (see below) |
Returns the attribute's leaf name
[out] | ReturnStatus | Status Code (see below) |
Returns the node name
[out] | ReturnStatus | Status Code (see below) |
MFnAnimCurve::AnimCurveType MAnimCurveClipboardItem::animCurveType | ( | MStatus * | ReturnStatus = NULL |
) | const |
Returns the animCurve type
[out] | ReturnStatus | Status Code (see below) |
Sets the clipboard item's animCurve
[in] | curve | The animCurve |
MStatus MAnimCurveClipboardItem::setAddressingInfo | ( | unsigned int | rowCount, | |
unsigned int | childCount, | |||
unsigned int | attributeCount | |||
) |
Sets the clipboard item's addressing info
[in] | rowCount | The clipboard item's row count |
[in] | childCount | The clipboard item's child count |
[in] | attributeCount | The clipboard item's attribute count |
MStatus MAnimCurveClipboardItem::setNameInfo | ( | const MString & | nodeName, | |
const MString & | fullName, | |||
const MString & | leafName | |||
) |
Sets the clipboard item's name info
[in] | nodeName | The clipboard item's node name |
[in] | fullName | The clipboard item's full attribute name |
[in] | leafName | The clipboard item's leaf attribute name |
MAnimCurveClipboardItem & MAnimCurveClipboardItem::operator= | ( | const MAnimCurveClipboardItem & | from | ) |
Operator= overloading.
[in] | from | The MAnimCurveClipboardItem to be copied |
bool MAnimCurveClipboardItem::operator== | ( | const MAnimCurveClipboardItem & | rhs | ) | const |
Compare the individual members for equality.
[in] | rhs | The MAnimCurveClipboardItem to be compared against. |
Autodesk® Maya® 2009 © 1997-2008 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |