Public Member Functions | |
bool | __eq__ (self, Vector_unsigned_short_VoxelId b) |
int | __getitem__ (self, VoxelId i) |
int | __getitem__ (self, VoxelId i) |
None | __init__ (self) |
None | __init__ (self, int size) |
None | __init__ (self, int size, int val) |
None | __init__ (self, std_vector_unsigned_short vec) |
typing.Iterator[int] | __iter__ (self) |
bool | __ne__ (self, Vector_unsigned_short_VoxelId b) |
None | __setitem__ (self, VoxelId arg0, int arg1) |
int | autoResizeAt (self, VoxelId i) |
None | autoResizeSet (self, VoxelId pos, int len, int val) |
None | autoResizeSet (self, VoxelId i, int val) |
int | back (self) |
int | back (self) |
VoxelId | backId (self) |
VoxelId | beginId (self) |
int | capacity (self) |
None | clear (self) |
int | data (self) |
int | data (self) |
int | emplace_back (self) |
bool | empty (self) |
VoxelId | endId (self) |
int | front (self) |
int | front (self) |
int | heapBytes (self) |
None | pop_back (self) |
None | push_back (self, int t) |
None | push_back (self, int t) |
None | reserve (self, int capacity) |
None | resize (self, int newSize) |
None | resize (self, int newSize, int t) |
None | resizeWithReserve (self, int newSize) |
None | resizeWithReserve (self, int newSize, int value) |
int | size (self) |
None | swap (self, Vector_unsigned_short_VoxelId b) |
std_vector_unsigned_short | vec_ (self) |
None | vec_ (self, std_vector_unsigned_short arg1) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
Vector_unsigned_short_VoxelId | operator (*args, **kwargs) |
Vector_unsigned_short_VoxelId | operator (*args, **kwargs) |
Static Protected Attributes | |
typing | _offsetof_vec_ = 0 |
Generated from: MR::Vector<unsigned short, MR::VoxelId> Aliases: Vector_unsigned_short_Id_VoxelTag, Vector_unsigned_short_Id_VoxelTag, Vector_unsigned_short_Id_VoxelTag \\brief std::vector<T>-like container that requires specific indexing type, \\tparam T type of stored elements \\tparam I type of index (shall be convertible to size_t)
|
static |
None mrmeshpy.Vector_unsigned_short_VoxelId.__init__ | ( | self | ) |
creates empty vector
None mrmeshpy.Vector_unsigned_short_VoxelId.__init__ | ( | self, | |
int | size ) |
creates a vector with \\p size elements with default value
None mrmeshpy.Vector_unsigned_short_VoxelId.__init__ | ( | self, | |
int | size, | ||
int | val ) |
creates a vector with \\p size elements with the given value
None mrmeshpy.Vector_unsigned_short_VoxelId.__init__ | ( | self, | |
std_vector_unsigned_short | vec ) |
moves data from the given std::vector<T>
bool mrmeshpy.Vector_unsigned_short_VoxelId.__eq__ | ( | self, | |
Vector_unsigned_short_VoxelId | b ) |
int mrmeshpy.Vector_unsigned_short_VoxelId.__getitem__ | ( | self, | |
VoxelId | i ) |
int mrmeshpy.Vector_unsigned_short_VoxelId.__getitem__ | ( | self, | |
VoxelId | i ) |
typing.Iterator[int] mrmeshpy.Vector_unsigned_short_VoxelId.__iter__ | ( | self | ) |
bool mrmeshpy.Vector_unsigned_short_VoxelId.__ne__ | ( | self, | |
Vector_unsigned_short_VoxelId | b ) |
None mrmeshpy.Vector_unsigned_short_VoxelId.__setitem__ | ( | self, | |
VoxelId | arg0, | ||
int | arg1 ) |
int mrmeshpy.Vector_unsigned_short_VoxelId.autoResizeAt | ( | self, | |
VoxelId | i ) |
this accessor automatically adjusts the size of the vector
None mrmeshpy.Vector_unsigned_short_VoxelId.autoResizeSet | ( | self, | |
VoxelId | i, | ||
int | val ) |
sets the element #i to the given value, adjusting the size of the vector to include new element
None mrmeshpy.Vector_unsigned_short_VoxelId.autoResizeSet | ( | self, | |
VoxelId | pos, | ||
int | len, | ||
int | 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)
int mrmeshpy.Vector_unsigned_short_VoxelId.back | ( | self | ) |
int mrmeshpy.Vector_unsigned_short_VoxelId.back | ( | self | ) |
VoxelId mrmeshpy.Vector_unsigned_short_VoxelId.backId | ( | self | ) |
returns the identifier of the back() element
VoxelId mrmeshpy.Vector_unsigned_short_VoxelId.beginId | ( | self | ) |
returns the identifier of the first element
int mrmeshpy.Vector_unsigned_short_VoxelId.capacity | ( | self | ) |
None mrmeshpy.Vector_unsigned_short_VoxelId.clear | ( | self | ) |
int mrmeshpy.Vector_unsigned_short_VoxelId.data | ( | self | ) |
int mrmeshpy.Vector_unsigned_short_VoxelId.data | ( | self | ) |
int mrmeshpy.Vector_unsigned_short_VoxelId.emplace_back | ( | self | ) |
bool mrmeshpy.Vector_unsigned_short_VoxelId.empty | ( | self | ) |
VoxelId mrmeshpy.Vector_unsigned_short_VoxelId.endId | ( | self | ) |
returns backId() + 1
int mrmeshpy.Vector_unsigned_short_VoxelId.front | ( | self | ) |
int mrmeshpy.Vector_unsigned_short_VoxelId.front | ( | self | ) |
int mrmeshpy.Vector_unsigned_short_VoxelId.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
|
static |
|
static |
None mrmeshpy.Vector_unsigned_short_VoxelId.pop_back | ( | self | ) |
None mrmeshpy.Vector_unsigned_short_VoxelId.push_back | ( | self, | |
int | t ) |
None mrmeshpy.Vector_unsigned_short_VoxelId.push_back | ( | self, | |
int | t ) |
None mrmeshpy.Vector_unsigned_short_VoxelId.reserve | ( | self, | |
int | capacity ) |
None mrmeshpy.Vector_unsigned_short_VoxelId.resize | ( | self, | |
int | newSize ) |
None mrmeshpy.Vector_unsigned_short_VoxelId.resize | ( | self, | |
int | newSize, | ||
int | t ) |
None mrmeshpy.Vector_unsigned_short_VoxelId.resizeWithReserve | ( | self, | |
int | newSize ) |
doubles reserved memory until resize(newSize) can be done without reallocation
None mrmeshpy.Vector_unsigned_short_VoxelId.resizeWithReserve | ( | self, | |
int | newSize, | ||
int | value ) |
doubles reserved memory until resize(newSize, value) can be done without reallocation
int mrmeshpy.Vector_unsigned_short_VoxelId.size | ( | self | ) |
None mrmeshpy.Vector_unsigned_short_VoxelId.swap | ( | self, | |
Vector_unsigned_short_VoxelId | b ) |
std_vector_unsigned_short mrmeshpy.Vector_unsigned_short_VoxelId.vec_ | ( | self | ) |
the user can directly manipulate the vector, anyway she cannot break anything
None mrmeshpy.Vector_unsigned_short_VoxelId.vec_ | ( | self, | |
std_vector_unsigned_short | arg1 ) |
|
staticprotected |