MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Vector_PixelId_PixelId Class Reference

Public Member Functions

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

Static Public Attributes

 const_reference = PixelId
 
 reference = PixelId
 
 value_type = PixelId
 

Protected Member Functions

PixelId _Subscript (self, PixelId i)
 
PixelId _Subscript (self, PixelId i)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

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


 \\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 mrmeshpy.Vector_PixelId_PixelId.__init__ ( self)

◆ __init__() [2/5]

None mrmeshpy.Vector_PixelId_PixelId.__init__ ( self,
int size )

◆ __init__() [3/5]

None mrmeshpy.Vector_PixelId_PixelId.__init__ ( self,
int size,
PixelId val )

◆ __init__() [4/5]

None mrmeshpy.Vector_PixelId_PixelId.__init__ ( self,
std_vector_Id_PixelTag vec )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __eq__()

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

◆ __iter__()

typing.Iterator[PixelId] mrmeshpy.Vector_PixelId_PixelId.__iter__ ( self)

◆ __ne__()

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

◆ _pybind11_conduit_v1_()

mrmeshpy.Vector_PixelId_PixelId._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ _Subscript() [1/2]

PixelId mrmeshpy.Vector_PixelId_PixelId._Subscript ( self,
PixelId i )
protected

◆ _Subscript() [2/2]

PixelId mrmeshpy.Vector_PixelId_PixelId._Subscript ( self,
PixelId i )
protected

◆ autoResizeAt()

PixelId mrmeshpy.Vector_PixelId_PixelId.autoResizeAt ( self,
PixelId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None mrmeshpy.Vector_PixelId_PixelId.autoResizeSet ( self,
PixelId i,
PixelId val )

◆ autoResizeSet() [2/2]

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

◆ back() [1/2]

PixelId mrmeshpy.Vector_PixelId_PixelId.back ( self)

◆ back() [2/2]

PixelId mrmeshpy.Vector_PixelId_PixelId.back ( self)

◆ backId()

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

◆ beginId()

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

◆ capacity()

int mrmeshpy.Vector_PixelId_PixelId.capacity ( self)

◆ clear()

None mrmeshpy.Vector_PixelId_PixelId.clear ( self)

◆ data() [1/2]

PixelId mrmeshpy.Vector_PixelId_PixelId.data ( self)

◆ data() [2/2]

PixelId mrmeshpy.Vector_PixelId_PixelId.data ( self)

◆ empty()

bool mrmeshpy.Vector_PixelId_PixelId.empty ( self)

◆ endId()

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

◆ front() [1/2]

PixelId mrmeshpy.Vector_PixelId_PixelId.front ( self)

◆ front() [2/2]

PixelId mrmeshpy.Vector_PixelId_PixelId.front ( self)

◆ heapBytes()

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

◆ pop_back()

None mrmeshpy.Vector_PixelId_PixelId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_PixelId_PixelId.push_back ( self,
PixelId t )

◆ push_back() [2/2]

None mrmeshpy.Vector_PixelId_PixelId.push_back ( self,
PixelId t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.Vector_PixelId_PixelId.resize ( self,
int newSize,
PixelId t )

◆ resizeNoInit()

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

◆ resizeWithReserve() [1/2]

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

◆ resizeWithReserve() [2/2]

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

◆ size()

int mrmeshpy.Vector_PixelId_PixelId.size ( self)

◆ swap()

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

◆ vec_() [1/2]

std_vector_Id_PixelTag mrmeshpy.Vector_PixelId_PixelId.vec_ ( self)
the user can directly manipulate the vector, anyway she cannot break anything

◆ vec_() [2/2]

None mrmeshpy.Vector_PixelId_PixelId.vec_ ( self,
std_vector_Id_PixelTag arg1 )

Member Data Documentation

◆ const_reference

mrmeshpy.Vector_PixelId_PixelId.const_reference = PixelId
static

◆ reference

mrmeshpy.Vector_PixelId_PixelId.reference = PixelId
static

◆ value_type

mrmeshpy.Vector_PixelId_PixelId.value_type = PixelId
static

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