Manipulator Data.
More...
#include <MManipData.h>
Manipulator Data.
This class encapulates manipulator data which is returned from the manipulator conversion functions. MManipData is used to represent data that is either simple or complex. Simple data is used to represent bool, short, int, unsigned int, float, and double types. Complex data is used to represent MObjects created by MFnData, or classes derived from MFnData.
- Examples:
- componentScaleManip/componentScaleManip.cpp, footPrintManip/footPrintManip.cpp, rotateManip/rotateManip.cpp, surfaceBumpManip/surfaceBumpManip.cpp, and swissArmyManip/swissArmyManip.cpp.
The copy constructor.
- Parameters
-
[in] | other | Object to copy from. |
Constructor for bool types.
- Parameters
-
Constructor for short types.
- Parameters
-
Constructor for int types.
- Parameters
-
Constructor for unsigned int types.
- Parameters
-
Constructor for float types.
- Parameters
-
Constructor for double types.
- Parameters
-
The assignment operator.
- Parameters
-
[in] | other | Object to copy from. |
The assignment operator for bool types.
- Parameters
-
[in] | data | value to copy from. |
The assignment operator for short types.
- Parameters
-
[in] | data | value to copy from. |
The assignment operator for int types.
- Parameters
-
[in] | data | value to copy from. |
The assignment operator for unsigned int types.
- Parameters
-
[in] | data | value to copy from. |
The assignment operator for float types.
- Parameters
-
[in] | data | value to copy from. |
The assignment operator for double types.
- Parameters
-
[in] | data | value to copy from. |
The assignment operator for MObject types created by MFnData, or classes derived from MFnData.
- Parameters
-
[in] | data | value to copy from. |
Returns whether or not the manipulator data is simple or complex.
Simple data is used to represent bool, short, int, unsigned int, float, and double types. Complex data is used to represent MObjects created by MFnData, or classes derived from MFnData.
- Returns
- Whether or not the manipulator data is simple or complex
Returns the manipulator data as a bool.
- Returns
- The data as a bool
Returns the manipulator data as a short.
- Returns
- The data as a short
Returns the manipulator data as a int.
- Returns
- The data as a int
unsigned int asUnsigned |
( |
| ) |
const |
Returns the manipulator data as an unsigned int.
- Returns
- The data as an unsigned int
Returns the manipulator data as a float.
- Returns
- The data as a float
double asDouble |
( |
| ) |
const |
Returns the manipulator data as a double.
- Returns
- The data as a double
Returns the manipulator data as an MObject.
The MObjects returned from this method are created and used by MFnData or classes derived from MFnData.
- Returns
- The data as an MObject
const char * className |
( |
| ) |
|
|
static |
Returns the name of this class.
- Returns
- Name of this class.
The documentation for this class was generated from the following files:
- MManipData.h
- MManipData.cpp