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

Public Member Functions

bool __eq__ (self, ConstVector_PixelId_PixelId b)
ConstPixelId __getitem__ (self, ConstPixelId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[ConstPixelId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_PixelId_PixelId b)
ConstPixelId back (self)
PixelId backId (self)
PixelId beginId (self)
int capacity (self)
ConstPixelId data (self)
bool empty (self)
PixelId endId (self)
ConstPixelId front (self)
int heapBytes (self)
int max_size (self)
int size (self)
Const_std_vector_Id_PixelTag_Allocator_Id_PixelTag vec (self)

Static Public Attributes

 ConstStdVector = Const_std_vector_Id_PixelTag_Allocator_Id_PixelTag
 Const_const_pointer = ConstPixelId
 Const_const_reference = ConstPixelId
 Const_pointer = ConstPixelId
 Const_reference = ConstPixelId
 Const_value_type = ConstPixelId
 StdVector = std_vector_Id_PixelTag_Allocator_Id_PixelTag
 const_pointer = PixelId
 const_reference = PixelId
 pointer = PixelId
 reference = PixelId
 value_type = PixelId

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

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

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

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

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

creates empty vector

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ __eq__()

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

◆ __getitem__()

ConstPixelId mrmeshpy.ConstVector_PixelId_PixelId.__getitem__ ( self,
ConstPixelId i )

◆ __iter__()

typing.Iterator[ConstPixelId] mrmeshpy.ConstVector_PixelId_PixelId.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVector_PixelId_PixelId.__len__ ( self)

◆ __ne__()

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

◆ back()

ConstPixelId mrmeshpy.ConstVector_PixelId_PixelId.back ( self)

◆ backId()

PixelId mrmeshpy.ConstVector_PixelId_PixelId.backId ( self)
returns the identifier of the back() element

◆ beginId()

PixelId mrmeshpy.ConstVector_PixelId_PixelId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstVector_PixelId_PixelId.capacity ( self)

◆ data()

ConstPixelId mrmeshpy.ConstVector_PixelId_PixelId.data ( self)

◆ empty()

bool mrmeshpy.ConstVector_PixelId_PixelId.empty ( self)

◆ endId()

PixelId mrmeshpy.ConstVector_PixelId_PixelId.endId ( self)
returns backId() + 1

◆ front()

ConstPixelId mrmeshpy.ConstVector_PixelId_PixelId.front ( self)

◆ heapBytes()

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

◆ max_size()

int mrmeshpy.ConstVector_PixelId_PixelId.max_size ( self)

◆ size()

int mrmeshpy.ConstVector_PixelId_PixelId.size ( self)

◆ vec()

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

Reimplemented in mrmeshpy.Vector_PixelId_PixelId, and mrmeshpy.Vector_PixelId_PixelId.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVector_PixelId_PixelId._offsetof_vec = 0
staticprotected

◆ Const_const_pointer

mrmeshpy.ConstVector_PixelId_PixelId.Const_const_pointer = ConstPixelId
static

◆ Const_const_reference

mrmeshpy.ConstVector_PixelId_PixelId.Const_const_reference = ConstPixelId
static

◆ Const_pointer

mrmeshpy.ConstVector_PixelId_PixelId.Const_pointer = ConstPixelId
static

◆ const_pointer

mrmeshpy.ConstVector_PixelId_PixelId.const_pointer = PixelId
static

◆ Const_reference

mrmeshpy.ConstVector_PixelId_PixelId.Const_reference = ConstPixelId
static

◆ const_reference

mrmeshpy.ConstVector_PixelId_PixelId.const_reference = PixelId
static

◆ Const_value_type

mrmeshpy.ConstVector_PixelId_PixelId.Const_value_type = ConstPixelId
static

◆ ConstStdVector

mrmeshpy.ConstVector_PixelId_PixelId.ConstStdVector = Const_std_vector_Id_PixelTag_Allocator_Id_PixelTag
static

◆ pointer

mrmeshpy.ConstVector_PixelId_PixelId.pointer = PixelId
static

◆ reference

mrmeshpy.ConstVector_PixelId_PixelId.reference = PixelId
static

◆ StdVector

mrmeshpy.ConstVector_PixelId_PixelId.StdVector = std_vector_Id_PixelTag_Allocator_Id_PixelTag
static

◆ value_type

mrmeshpy.ConstVector_PixelId_PixelId.value_type = PixelId
static

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