MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.VertColors:

Public Member Functions

Color __getitem__ (self, ConstVertId i)
ConstColor __getitem__ (ConstVertColors self, ConstVertId i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, ConstColor val)
None __init__ (self, list arg0)
None __init__ (self, ConstVertColors arg0)
typing.Iterator[Color] __iter__ (self)
typing.Iterator[Color] __iter__ (ConstVertColors self)
None __setitem__ (self, ConstVertId arg0, ConstColor arg1)
VertColors assign (self, ConstVertColors other)
None assign (self, int count, ConstColor val)
Color autoResizeAt (self, ConstVertId i)
None autoResizeSet (self, ConstVertId pos, int len, ConstColor val)
None autoResizeSet (self, ConstVertId i, ConstColor val)
Color back (self)
ConstColor back (ConstVertColors self)
None clear (self)
Color data (self)
ConstColor data (ConstVertColors self)
Color front (self)
ConstColor front (ConstVertColors 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, VertColors b)
std_vector_Color_Allocator_Color vec (self)
None vec (self, Const_std_vector_Color_Allocator_Color arg1)
Public Member Functions inherited from mrmeshpy.ConstVertColors
bool __eq__ (self, ConstVertColors b)
ConstColor __getitem__ (self, ConstVertId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[Color] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVertColors b)
VertId backId (self)
VertId beginId (self)
int capacity (self)
bool empty (self)
VertId 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.ConstVertColors
typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::VertColors
Aliases:  ColorMapAggregator_VertTag_ColorMap

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

None mrmeshpy.VertColors.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/6]

None mrmeshpy.VertColors.__init__ ( self)
creates empty vector

◆ __init__() [3/6]

None mrmeshpy.VertColors.__init__ ( self,
int size )
creates a vector with \\p size elements with default value

◆ __init__() [4/6]

None mrmeshpy.VertColors.__init__ ( self,
int size,
ConstColor val )
creates a vector with \\p size elements with the given value

◆ __init__() [5/6]

None mrmeshpy.VertColors.__init__ ( self,
list arg0 )

◆ __init__() [6/6]

None mrmeshpy.VertColors.__init__ ( self,
ConstVertColors arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

ConstColor mrmeshpy.VertColors.__getitem__ ( ConstVertColors self,
ConstVertId i )

◆ __getitem__() [2/2]

Color mrmeshpy.VertColors.__getitem__ ( self,
ConstVertId i )

◆ __iter__() [1/2]

typing.Iterator[Color] mrmeshpy.VertColors.__iter__ ( ConstVertColors self)

◆ __iter__() [2/2]

typing.Iterator[Color] mrmeshpy.VertColors.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.VertColors.__setitem__ ( self,
ConstVertId arg0,
ConstColor arg1 )

◆ assign() [1/2]

VertColors mrmeshpy.VertColors.assign ( self,
ConstVertColors other )

◆ assign() [2/2]

None mrmeshpy.VertColors.assign ( self,
int count,
ConstColor val )
replaces the contents with \\p count copies of \\p val

◆ autoResizeAt()

Color mrmeshpy.VertColors.autoResizeAt ( self,
ConstVertId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None mrmeshpy.VertColors.autoResizeSet ( self,
ConstVertId i,
ConstColor val )
sets the element i to the given value, adjusting the size of the vector to include new element

◆ autoResizeSet() [2/2]

None mrmeshpy.VertColors.autoResizeSet ( self,
ConstVertId 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)

◆ back() [1/2]

ConstColor mrmeshpy.VertColors.back ( ConstVertColors self)

Reimplemented from mrmeshpy.ConstVertColors.

◆ back() [2/2]

Color mrmeshpy.VertColors.back ( self)

Reimplemented from mrmeshpy.ConstVertColors.

◆ clear()

None mrmeshpy.VertColors.clear ( self)

◆ data() [1/2]

ConstColor mrmeshpy.VertColors.data ( ConstVertColors self)

Reimplemented from mrmeshpy.ConstVertColors.

◆ data() [2/2]

Color mrmeshpy.VertColors.data ( self)

Reimplemented from mrmeshpy.ConstVertColors.

◆ front() [1/2]

ConstColor mrmeshpy.VertColors.front ( ConstVertColors self)

Reimplemented from mrmeshpy.ConstVertColors.

◆ front() [2/2]

Color mrmeshpy.VertColors.front ( self)

Reimplemented from mrmeshpy.ConstVertColors.

◆ pop_back()

None mrmeshpy.VertColors.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.VertColors.push_back ( self,
Color t )

◆ push_back() [2/2]

None mrmeshpy.VertColors.push_back ( self,
ConstColor t )

◆ reserve()

None mrmeshpy.VertColors.reserve ( self,
int capacity )

◆ resize() [1/2]

None mrmeshpy.VertColors.resize ( self,
int newSize )

◆ resize() [2/2]

None mrmeshpy.VertColors.resize ( self,
int newSize,
ConstColor t )

◆ resizeNoInit()

None mrmeshpy.VertColors.resizeNoInit ( self,
int targetSize,
ReserveMode mode = 'MR::ReserveMode::Exact' )
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor )

◆ resizeWithReserve() [1/2]

None mrmeshpy.VertColors.resizeWithReserve ( self,
int newSize )
same as resize(newSize), which already grows the capacity geometrically

◆ resizeWithReserve() [2/2]

None mrmeshpy.VertColors.resizeWithReserve ( self,
int newSize,
ConstColor value )
same as resize(newSize, value), which already grows the capacity geometrically

◆ shrink_to_fit()

None mrmeshpy.VertColors.shrink_to_fit ( self)

◆ swap()

None mrmeshpy.VertColors.swap ( self,
VertColors b )

◆ vec() [1/2]

std_vector_Color_Allocator_Color mrmeshpy.VertColors.vec ( self)
The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented from mrmeshpy.ConstVertColors.

◆ vec() [2/2]

None mrmeshpy.VertColors.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.ConstVertColors.


The documentation for this class was generated from the following file: