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

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 triple indexed
components. Triple indexed components store 3 dimensional index values.

__init__()
Initializes a new, empty MFnTripleIndexedComponent object

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

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

Base Class

MFnComponent

 


Constructor & Destructor Documentation

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

Member Function Documentation

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

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

Adds the specified elements to the component. Each item in the
elements sequence is itself a sequence of three ints which are the
S, T and U indices of an element to be added.
def OpenMaya.MFnTripleIndexedComponent.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.MFnTripleIndexedComponent.getCompleteData ( )
getCompleteData() -> (numS, numT, numU)

Returns a tuple containing the number of S, T and U indices in
the complete component, or (0,0,0) if the component is not complete.
def OpenMaya.MFnTripleIndexedComponent.getElement ( )
getElement(index) -> (sIndex, tIndex, uIndex)

Returns the index'th element of the component as a tuple containing the
element's S, T and U indices.
def OpenMaya.MFnTripleIndexedComponent.getElements ( )
getElements() -> list of (sIndex, tIndex, uIndex)

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

Marks the component as complete (i.e. contains all possible elements).
numS, numT and numU indicate the number of S, T and U indices
in the complete component (i.e. the max S index is numS-1, the max T
index is numT-1 and the max U index is numU-1).