OpenMaya.MIntArray Class Reference

Class Description

Array of int values.

The MIntArray class provides an array of integer elements using a common array interface and value semantics. See Working with M*Array Classes for more details.

 


+ Inheritance diagram for OpenMaya.MIntArray:

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.MIntArray.__init__ ( )
x.__init__(...) initializes x; see help(type(x)) for signature

Member Function Documentation

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

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

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

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

Property Documentation

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