OpenMaya.MFloatArray Class Reference

Class Description

Array of float values.

The MFloatArray class provides an array of single-precision Float elements using a common array interface and value semantics. See Working with M*Array Classes for more details.

 


+ Inheritance diagram for OpenMaya.MFloatArray:

Public Member Functions

__add__ ()
 
__contains__ ()
 
__delitem__ ()
 
__delslice__ ()
 
__getitem__ ()
 
__getslice__ ()
 
__iadd__ ()
 
__imul__ ()
 
__init__ ()
 
__len__ ()
 
__mul__ ()
 
__repr__ ()
 
__rmul__ ()
 
__setitem__ ()
 
__setslice__ ()
 
__str__ ()
 
append ()
 
clear ()
 
copy ()
 
insert ()
 
remove ()
 
setLength ()
 

Properties

 sizeIncrement
 

Constructor & Destructor Documentation

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

Member Function Documentation

OpenMaya.MFloatArray.__add__ ( )
x.__add__(y) <==> x+y
OpenMaya.MFloatArray.__contains__ ( )
x.__contains__(y) <==> y in x
OpenMaya.MFloatArray.__delitem__ ( )
x.__delitem__(y) <==> del x[y]
OpenMaya.MFloatArray.__delslice__ ( )
x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.
OpenMaya.MFloatArray.__getitem__ ( )
x.__getitem__(y) <==> x[y]
OpenMaya.MFloatArray.__getslice__ ( )
x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.
OpenMaya.MFloatArray.__iadd__ ( )
x.__iadd__(y) <==> x+=y
OpenMaya.MFloatArray.__imul__ ( )
x.__imul__(y) <==> x*=y
OpenMaya.MFloatArray.__len__ ( )
x.__len__() <==> len(x)
OpenMaya.MFloatArray.__mul__ ( )
x.__mul__(n) <==> x*n
OpenMaya.MFloatArray.__repr__ ( )
x.__repr__() <==> repr(x)
OpenMaya.MFloatArray.__rmul__ ( )
x.__rmul__(n) <==> n*x
OpenMaya.MFloatArray.__setitem__ ( )
x.__setitem__(i, y) <==> x[i]=y
OpenMaya.MFloatArray.__setslice__ ( )
x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.
OpenMaya.MFloatArray.__str__ ( )
x.__str__() <==> str(x)
OpenMaya.MFloatArray.append ( )
Add a value to the end of the array.
OpenMaya.MFloatArray.clear ( )
Remove all elements from the array.
OpenMaya.MFloatArray.copy ( )
Replace the array contents with that of another or of a compatible Python sequence.
OpenMaya.MFloatArray.insert ( )
Insert a new value into the array at the given index.
OpenMaya.MFloatArray.remove ( )
Remove an element from the array.
OpenMaya.MFloatArray.setLength ( )
Grow or shrink the array to contain a specific number of elements.

Property Documentation

OpenMaya.MFloatArray.sizeIncrement
static
 Number of elements by which to grow the array when necessary.