Public Member Functions | |
| bool | __eq__ (self, ConstVertColors b) |
| ConstColor | __getitem__ (self, ConstVertId i) |
| __init__ (self, *args, **kwargs) | |
| typing.Iterator[ConstColor] | __iter__ (self) |
| int | __len__ (self) |
| bool | __ne__ (self, ConstVertColors b) |
| ConstColor | back (self) |
| VertId | backId (self) |
| VertId | beginId (self) |
| int | capacity (self) |
| ConstColor | data (self) |
| bool | empty (self) |
| VertId | endId (self) |
| ConstColor | front (self) |
| int | heapBytes (self) |
| int | max_size (self) |
| int | size (self) |
| Const_std_vector_Color_Allocator_Color | vec (self) |
Static Protected Attributes | |
| typing | _offsetof_vec = 0 |
Generated from: MR::VertColors Aliases: ColorMapAggregator_VertTag_ColorMap Vector<T> is indexed by size_t
| mrmeshpy.ConstVertColors.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstVertColors) -> None creates empty vector 2. __init__(self: meshlib.mrmeshpy.ConstVertColors, size: int) -> None creates a vector with \\p size elements with default value 3. __init__(self: meshlib.mrmeshpy.ConstVertColors, size: int, val: meshlib.mrmeshpy.ConstColor) -> None creates a vector with \\p size elements with the given value 4. __init__(self: meshlib.mrmeshpy.ConstVertColors, arg0: list) -> None 5. __init__(self: meshlib.mrmeshpy.ConstVertColors, arg0: meshlib.mrmeshpy.ConstVertColors) -> None Implicit copy constructor. 6. __init__(self: meshlib.mrmeshpy.ConstVertColors, : meshlib.mrmeshpy.ConstVertColors) -> None
| bool mrmeshpy.ConstVertColors.__eq__ | ( | self, | |
| ConstVertColors | b ) |
| ConstColor mrmeshpy.ConstVertColors.__getitem__ | ( | self, | |
| ConstVertId | i ) |
| typing.Iterator[ConstColor] mrmeshpy.ConstVertColors.__iter__ | ( | self | ) |
| int mrmeshpy.ConstVertColors.__len__ | ( | self | ) |
| bool mrmeshpy.ConstVertColors.__ne__ | ( | self, | |
| ConstVertColors | b ) |
| ConstColor mrmeshpy.ConstVertColors.back | ( | self | ) |
Reimplemented in mrmeshpy.VertColors, and mrmeshpy.VertColors.
| VertId mrmeshpy.ConstVertColors.backId | ( | self | ) |
returns the identifier of the back() element
| VertId mrmeshpy.ConstVertColors.beginId | ( | self | ) |
returns the identifier of the first element
| int mrmeshpy.ConstVertColors.capacity | ( | self | ) |
| ConstColor mrmeshpy.ConstVertColors.data | ( | self | ) |
Reimplemented in mrmeshpy.VertColors, and mrmeshpy.VertColors.
| bool mrmeshpy.ConstVertColors.empty | ( | self | ) |
| VertId mrmeshpy.ConstVertColors.endId | ( | self | ) |
returns backId() + 1
| ConstColor mrmeshpy.ConstVertColors.front | ( | self | ) |
Reimplemented in mrmeshpy.VertColors, and mrmeshpy.VertColors.
| int mrmeshpy.ConstVertColors.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
| int mrmeshpy.ConstVertColors.max_size | ( | self | ) |
| int mrmeshpy.ConstVertColors.size | ( | self | ) |
| Const_std_vector_Color_Allocator_Color mrmeshpy.ConstVertColors.vec | ( | self | ) |
The user can directly manipulate the vector, they can't break anything anyway.
Reimplemented in mrmeshpy.VertColors, and mrmeshpy.VertColors.
|
staticprotected |