Python API 2.0 Reference
OpenMaya.MFnDoubleIndexedComponent Class Reference
+ Inheritance diagram for OpenMaya.MFnDoubleIndexedComponent:

Public Member Functions

def __init__ ()
 
def addElement ()
 
def addElements ()
 
def create ()
 
def getCompleteData ()
 
def getElement ()
 
def getElements ()
 
def setCompleteData ()
 
- Public Member Functions inherited from OpenMaya.MFnComponent
def __init__ ()
 
def isEqual ()
 
def weight ()
 
- Public Member Functions inherited from OpenMaya.MFnBase
def __init__ ()
 
def hasObj ()
 
def object ()
 
def setObject ()
 
def type ()
 

Static Public Member Functions

def __new__ ()
 
- Static Public Member Functions inherited from OpenMaya.MFnComponent
def __new__ ()
 
- Static Public Member Functions inherited from OpenMaya.MFnBase
def __new__ ()
 

Additional Inherited Members

- Properties inherited from OpenMaya.MFnComponent
 componentType = property(...)
 
 elementCount = property(...)
 
 hasWeights = property(...)
 
 isComplete = property(...)
 
 isEmpty = property(...)
 

Detailed Description

This function set allows you to create, edit, and query double indexed
components. Double indexed components store 2 dimensional index values.

__init__()
Initializes a new, empty MFnDoubleIndexedComponent object

__init__(MObject component)
Initializes a new MFnDoubleIndexedComponent function set, attached
to the specified component.

Method resolution order:
-   MFnDoubleIndexedComponent
-   MFnComponent
-   MFnBase
-   builtins.object

Base Class

MFnComponent

 


Constructor & Destructor Documentation

def OpenMaya.MFnDoubleIndexedComponent.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

def OpenMaya.MFnDoubleIndexedComponent.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
def OpenMaya.MFnDoubleIndexedComponent.addElement ( )
addElement(uIndex, vIndex) -> self
addElement([uIndex, vIndex]) -> self

Adds the element identified by (uIndex, vIndex) to the component.
def OpenMaya.MFnDoubleIndexedComponent.addElements ( )
addElements(sequence of [uIndex, vIndex]) -> self

Adds the specified elements to the component. Each item in the
elements sequence is itself a sequence of two ints which are the U and
V indices of an element to be added.
def OpenMaya.MFnDoubleIndexedComponent.create ( )
create(MFn Type constant) -> MObject

Creates a new, empty component, attaches it to the function set and
returns an MObject which references it.
def OpenMaya.MFnDoubleIndexedComponent.getCompleteData ( )
getCompleteData() -> (numU, numV)

Returns a tuple containing the number of U and V indices in the complete
component, or (0,0) if the component is not complete.
def OpenMaya.MFnDoubleIndexedComponent.getElement ( )
getElement(index) -> (uIndex, vIndex)

Returns the index'th element of the component as a tuple containing the
element's U and V indices.
def OpenMaya.MFnDoubleIndexedComponent.getElements ( )
getElements() -> list of (uIndex, vIndex)

Returns all of the component's elements as a list of tuples with each
tuple containing the U and V indices of a single element.
def OpenMaya.MFnDoubleIndexedComponent.setCompleteData ( )
setCompleteData(numU, numV) -> self

Marks the component as complete (i.e. contains all possible elements).
numU and numV indicate the number of U and V indices in the complete
component (i.e. the max U index is numU-1 and the max V index is numV-1).