MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.VertColors Class Reference

Public Member Functions

bool __eq__ (self, VertColors b)
 
None __init__ (self)
 
None __init__ (self, int size)
 
None __init__ (self, int size, Color val)
 
None __init__ (self, std_vector_Color vec)
 
None __init__ (self, VertColors arg0)
 
typing.Iterator __iter__ (self)
 
bool __ne__ (self, VertColors b)
 
Color autoResizeAt (self, VertId i)
 
None autoResizeSet (self, VertId pos, int len, Color val)
 
None autoResizeSet (self, VertId i, Color val)
 
Color back (self)
 
Color back (self)
 
VertId backId (self)
 
VertId beginId (self)
 
int capacity (self)
 
None clear (self)
 
Color data (self)
 
Color data (self)
 
bool empty (self)
 
VertId endId (self)
 
Color front (self)
 
Color front (self)
 
int heapBytes (self)
 
None pop_back (self)
 
None push_back (self, Color t)
 
None push_back (self, Color t)
 
None reserve (self, int capacity)
 
None resize (self, int newSize)
 
None resize (self, int newSize, Color t)
 
None resizeNoInit (self, int targetSize)
 
None resizeWithReserve (self, int newSize)
 
None resizeWithReserve (self, int newSize, Color value)
 
int size (self)
 
None swap (self, VertColors b)
 
std_vector_Color vec_ (self)
 
None vec_ (self, std_vector_Color arg1)
 

Protected Member Functions

Color _Subscript (self, VertId i)
 
Color _Subscript (self, VertId i)
 

Detailed Description

Generated from:  MR::VertColors
Aliases:  Vector_Color_VertId, Vector_Color_Id_VertTag, ColorMapAggregator_VertTag_ColorMap


 \\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)
 \\ingroup BasicGroup

Constructor & Destructor Documentation

◆ __init__() [1/5]

None meshlib.mrmeshpy.VertColors.__init__ ( self)

◆ __init__() [2/5]

None meshlib.mrmeshpy.VertColors.__init__ ( self,
int size )

◆ __init__() [3/5]

None meshlib.mrmeshpy.VertColors.__init__ ( self,
int size,
Color val )

◆ __init__() [4/5]

None meshlib.mrmeshpy.VertColors.__init__ ( self,
std_vector_Color vec )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __eq__()

bool meshlib.mrmeshpy.VertColors.__eq__ ( self,
VertColors b )

◆ __iter__()

typing.Iterator meshlib.mrmeshpy.VertColors.__iter__ ( self)

◆ __ne__()

bool meshlib.mrmeshpy.VertColors.__ne__ ( self,
VertColors b )

◆ _Subscript() [1/2]

Color meshlib.mrmeshpy.VertColors._Subscript ( self,
VertId i )
protected

◆ _Subscript() [2/2]

Color meshlib.mrmeshpy.VertColors._Subscript ( self,
VertId i )
protected

◆ autoResizeAt()

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

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.VertColors.autoResizeSet ( self,
VertId i,
Color val )

◆ autoResizeSet() [2/2]

None meshlib.mrmeshpy.VertColors.autoResizeSet ( self,
VertId pos,
int len,
Color val )
sets elements [pos, pos+len) to given value, adjusting the size of the vector to include new elements

◆ back() [1/2]

Color meshlib.mrmeshpy.VertColors.back ( self)

◆ back() [2/2]

Color meshlib.mrmeshpy.VertColors.back ( self)

◆ backId()

VertId meshlib.mrmeshpy.VertColors.backId ( self)
returns the identifier of the back() element

◆ beginId()

VertId meshlib.mrmeshpy.VertColors.beginId ( self)
returns the identifier of the first element

◆ capacity()

int meshlib.mrmeshpy.VertColors.capacity ( self)

◆ clear()

None meshlib.mrmeshpy.VertColors.clear ( self)

◆ data() [1/2]

Color meshlib.mrmeshpy.VertColors.data ( self)

◆ data() [2/2]

Color meshlib.mrmeshpy.VertColors.data ( self)

◆ empty()

bool meshlib.mrmeshpy.VertColors.empty ( self)

◆ endId()

VertId meshlib.mrmeshpy.VertColors.endId ( self)
returns backId() + 1

◆ front() [1/2]

Color meshlib.mrmeshpy.VertColors.front ( self)

◆ front() [2/2]

Color meshlib.mrmeshpy.VertColors.front ( self)

◆ heapBytes()

int meshlib.mrmeshpy.VertColors.heapBytes ( self)
returns the amount of memory this object occupies on heap

◆ pop_back()

None meshlib.mrmeshpy.VertColors.pop_back ( self)

◆ push_back() [1/2]

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

◆ push_back() [2/2]

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

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

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

◆ resizeNoInit()

None meshlib.mrmeshpy.VertColors.resizeNoInit ( self,
int targetSize )
resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor )

◆ resizeWithReserve() [1/2]

None meshlib.mrmeshpy.VertColors.resizeWithReserve ( self,
int newSize )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ resizeWithReserve() [2/2]

None meshlib.mrmeshpy.VertColors.resizeWithReserve ( self,
int newSize,
Color value )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ size()

int meshlib.mrmeshpy.VertColors.size ( self)

◆ swap()

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

◆ vec_() [1/2]

std_vector_Color meshlib.mrmeshpy.VertColors.vec_ ( self)
the user can directly manipulate the vector, anyway she cannot break anything

◆ vec_() [2/2]

None meshlib.mrmeshpy.VertColors.vec_ ( self,
std_vector_Color arg1 )

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