MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.Buffer_PixelId_PixelId Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, int size)
 
typing.Iterator __iter__ (self)
 
PixelId backId (self)
 
PixelId beginId (self)
 
int capacity (self)
 
None clear (self)
 
NoDefInit_PixelId data (self)
 
NoDefInit_PixelId data (self)
 
bool empty (self)
 
PixelId endId (self)
 
int heapBytes (self)
 
None resize (self, int newSize)
 
int size (self)
 

Static Public Attributes

 T = NoDefInit_PixelId
 
 const_iterator = NoDefInit_PixelId
 
 const_reference = NoDefInit_PixelId
 
 iterator = NoDefInit_PixelId
 
 reference = NoDefInit_PixelId
 

Protected Member Functions

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

Detailed Description

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


 \\brief std::vector<V>-like container that is
  1) resized without initialization of its elements,
  2) much simplified: no push_back and many other methods
 \\tparam V type of stored elements
 \\tparam I type of index (shall be convertible to size_t)
 \\ingroup BasicGroup

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.Buffer_PixelId_PixelId.__init__ ( self)

◆ __init__() [2/2]

None meshlib.mrmeshpy.Buffer_PixelId_PixelId.__init__ ( self,
int size )

Member Function Documentation

◆ __iter__()

typing.Iterator meshlib.mrmeshpy.Buffer_PixelId_PixelId.__iter__ ( self)

◆ _Subscript() [1/2]

NoDefInit_PixelId meshlib.mrmeshpy.Buffer_PixelId_PixelId._Subscript ( self,
PixelId i )
protected

◆ _Subscript() [2/2]

NoDefInit_PixelId meshlib.mrmeshpy.Buffer_PixelId_PixelId._Subscript ( self,
PixelId i )
protected

◆ backId()

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

◆ beginId()

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

◆ capacity()

int meshlib.mrmeshpy.Buffer_PixelId_PixelId.capacity ( self)

◆ clear()

None meshlib.mrmeshpy.Buffer_PixelId_PixelId.clear ( self)

◆ data() [1/2]

NoDefInit_PixelId meshlib.mrmeshpy.Buffer_PixelId_PixelId.data ( self)

◆ data() [2/2]

NoDefInit_PixelId meshlib.mrmeshpy.Buffer_PixelId_PixelId.data ( self)

◆ empty()

bool meshlib.mrmeshpy.Buffer_PixelId_PixelId.empty ( self)

◆ endId()

PixelId meshlib.mrmeshpy.Buffer_PixelId_PixelId.endId ( self)
returns backId() + 1

◆ heapBytes()

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

◆ resize()

None meshlib.mrmeshpy.Buffer_PixelId_PixelId.resize ( self,
int newSize )

◆ size()

int meshlib.mrmeshpy.Buffer_PixelId_PixelId.size ( self)

Member Data Documentation

◆ const_iterator

meshlib.mrmeshpy.Buffer_PixelId_PixelId.const_iterator = NoDefInit_PixelId
static

◆ const_reference

meshlib.mrmeshpy.Buffer_PixelId_PixelId.const_reference = NoDefInit_PixelId
static

◆ iterator

meshlib.mrmeshpy.Buffer_PixelId_PixelId.iterator = NoDefInit_PixelId
static

◆ reference

meshlib.mrmeshpy.Buffer_PixelId_PixelId.reference = NoDefInit_PixelId
static

◆ T

meshlib.mrmeshpy.Buffer_PixelId_PixelId.T = NoDefInit_PixelId
static

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