MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.VertMap:

Public Member Functions

VertId __getitem__ (self, ConstVertId i)
ConstVertId __getitem__ (ConstVertMap self, ConstVertId i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, ConstVertId val)
None __init__ (self, list arg0)
None __init__ (self, ConstVertMap arg0)
typing.Iterator[VertId] __iter__ (self)
typing.Iterator[VertId] __iter__ (ConstVertMap self)
None __setitem__ (self, ConstVertId arg0, ConstVertId arg1)
VertMap assign (self, ConstVertMap other)
None assign (self, int count, ConstVertId val)
VertId autoResizeAt (self, ConstVertId i)
None autoResizeSet (self, ConstVertId pos, int len, ConstVertId val)
None autoResizeSet (self, ConstVertId i, ConstVertId val)
VertId back (self)
ConstVertId back (ConstVertMap self)
None clear (self)
VertId data (self)
ConstVertId data (ConstVertMap self)
VertId front (self)
ConstVertId front (ConstVertMap self)
None pop_back (self)
None push_back (self, ConstVertId t)
None push_back (self, VertId t)
None reserve (self, int capacity)
None resize (self, int newSize)
None resize (self, int newSize, ConstVertId t)
None resizeNoInit (self, int targetSize, ReserveMode mode='MR::ReserveMode::Exact')
None resizeWithReserve (self, int newSize)
None resizeWithReserve (self, int newSize, ConstVertId value)
None shrink_to_fit (self)
None swap (self, VertMap b)
std_vector_Id_VertTag_Allocator_Id_VertTag vec (self)
None vec (self, Const_std_vector_Id_VertTag_Allocator_Id_VertTag arg1)
Public Member Functions inherited from mrmeshpy.ConstVertMap
bool __eq__ (self, ConstVertMap b)
ConstVertId __getitem__ (self, ConstVertId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[VertId] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVertMap b)
VertId backId (self)
VertId beginId (self)
int capacity (self)
bool empty (self)
VertId 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.ConstVertMap
typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::VertMap
Aliases:  MapOrHashMap_VertId_VertId.Dense

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

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

◆ __init__() [3/6]

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

◆ __init__() [4/6]

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

◆ __init__() [5/6]

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

◆ __init__() [6/6]

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

Member Function Documentation

◆ __getitem__() [1/2]

ConstVertId mrmeshpy.VertMap.__getitem__ ( ConstVertMap self,
ConstVertId i )

◆ __getitem__() [2/2]

VertId mrmeshpy.VertMap.__getitem__ ( self,
ConstVertId i )

◆ __iter__() [1/2]

typing.Iterator[VertId] mrmeshpy.VertMap.__iter__ ( ConstVertMap self)

◆ __iter__() [2/2]

typing.Iterator[VertId] mrmeshpy.VertMap.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.VertMap.__setitem__ ( self,
ConstVertId arg0,
ConstVertId arg1 )

◆ assign() [1/2]

VertMap mrmeshpy.VertMap.assign ( self,
ConstVertMap other )

◆ assign() [2/2]

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

◆ autoResizeAt()

VertId mrmeshpy.VertMap.autoResizeAt ( self,
ConstVertId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None mrmeshpy.VertMap.autoResizeSet ( self,
ConstVertId i,
ConstVertId val )
sets the element i to the given value, adjusting the size of the vector to include new element

◆ autoResizeSet() [2/2]

None mrmeshpy.VertMap.autoResizeSet ( self,
ConstVertId pos,
int len,
ConstVertId 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]

ConstVertId mrmeshpy.VertMap.back ( ConstVertMap self)

Reimplemented from mrmeshpy.ConstVertMap.

◆ back() [2/2]

VertId mrmeshpy.VertMap.back ( self)

Reimplemented from mrmeshpy.ConstVertMap.

◆ clear()

None mrmeshpy.VertMap.clear ( self)

◆ data() [1/2]

ConstVertId mrmeshpy.VertMap.data ( ConstVertMap self)

Reimplemented from mrmeshpy.ConstVertMap.

◆ data() [2/2]

VertId mrmeshpy.VertMap.data ( self)

Reimplemented from mrmeshpy.ConstVertMap.

◆ front() [1/2]

ConstVertId mrmeshpy.VertMap.front ( ConstVertMap self)

Reimplemented from mrmeshpy.ConstVertMap.

◆ front() [2/2]

VertId mrmeshpy.VertMap.front ( self)

Reimplemented from mrmeshpy.ConstVertMap.

◆ pop_back()

None mrmeshpy.VertMap.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.VertMap.push_back ( self,
ConstVertId t )

◆ push_back() [2/2]

None mrmeshpy.VertMap.push_back ( self,
VertId t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.VertMap.resize ( self,
int newSize,
ConstVertId t )

◆ resizeNoInit()

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

◆ resizeWithReserve() [2/2]

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

◆ shrink_to_fit()

None mrmeshpy.VertMap.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstVertMap.

◆ vec() [2/2]

None mrmeshpy.VertMap.vec ( self,
Const_std_vector_Id_VertTag_Allocator_Id_VertTag arg1 )
The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented from mrmeshpy.ConstVertMap.


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