Python API 2.0 Reference: OpenMaya.MVectorArray Class Reference

OpenMaya.MVectorArray Class Reference
+ Inheritance diagram for OpenMaya.MVectorArray:

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
 

Detailed Description

Array of MVector values.

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

 


Constructor & Destructor Documentation

OpenMaya.MVectorArray.__init__ ( )
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Member Function Documentation

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

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

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

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

Property Documentation

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