Single indexed component function set.
This function set allows you to create, edit, and query single indexed components. Single indexed components store 1 dimensional index values.
- AbcExport/MayaMeshWriter.cpp, AbcImport/CreateSceneHelper.cpp, apiMeshShape/apiMeshData.cpp, apiMeshShape/apiMeshGeometryOverride.cpp, apiMeshShape/apiMeshShape.cpp, apiMeshShape/apiMeshShapeUI.cpp, apiMeshShape/apiMeshSubSceneOverride.cpp, gpuCache/CacheWriter.cpp, grabUVMain.cpp, listRichSelectionCmd/listRichSelectionCmd.cpp, meshOpCmd/meshOpCmd.cpp, meshOpCmd/meshOpNode.cpp, OpenGLViewportRenderer/OpenGLViewportRenderer.cpp, paintCallback/paintCallback.cpp, splitUVCmd/splitUVCmd.cpp, and splitUVCmd/splitUVNode.cpp.
|
virtual MFn::Type | type () const |
| Function set type. More...
|
|
virtual | ~MFnSingleIndexedComponent () |
| Destructor.
|
|
| MFnSingleIndexedComponent () |
| Default constructor.
|
|
| MFnSingleIndexedComponent (MObject &object, MStatus *ReturnStatus=NULL) |
| Constructor. More...
|
|
MObject | create (MFn::Type compType, MStatus *ReturnStatus=NULL) |
| Create a single indexed component of the given type. More...
|
|
MStatus | addElement (int element) |
| Add the specified element to the component. More...
|
|
MStatus | addElements (MIntArray &elements) |
| Add the specified elements to the component. More...
|
|
int | elementMax (MStatus *ReturnStatus=NULL) const |
| Returns the biggest element, plus 1, from the component. More...
|
|
int | element (int index, MStatus *ReturnStatus=NULL) const |
| Returns the specified element from the component. More...
|
|
MStatus | getElements (MIntArray &elements) const |
| Get all of the element indices from the component. More...
|
|
MStatus | setCompleteData (int numElements) |
| Marks the component as complete (meaning all items are selected) and uses the argument to identify the total number of elements selected. More...
|
|
MStatus | getCompleteData (int &numElements) const |
| Returns the number of elements for the complete component. More...
|
|
| MFnSingleIndexedComponent (const MObject &object, MStatus *ReturnStatus=NULL) |
| Constructor. More...
|
|
virtual | ~MFnComponent () |
| Destructor.
|
|
| MFnComponent (MObject &object, MStatus *ReturnStatus=NULL) |
| Constructor. More...
|
|
| MFnComponent () |
| Default class constructor.
|
|
int | elementCount (MStatus *ReturnStatus=NULL) const |
| Returns the number of elements that this component contains. More...
|
|
MFn::Type | componentType (MStatus *ReturnStatus=NULL) const |
| Returns the MFn type of the component. More...
|
|
bool | isEmpty (MStatus *ReturnStatus=NULL) const |
| Determines if this component is empty, i.e. More...
|
|
bool | isEqual (MObject &, MStatus *ReturnStatus=NULL) const |
| Compares this component with the given component. More...
|
|
bool | isComplete (MStatus *ReturnStatus=NULL) const |
| Returns the complete state of the component. More...
|
|
MStatus | setComplete (bool) |
| Sets the complete state of the component. More...
|
|
bool | hasWeights () const |
| Query this component for the existance of attached weight data. More...
|
|
MWeight | weight (int index, MStatus *ReturnStatus=NULL) const |
| Return the weight data for a given element within this component. More...
|
|
MStatus | setWeight (int index, const MWeight &weight) |
| Set the weight data for a given element within this component. More...
|
|
MStatus | setWeights (const MWeight &weight) |
| Set the weight data for all elements within this component. More...
|
|
| MFnComponent (const MObject &object, MStatus *ReturnStatus=NULL) |
| Constructor. More...
|
|
MFn::Type | type (MStatus *ReturnStatus=NULL) |
| Obsolete & no script support. More...
|
|
virtual | ~MFnBase () |
| Class Destructor. More...
|
|
bool | hasObj (MFn::Type) const |
| Determines whether or not the Function Set is compatible with the specified Maya Object within the API RTTI system. More...
|
|
bool | hasObj (const MObject &) const |
| Determines whether or not the Function Set is compatible with the specified Maya Object within the API RTTI system. More...
|
|
MObject | object (MStatus *ReturnStatus=NULL) const |
| Returns the MObject that is attached to the Function Set. More...
|
|
virtual MStatus | setObject (MObject &object) |
| Attaches the Function Set to the specified Maya Object. More...
|
|
virtual MStatus | setObject (const MObject &object) |
| NO SCRIPT SUPPORT. More...
|
|