OpenMaya.MFnDoubleIndexedComponent Class Reference

OpenMaya.MFnDoubleIndexedComponent Class Reference
+ Related help topics:

Class 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
-   __builtin__.object

Base Class

MFnComponent

 


+ Inheritance diagram for OpenMaya.MFnDoubleIndexedComponent:

Public Member Functions

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

Additional Inherited Members

- Properties inherited from OpenMaya.MFnComponent
 componentType
 
 elementCount
 
 hasWeights
 
 isComplete
 
 isEmpty
 

Constructor & Destructor Documentation

OpenMaya.MFnDoubleIndexedComponent.__init__ ( )
x.__init__(...) initializes x; see help(type(x)) for signature

Member Function Documentation

OpenMaya.MFnDoubleIndexedComponent.addElement ( )
addElement(uIndex, vIndex) -> self
addElement([uIndex, vIndex]) -> self

Adds the element identified by (uIndex, vIndex) to the component.
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.
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.
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.
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.
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.
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).

The documentation for this class was generated from the following file:
  • D:/Maya-MD-Merge/input/python/2.0/OpenMaya.py