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

Public Member Functions

TextureId __getitem__ (self, ConstFaceId i)
ConstTextureId __getitem__ (ConstTexturePerFace self, ConstFaceId i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, ConstTextureId val)
None __init__ (self, list arg0)
None __init__ (self, ConstTexturePerFace arg0)
typing.Iterator[TextureId] __iter__ (self)
typing.Iterator[TextureId] __iter__ (ConstTexturePerFace self)
None __setitem__ (self, ConstFaceId arg0, ConstTextureId arg1)
TexturePerFace assign (self, ConstTexturePerFace other)
None assign (self, int count, ConstTextureId val)
TextureId autoResizeAt (self, ConstFaceId i)
None autoResizeSet (self, ConstFaceId pos, int len, ConstTextureId val)
None autoResizeSet (self, ConstFaceId i, ConstTextureId val)
TextureId back (self)
ConstTextureId back (ConstTexturePerFace self)
None clear (self)
TextureId data (self)
ConstTextureId data (ConstTexturePerFace self)
TextureId front (self)
ConstTextureId front (ConstTexturePerFace 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, TexturePerFace 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.ConstTexturePerFace
bool __eq__ (self, ConstTexturePerFace b)
ConstTextureId __getitem__ (self, ConstFaceId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[TextureId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstTexturePerFace 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.ConstTexturePerFace
typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::TexturePerFace

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

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

◆ __init__() [3/6]

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

◆ __init__() [4/6]

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

◆ __init__() [5/6]

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

◆ __init__() [6/6]

None mrmeshpy.TexturePerFace.__init__ ( self,
ConstTexturePerFace arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

ConstTextureId mrmeshpy.TexturePerFace.__getitem__ ( ConstTexturePerFace self,
ConstFaceId i )

◆ __getitem__() [2/2]

TextureId mrmeshpy.TexturePerFace.__getitem__ ( self,
ConstFaceId i )

◆ __iter__() [1/2]

typing.Iterator[TextureId] mrmeshpy.TexturePerFace.__iter__ ( ConstTexturePerFace self)

◆ __iter__() [2/2]

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

◆ __setitem__()

None mrmeshpy.TexturePerFace.__setitem__ ( self,
ConstFaceId arg0,
ConstTextureId arg1 )

◆ assign() [1/2]

TexturePerFace mrmeshpy.TexturePerFace.assign ( self,
ConstTexturePerFace other )

◆ assign() [2/2]

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

◆ autoResizeAt()

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

◆ autoResizeSet() [1/2]

None mrmeshpy.TexturePerFace.autoResizeSet ( self,
ConstFaceId 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.TexturePerFace.autoResizeSet ( self,
ConstFaceId 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.TexturePerFace.back ( ConstTexturePerFace self)

Reimplemented from mrmeshpy.ConstTexturePerFace.

◆ back() [2/2]

TextureId mrmeshpy.TexturePerFace.back ( self)

Reimplemented from mrmeshpy.ConstTexturePerFace.

◆ clear()

None mrmeshpy.TexturePerFace.clear ( self)

◆ data() [1/2]

ConstTextureId mrmeshpy.TexturePerFace.data ( ConstTexturePerFace self)

Reimplemented from mrmeshpy.ConstTexturePerFace.

◆ data() [2/2]

TextureId mrmeshpy.TexturePerFace.data ( self)

Reimplemented from mrmeshpy.ConstTexturePerFace.

◆ front() [1/2]

ConstTextureId mrmeshpy.TexturePerFace.front ( ConstTexturePerFace self)

Reimplemented from mrmeshpy.ConstTexturePerFace.

◆ front() [2/2]

TextureId mrmeshpy.TexturePerFace.front ( self)

Reimplemented from mrmeshpy.ConstTexturePerFace.

◆ pop_back()

None mrmeshpy.TexturePerFace.pop_back ( self)

◆ push_back() [1/2]

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

◆ push_back() [2/2]

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

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

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

◆ resizeNoInit()

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

◆ resizeWithReserve() [2/2]

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

◆ shrink_to_fit()

None mrmeshpy.TexturePerFace.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstTexturePerFace.

◆ vec() [2/2]

None mrmeshpy.TexturePerFace.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.ConstTexturePerFace.


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