Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstVector_ObjId_VoxelId | |
| typing | _offsetof_vec = 0 |
Generated from: MR::Vector<MR::ObjId, MR::VoxelId> Vector<T> is indexed by size_t
|
static |
| None mrmeshpy.Vector_ObjId_VoxelId.__init__ | ( | self | ) |
creates empty vector
| None mrmeshpy.Vector_ObjId_VoxelId.__init__ | ( | self, | |
| int | size ) |
creates a vector with \\p size elements with default value
| None mrmeshpy.Vector_ObjId_VoxelId.__init__ | ( | self, | |
| int | size, | ||
| ConstObjId | val ) |
creates a vector with \\p size elements with the given value
| None mrmeshpy.Vector_ObjId_VoxelId.__init__ | ( | self, | |
| list | arg0 ) |
| None mrmeshpy.Vector_ObjId_VoxelId.__init__ | ( | self, | |
| ConstVector_ObjId_VoxelId | arg0 ) |
Implicit copy constructor.
| ConstObjId mrmeshpy.Vector_ObjId_VoxelId.__getitem__ | ( | ConstVector_ObjId_VoxelId | self, |
| ConstVoxelId | i ) |
| ObjId mrmeshpy.Vector_ObjId_VoxelId.__getitem__ | ( | self, | |
| ConstVoxelId | i ) |
| typing.Iterator[ObjId] mrmeshpy.Vector_ObjId_VoxelId.__iter__ | ( | ConstVector_ObjId_VoxelId | self | ) |
| typing.Iterator[ObjId] mrmeshpy.Vector_ObjId_VoxelId.__iter__ | ( | self | ) |
| None mrmeshpy.Vector_ObjId_VoxelId.__setitem__ | ( | self, | |
| ConstVoxelId | arg0, | ||
| ConstObjId | arg1 ) |
| Vector_ObjId_VoxelId mrmeshpy.Vector_ObjId_VoxelId.assign | ( | self, | |
| ConstVector_ObjId_VoxelId | other ) |
| None mrmeshpy.Vector_ObjId_VoxelId.assign | ( | self, | |
| int | count, | ||
| ConstObjId | val ) |
replaces the contents with \\p count copies of \\p val
| ObjId mrmeshpy.Vector_ObjId_VoxelId.autoResizeAt | ( | self, | |
| ConstVoxelId | i ) |
this accessor automatically adjusts the size of the vector
| None mrmeshpy.Vector_ObjId_VoxelId.autoResizeSet | ( | self, | |
| ConstVoxelId | i, | ||
| ConstObjId | val ) |
sets the element i to the given value, adjusting the size of the vector to include new element
| None mrmeshpy.Vector_ObjId_VoxelId.autoResizeSet | ( | self, | |
| ConstVoxelId | pos, | ||
| int | len, | ||
| ConstObjId | val ) |
sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements; the elements in between old size and \\p pos are also set to \\p val (for faster implementation)
| ConstObjId mrmeshpy.Vector_ObjId_VoxelId.back | ( | ConstVector_ObjId_VoxelId | self | ) |
Reimplemented from mrmeshpy.ConstVector_ObjId_VoxelId.
| ObjId mrmeshpy.Vector_ObjId_VoxelId.back | ( | self | ) |
Reimplemented from mrmeshpy.ConstVector_ObjId_VoxelId.
| None mrmeshpy.Vector_ObjId_VoxelId.clear | ( | self | ) |
| ConstObjId mrmeshpy.Vector_ObjId_VoxelId.data | ( | ConstVector_ObjId_VoxelId | self | ) |
Reimplemented from mrmeshpy.ConstVector_ObjId_VoxelId.
| ObjId mrmeshpy.Vector_ObjId_VoxelId.data | ( | self | ) |
Reimplemented from mrmeshpy.ConstVector_ObjId_VoxelId.
| ConstObjId mrmeshpy.Vector_ObjId_VoxelId.front | ( | ConstVector_ObjId_VoxelId | self | ) |
Reimplemented from mrmeshpy.ConstVector_ObjId_VoxelId.
| ObjId mrmeshpy.Vector_ObjId_VoxelId.front | ( | self | ) |
Reimplemented from mrmeshpy.ConstVector_ObjId_VoxelId.
| None mrmeshpy.Vector_ObjId_VoxelId.pop_back | ( | self | ) |
| None mrmeshpy.Vector_ObjId_VoxelId.push_back | ( | self, | |
| ConstObjId | t ) |
| None mrmeshpy.Vector_ObjId_VoxelId.push_back | ( | self, | |
| ObjId | t ) |
| None mrmeshpy.Vector_ObjId_VoxelId.reserve | ( | self, | |
| int | capacity ) |
| None mrmeshpy.Vector_ObjId_VoxelId.resize | ( | self, | |
| int | newSize ) |
| None mrmeshpy.Vector_ObjId_VoxelId.resize | ( | self, | |
| int | newSize, | ||
| ConstObjId | t ) |
| None mrmeshpy.Vector_ObjId_VoxelId.resizeNoInit | ( | self, | |
| int | targetSize, | ||
| ReserveMode | mode = 'MR::ReserveMode::Exact' ) |
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor )
| None mrmeshpy.Vector_ObjId_VoxelId.resizeWithReserve | ( | self, | |
| int | newSize ) |
same as resize(newSize), which already grows the capacity geometrically
| None mrmeshpy.Vector_ObjId_VoxelId.resizeWithReserve | ( | self, | |
| int | newSize, | ||
| ConstObjId | value ) |
same as resize(newSize, value), which already grows the capacity geometrically
| None mrmeshpy.Vector_ObjId_VoxelId.shrink_to_fit | ( | self | ) |
| None mrmeshpy.Vector_ObjId_VoxelId.swap | ( | self, | |
| Vector_ObjId_VoxelId | b ) |
| std_vector_Id_ObjTag_Allocator_Id_ObjTag mrmeshpy.Vector_ObjId_VoxelId.vec | ( | self | ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented from mrmeshpy.ConstVector_ObjId_VoxelId.
| None mrmeshpy.Vector_ObjId_VoxelId.vec | ( | self, | |
| Const_std_vector_Id_ObjTag_Allocator_Id_ObjTag | arg1 ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented from mrmeshpy.ConstVector_ObjId_VoxelId.