Public Member Functions | |
| Color | __getitem__ (self, ConstFaceId i) |
| ConstColor | __getitem__ (ConstFaceColors self, ConstFaceId i) |
| None | __init__ (self) |
| None | __init__ (self, int size) |
| None | __init__ (self, int size, ConstColor val) |
| None | __init__ (self, list arg0) |
| None | __init__ (self, ConstFaceColors arg0) |
| typing.Iterator[Color] | __iter__ (self) |
| typing.Iterator[Color] | __iter__ (ConstFaceColors self) |
| None | __setitem__ (self, ConstFaceId arg0, ConstColor arg1) |
| FaceColors | assign (self, ConstFaceColors other) |
| None | assign (self, int count, ConstColor val) |
| Color | autoResizeAt (self, ConstFaceId i) |
| None | autoResizeSet (self, ConstFaceId pos, int len, ConstColor val) |
| None | autoResizeSet (self, ConstFaceId i, ConstColor val) |
| Color | back (self) |
| ConstColor | back (ConstFaceColors self) |
| None | clear (self) |
| Color | data (self) |
| ConstColor | data (ConstFaceColors self) |
| Color | front (self) |
| ConstColor | front (ConstFaceColors self) |
| None | pop_back (self) |
| None | push_back (self, ConstColor t) |
| None | push_back (self, Color t) |
| None | reserve (self, int capacity) |
| None | resize (self, int newSize) |
| None | resize (self, int newSize, ConstColor t) |
| None | resizeNoInit (self, int targetSize, ReserveMode mode='MR::ReserveMode::Exact') |
| None | resizeWithReserve (self, int newSize) |
| None | resizeWithReserve (self, int newSize, ConstColor value) |
| None | shrink_to_fit (self) |
| None | swap (self, FaceColors b) |
| std_vector_Color_Allocator_Color | vec (self) |
| None | vec (self, Const_std_vector_Color_Allocator_Color arg1) |
| Public Member Functions inherited from mrmeshpy.ConstFaceColors | |
| bool | __eq__ (self, ConstFaceColors b) |
| ConstColor | __getitem__ (self, ConstFaceId i) |
| __init__ (self, *args, **kwargs) | |
| typing.Iterator[Color] | __iter__ (self) |
| int | __len__ (self) |
| bool | __ne__ (self, ConstFaceColors b) |
| FaceId | backId (self) |
| FaceId | beginId (self) |
| int | capacity (self) |
| bool | empty (self) |
| FaceId | endId (self) |
| int | heapBytes (self) |
| int | max_size (self) |
| int | size (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstFaceColors | |
| typing | _offsetof_vec = 0 |
Generated from: MR::FaceColors Aliases: ColorMapAggregator_FaceTag_ColorMap Vector<T> is indexed by size_t
|
static |
| None mrmeshpy.FaceColors.__init__ | ( | self | ) |
creates empty vector
| None mrmeshpy.FaceColors.__init__ | ( | self, | |
| int | size ) |
creates a vector with \\p size elements with default value
| None mrmeshpy.FaceColors.__init__ | ( | self, | |
| int | size, | ||
| ConstColor | val ) |
creates a vector with \\p size elements with the given value
| None mrmeshpy.FaceColors.__init__ | ( | self, | |
| list | arg0 ) |
| None mrmeshpy.FaceColors.__init__ | ( | self, | |
| ConstFaceColors | arg0 ) |
Implicit copy constructor.
| ConstColor mrmeshpy.FaceColors.__getitem__ | ( | ConstFaceColors | self, |
| ConstFaceId | i ) |
| Color mrmeshpy.FaceColors.__getitem__ | ( | self, | |
| ConstFaceId | i ) |
| typing.Iterator[Color] mrmeshpy.FaceColors.__iter__ | ( | ConstFaceColors | self | ) |
| typing.Iterator[Color] mrmeshpy.FaceColors.__iter__ | ( | self | ) |
| None mrmeshpy.FaceColors.__setitem__ | ( | self, | |
| ConstFaceId | arg0, | ||
| ConstColor | arg1 ) |
| FaceColors mrmeshpy.FaceColors.assign | ( | self, | |
| ConstFaceColors | other ) |
| None mrmeshpy.FaceColors.assign | ( | self, | |
| int | count, | ||
| ConstColor | val ) |
replaces the contents with \\p count copies of \\p val
| Color mrmeshpy.FaceColors.autoResizeAt | ( | self, | |
| ConstFaceId | i ) |
this accessor automatically adjusts the size of the vector
| None mrmeshpy.FaceColors.autoResizeSet | ( | self, | |
| ConstFaceId | i, | ||
| ConstColor | val ) |
sets the element i to the given value, adjusting the size of the vector to include new element
| None mrmeshpy.FaceColors.autoResizeSet | ( | self, | |
| ConstFaceId | pos, | ||
| int | len, | ||
| ConstColor | 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)
| ConstColor mrmeshpy.FaceColors.back | ( | ConstFaceColors | self | ) |
Reimplemented from mrmeshpy.ConstFaceColors.
| Color mrmeshpy.FaceColors.back | ( | self | ) |
Reimplemented from mrmeshpy.ConstFaceColors.
| None mrmeshpy.FaceColors.clear | ( | self | ) |
| ConstColor mrmeshpy.FaceColors.data | ( | ConstFaceColors | self | ) |
Reimplemented from mrmeshpy.ConstFaceColors.
| Color mrmeshpy.FaceColors.data | ( | self | ) |
Reimplemented from mrmeshpy.ConstFaceColors.
| ConstColor mrmeshpy.FaceColors.front | ( | ConstFaceColors | self | ) |
Reimplemented from mrmeshpy.ConstFaceColors.
| Color mrmeshpy.FaceColors.front | ( | self | ) |
Reimplemented from mrmeshpy.ConstFaceColors.
| None mrmeshpy.FaceColors.pop_back | ( | self | ) |
| None mrmeshpy.FaceColors.push_back | ( | self, | |
| Color | t ) |
| None mrmeshpy.FaceColors.push_back | ( | self, | |
| ConstColor | t ) |
| None mrmeshpy.FaceColors.reserve | ( | self, | |
| int | capacity ) |
| None mrmeshpy.FaceColors.resize | ( | self, | |
| int | newSize ) |
| None mrmeshpy.FaceColors.resize | ( | self, | |
| int | newSize, | ||
| ConstColor | t ) |
| None mrmeshpy.FaceColors.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.FaceColors.resizeWithReserve | ( | self, | |
| int | newSize ) |
same as resize(newSize), which already grows the capacity geometrically
| None mrmeshpy.FaceColors.resizeWithReserve | ( | self, | |
| int | newSize, | ||
| ConstColor | value ) |
same as resize(newSize, value), which already grows the capacity geometrically
| None mrmeshpy.FaceColors.shrink_to_fit | ( | self | ) |
| None mrmeshpy.FaceColors.swap | ( | self, | |
| FaceColors | b ) |
| std_vector_Color_Allocator_Color mrmeshpy.FaceColors.vec | ( | self | ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented from mrmeshpy.ConstFaceColors.
| None mrmeshpy.FaceColors.vec | ( | self, | |
| Const_std_vector_Color_Allocator_Color | arg1 ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented from mrmeshpy.ConstFaceColors.