MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Vector_TextureId_TextureId Class Reference
Inheritance diagram for mrmeshpy.Vector_TextureId_TextureId:

Public Member Functions

TextureId __getitem__ (self, ConstTextureId i)
ConstTextureId __getitem__ (ConstVector_TextureId_TextureId self, ConstTextureId i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, ConstTextureId val)
None __init__ (self, list arg0)
None __init__ (self, ConstVector_TextureId_TextureId arg0)
typing.Iterator[TextureId] __iter__ (self)
typing.Iterator[TextureId] __iter__ (ConstVector_TextureId_TextureId self)
None __setitem__ (self, ConstTextureId arg0, ConstTextureId arg1)
Vector_TextureId_TextureId assign (self, ConstVector_TextureId_TextureId other)
None assign (self, int count, ConstTextureId val)
TextureId autoResizeAt (self, ConstTextureId i)
None autoResizeSet (self, ConstTextureId pos, int len, ConstTextureId val)
None autoResizeSet (self, ConstTextureId i, ConstTextureId val)
TextureId back (self)
ConstTextureId back (ConstVector_TextureId_TextureId self)
None clear (self)
TextureId data (self)
ConstTextureId data (ConstVector_TextureId_TextureId self)
TextureId front (self)
ConstTextureId front (ConstVector_TextureId_TextureId self)
None pop_back (self)
None push_back (self, ConstTextureId t)
None push_back (self, TextureId t)
None reserve (self, int capacity)
None resize (self, int newSize)
None resize (self, int newSize, ConstTextureId t)
None resizeNoInit (self, int targetSize, ReserveMode mode='MR::ReserveMode::Exact')
None resizeWithReserve (self, int newSize)
None resizeWithReserve (self, int newSize, ConstTextureId value)
None shrink_to_fit (self)
None swap (self, Vector_TextureId_TextureId b)
std_vector_Id_TextureTag_Allocator_Id_TextureTag vec (self)
None vec (self, Const_std_vector_Id_TextureTag_Allocator_Id_TextureTag arg1)
Public Member Functions inherited from mrmeshpy.ConstVector_TextureId_TextureId
bool __eq__ (self, ConstVector_TextureId_TextureId b)
ConstTextureId __getitem__ (self, ConstTextureId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[TextureId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_TextureId_TextureId b)
TextureId backId (self)
TextureId beginId (self)
int capacity (self)
bool empty (self)
TextureId endId (self)
int heapBytes (self)
int max_size (self)
int size (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstVector_TextureId_TextureId
 ConstStdVector = Const_std_vector_Id_TextureTag_Allocator_Id_TextureTag
 Const_const_pointer = ConstTextureId
 Const_const_reference = ConstTextureId
 Const_pointer = ConstTextureId
 Const_reference = ConstTextureId
 Const_value_type = ConstTextureId
 StdVector = std_vector_Id_TextureTag_Allocator_Id_TextureTag
 const_pointer = TextureId
 const_reference = TextureId
 pointer = TextureId
 reference = TextureId
 value_type = TextureId
Static Protected Attributes inherited from mrmeshpy.ConstVector_TextureId_TextureId
typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<MR::TextureId, MR::TextureId>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

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

◆ __init__() [3/6]

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

◆ __init__() [4/6]

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

◆ __init__() [5/6]

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

◆ __init__() [6/6]

None mrmeshpy.Vector_TextureId_TextureId.__init__ ( self,
ConstVector_TextureId_TextureId arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

ConstTextureId mrmeshpy.Vector_TextureId_TextureId.__getitem__ ( ConstVector_TextureId_TextureId self,
ConstTextureId i )

◆ __getitem__() [2/2]

TextureId mrmeshpy.Vector_TextureId_TextureId.__getitem__ ( self,
ConstTextureId i )

◆ __iter__() [1/2]

typing.Iterator[TextureId] mrmeshpy.Vector_TextureId_TextureId.__iter__ ( ConstVector_TextureId_TextureId self)

◆ __iter__() [2/2]

typing.Iterator[TextureId] mrmeshpy.Vector_TextureId_TextureId.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.Vector_TextureId_TextureId.__setitem__ ( self,
ConstTextureId arg0,
ConstTextureId arg1 )

◆ assign() [1/2]

Vector_TextureId_TextureId mrmeshpy.Vector_TextureId_TextureId.assign ( self,
ConstVector_TextureId_TextureId other )

◆ assign() [2/2]

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

◆ autoResizeAt()

TextureId mrmeshpy.Vector_TextureId_TextureId.autoResizeAt ( self,
ConstTextureId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

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

◆ autoResizeSet() [2/2]

None mrmeshpy.Vector_TextureId_TextureId.autoResizeSet ( self,
ConstTextureId pos,
int len,
ConstTextureId 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]

ConstTextureId mrmeshpy.Vector_TextureId_TextureId.back ( ConstVector_TextureId_TextureId self)

◆ back() [2/2]

TextureId mrmeshpy.Vector_TextureId_TextureId.back ( self)

◆ clear()

None mrmeshpy.Vector_TextureId_TextureId.clear ( self)

◆ data() [1/2]

ConstTextureId mrmeshpy.Vector_TextureId_TextureId.data ( ConstVector_TextureId_TextureId self)

◆ data() [2/2]

TextureId mrmeshpy.Vector_TextureId_TextureId.data ( self)

◆ front() [1/2]

ConstTextureId mrmeshpy.Vector_TextureId_TextureId.front ( ConstVector_TextureId_TextureId self)

◆ front() [2/2]

TextureId mrmeshpy.Vector_TextureId_TextureId.front ( self)

◆ pop_back()

None mrmeshpy.Vector_TextureId_TextureId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_TextureId_TextureId.push_back ( self,
ConstTextureId t )

◆ push_back() [2/2]

None mrmeshpy.Vector_TextureId_TextureId.push_back ( self,
TextureId t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.Vector_TextureId_TextureId.resize ( self,
int newSize,
ConstTextureId t )

◆ resizeNoInit()

None mrmeshpy.Vector_TextureId_TextureId.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.Vector_TextureId_TextureId.resizeWithReserve ( self,
int newSize )
same as resize(newSize), which already grows the capacity geometrically

◆ resizeWithReserve() [2/2]

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

◆ shrink_to_fit()

None mrmeshpy.Vector_TextureId_TextureId.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstVector_TextureId_TextureId.

◆ vec() [2/2]

None mrmeshpy.Vector_TextureId_TextureId.vec ( self,
Const_std_vector_Id_TextureTag_Allocator_Id_TextureTag arg1 )
The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented from mrmeshpy.ConstVector_TextureId_TextureId.


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