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

Public Member Functions

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

Detailed Description

Generated from:  MR::FaceMap
Aliases:  MapOrHashMap_FaceId_FaceId.Dense

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

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

◆ __init__() [3/6]

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

◆ __init__() [4/6]

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

◆ __init__() [5/6]

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

◆ __init__() [6/6]

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

Member Function Documentation

◆ __getitem__() [1/2]

ConstFaceId mrmeshpy.FaceMap.__getitem__ ( ConstFaceMap self,
ConstFaceId i )

◆ __getitem__() [2/2]

FaceId mrmeshpy.FaceMap.__getitem__ ( self,
ConstFaceId i )

◆ __iter__() [1/2]

typing.Iterator[FaceId] mrmeshpy.FaceMap.__iter__ ( ConstFaceMap self)

◆ __iter__() [2/2]

typing.Iterator[FaceId] mrmeshpy.FaceMap.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.FaceMap.__setitem__ ( self,
ConstFaceId arg0,
ConstFaceId arg1 )

◆ assign() [1/2]

FaceMap mrmeshpy.FaceMap.assign ( self,
ConstFaceMap other )

◆ assign() [2/2]

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

◆ autoResizeAt()

FaceId mrmeshpy.FaceMap.autoResizeAt ( self,
ConstFaceId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

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

◆ autoResizeSet() [2/2]

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

ConstFaceId mrmeshpy.FaceMap.back ( ConstFaceMap self)

Reimplemented from mrmeshpy.ConstFaceMap.

◆ back() [2/2]

FaceId mrmeshpy.FaceMap.back ( self)

Reimplemented from mrmeshpy.ConstFaceMap.

◆ clear()

None mrmeshpy.FaceMap.clear ( self)

◆ data() [1/2]

ConstFaceId mrmeshpy.FaceMap.data ( ConstFaceMap self)

Reimplemented from mrmeshpy.ConstFaceMap.

◆ data() [2/2]

FaceId mrmeshpy.FaceMap.data ( self)

Reimplemented from mrmeshpy.ConstFaceMap.

◆ front() [1/2]

ConstFaceId mrmeshpy.FaceMap.front ( ConstFaceMap self)

Reimplemented from mrmeshpy.ConstFaceMap.

◆ front() [2/2]

FaceId mrmeshpy.FaceMap.front ( self)

Reimplemented from mrmeshpy.ConstFaceMap.

◆ pop_back()

None mrmeshpy.FaceMap.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.FaceMap.push_back ( self,
ConstFaceId t )

◆ push_back() [2/2]

None mrmeshpy.FaceMap.push_back ( self,
FaceId t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.FaceMap.resize ( self,
int newSize,
ConstFaceId t )

◆ resizeNoInit()

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

◆ resizeWithReserve() [2/2]

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

◆ shrink_to_fit()

None mrmeshpy.FaceMap.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstFaceMap.

◆ vec() [2/2]

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

Reimplemented from mrmeshpy.ConstFaceMap.


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