Wrapper for a clipboard item.
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.
#include <MAnimCurveClipboardItem.h>
Public Member Functions |
|
MAnimCurveClipboardItem () | |
Default Constructor. |
|
MAnimCurveClipboardItem (const MAnimCurveClipboardItem &r) | |
Copy Constructor. |
|
~MAnimCurveClipboardItem () | |
Class Destructor. |
|
const MObject | animCurve (MStatus *ReturnStatus=NULL) const |
Returns the animCurve held by this clipboard
item as an MObject.
|
|
MStatus | getAddressingInfo (unsigned int &rowCount, unsigned int &childCount, unsigned int &attributeCount) const |
Returns the addressing information for this
clipboard item,. |
|
const MString & | fullAttributeName (MStatus *ReturnStatus=NULL) const |
Returns the attribute's full name. |
|
const MString & | leafAttributeName (MStatus *ReturnStatus=NULL) const |
Returns the attribute's leaf name. |
|
const MString & | nodeName (MStatus *ReturnStatus=NULL) const |
Returns the node name. |
|
MFnAnimCurve::AnimCurveType | animCurveType (MStatus *ReturnStatus=NULL) const |
Returns the animCurve type. |
|
MStatus | setAnimCurve (const MObject &curve) |
Sets the clipboard item's animCurve.
|
|
MStatus | setAddressingInfo (unsigned int rowCount, unsigned int childCount, unsigned int attributeCount) |
Sets the clipboard item's addressing info.
|
|
MStatus | setNameInfo (const MString &nodeName, const MString &fullName, const MString &leafName) |
Sets the clipboard item's name info.
|
|
MAnimCurveClipboardItem & | operator= (const MAnimCurveClipboardItem &from) |
Operator= overloading. |
|
bool | operator== (const MAnimCurveClipboardItem &rhs) const |
Compare the individual members for equality.
|
|
Static Public Member Functions |
|
static const char * | className () |
Returns the name of this class. |
MAnimCurveClipboardItem | ( | const MAnimCurveClipboardItem & | r | ) |
Copy Constructor.
[in] | r | MAnimCurveClipboardItem to copy from. |
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 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 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 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 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 & operator= | ( | const MAnimCurveClipboardItem & | from | ) |
Operator= overloading.
[in] | from | The MAnimCurveClipboardItem to be copied |
bool operator== | ( | const MAnimCurveClipboardItem & | rhs | ) | const |
Compare the individual members for equality.
[in] | rhs | The MAnimCurveClipboardItem to be compared against. |
const char * className | ( | ) | [static] |