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

Public Member Functions

bool __eq__ (self, ConstTexturePerFace b)
ConstTextureId __getitem__ (self, ConstFaceId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[ConstTextureId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstTexturePerFace b)
ConstTextureId back (self)
FaceId backId (self)
FaceId beginId (self)
int capacity (self)
ConstTextureId data (self)
bool empty (self)
FaceId endId (self)
ConstTextureId front (self)
int heapBytes (self)
int max_size (self)
int size (self)
Const_std_vector_Id_TextureTag_Allocator_Id_TextureTag vec (self)

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::TexturePerFace

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstTexturePerFace.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstTexturePerFace) -> None

creates empty vector

2. __init__(self: meshlib.mrmeshpy.ConstTexturePerFace, size: int) -> None

creates a vector with \\p size elements with default value

3. __init__(self: meshlib.mrmeshpy.ConstTexturePerFace, size: int, val: meshlib.mrmeshpy.ConstTextureId) -> None

creates a vector with \\p size elements with the given value

4. __init__(self: meshlib.mrmeshpy.ConstTexturePerFace, arg0: list) -> None

5. __init__(self: meshlib.mrmeshpy.ConstTexturePerFace, arg0: meshlib.mrmeshpy.ConstTexturePerFace) -> None

Implicit copy constructor.

6. __init__(self: meshlib.mrmeshpy.ConstTexturePerFace, : meshlib.mrmeshpy.ConstTexturePerFace) -> None

Member Function Documentation

◆ __eq__()

bool mrmeshpy.ConstTexturePerFace.__eq__ ( self,
ConstTexturePerFace b )

◆ __getitem__()

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

◆ __iter__()

typing.Iterator[ConstTextureId] mrmeshpy.ConstTexturePerFace.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstTexturePerFace.__len__ ( self)

◆ __ne__()

bool mrmeshpy.ConstTexturePerFace.__ne__ ( self,
ConstTexturePerFace b )

◆ back()

ConstTextureId mrmeshpy.ConstTexturePerFace.back ( self)

◆ backId()

FaceId mrmeshpy.ConstTexturePerFace.backId ( self)
returns the identifier of the back() element

◆ beginId()

FaceId mrmeshpy.ConstTexturePerFace.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstTexturePerFace.capacity ( self)

◆ data()

ConstTextureId mrmeshpy.ConstTexturePerFace.data ( self)

◆ empty()

bool mrmeshpy.ConstTexturePerFace.empty ( self)

◆ endId()

FaceId mrmeshpy.ConstTexturePerFace.endId ( self)
returns backId() + 1

◆ front()

ConstTextureId mrmeshpy.ConstTexturePerFace.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstTexturePerFace.max_size ( self)

◆ size()

int mrmeshpy.ConstTexturePerFace.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.TexturePerFace, and mrmeshpy.TexturePerFace.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstTexturePerFace._offsetof_vec = 0
staticprotected

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