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

Public Member Functions

ModelPointsData __getitem__ (self, ConstObjId i)
ConstModelPointsData __getitem__ (ConstVector_ModelPointsData_ObjId self, ConstObjId i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, ConstModelPointsData val)
None __init__ (self, list arg0)
None __init__ (self, ConstVector_ModelPointsData_ObjId arg0)
typing.Iterator[ModelPointsData] __iter__ (self)
typing.Iterator[ModelPointsData] __iter__ (ConstVector_ModelPointsData_ObjId self)
None __setitem__ (self, ConstObjId arg0, ConstModelPointsData arg1)
Vector_ModelPointsData_ObjId assign (self, ConstVector_ModelPointsData_ObjId other)
None assign (self, int count, ConstModelPointsData val)
ModelPointsData autoResizeAt (self, ConstObjId i)
None autoResizeSet (self, ConstObjId pos, int len, ConstModelPointsData val)
None autoResizeSet (self, ConstObjId i, ConstModelPointsData val)
ModelPointsData back (self)
ConstModelPointsData back (ConstVector_ModelPointsData_ObjId self)
None clear (self)
ModelPointsData data (self)
ConstModelPointsData data (ConstVector_ModelPointsData_ObjId self)
ModelPointsData front (self)
ConstModelPointsData front (ConstVector_ModelPointsData_ObjId self)
None pop_back (self)
None push_back (self, ConstModelPointsData t)
None push_back (self, ModelPointsData t)
None reserve (self, int capacity)
None resize (self, int newSize)
None resize (self, int newSize, ConstModelPointsData t)
None resizeWithReserve (self, int newSize)
None resizeWithReserve (self, int newSize, ConstModelPointsData value)
None shrink_to_fit (self)
None swap (self, Vector_ModelPointsData_ObjId b)
std_vector_ModelPointsData_Allocator_ModelPointsData vec (self)
None vec (self, Const_std_vector_ModelPointsData_Allocator_ModelPointsData arg1)
Public Member Functions inherited from mrmeshpy.ConstVector_ModelPointsData_ObjId
ConstModelPointsData __getitem__ (self, ConstObjId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[ModelPointsData] __iter__ (self)
int __len__ (self)
ObjId backId (self)
ObjId beginId (self)
int capacity (self)
bool empty (self)
ObjId endId (self)
int heapBytes (self)
int max_size (self)
int size (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstVector_ModelPointsData_ObjId
 ConstStdVector = Const_std_vector_ModelPointsData_Allocator_ModelPointsData
 Const_const_pointer = ConstModelPointsData
 Const_const_reference = ConstModelPointsData
 Const_pointer = ConstModelPointsData
 Const_reference = ConstModelPointsData
 Const_value_type = ConstModelPointsData
 StdVector = std_vector_ModelPointsData_Allocator_ModelPointsData
 const_pointer = ModelPointsData
 const_reference = ModelPointsData
 pointer = ModelPointsData
 reference = ModelPointsData
 value_type = ModelPointsData
Static Protected Attributes inherited from mrmeshpy.ConstVector_ModelPointsData_ObjId
typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<MR::ModelPointsData, MR::ObjId>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

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

◆ __init__() [3/6]

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

◆ __init__() [4/6]

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

◆ __init__() [5/6]

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

◆ __init__() [6/6]

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

Member Function Documentation

◆ __getitem__() [1/2]

ConstModelPointsData mrmeshpy.Vector_ModelPointsData_ObjId.__getitem__ ( ConstVector_ModelPointsData_ObjId self,
ConstObjId i )

◆ __getitem__() [2/2]

ModelPointsData mrmeshpy.Vector_ModelPointsData_ObjId.__getitem__ ( self,
ConstObjId i )

◆ __iter__() [1/2]

typing.Iterator[ModelPointsData] mrmeshpy.Vector_ModelPointsData_ObjId.__iter__ ( ConstVector_ModelPointsData_ObjId self)

◆ __iter__() [2/2]

typing.Iterator[ModelPointsData] mrmeshpy.Vector_ModelPointsData_ObjId.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.Vector_ModelPointsData_ObjId.__setitem__ ( self,
ConstObjId arg0,
ConstModelPointsData arg1 )

◆ assign() [1/2]

Vector_ModelPointsData_ObjId mrmeshpy.Vector_ModelPointsData_ObjId.assign ( self,
ConstVector_ModelPointsData_ObjId other )

◆ assign() [2/2]

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

◆ autoResizeAt()

ModelPointsData mrmeshpy.Vector_ModelPointsData_ObjId.autoResizeAt ( self,
ConstObjId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

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

◆ autoResizeSet() [2/2]

None mrmeshpy.Vector_ModelPointsData_ObjId.autoResizeSet ( self,
ConstObjId pos,
int len,
ConstModelPointsData 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]

ConstModelPointsData mrmeshpy.Vector_ModelPointsData_ObjId.back ( ConstVector_ModelPointsData_ObjId self)

◆ back() [2/2]

ModelPointsData mrmeshpy.Vector_ModelPointsData_ObjId.back ( self)

◆ clear()

None mrmeshpy.Vector_ModelPointsData_ObjId.clear ( self)

◆ data() [1/2]

ConstModelPointsData mrmeshpy.Vector_ModelPointsData_ObjId.data ( ConstVector_ModelPointsData_ObjId self)

◆ data() [2/2]

ModelPointsData mrmeshpy.Vector_ModelPointsData_ObjId.data ( self)

◆ front() [1/2]

ConstModelPointsData mrmeshpy.Vector_ModelPointsData_ObjId.front ( ConstVector_ModelPointsData_ObjId self)

◆ front() [2/2]

ModelPointsData mrmeshpy.Vector_ModelPointsData_ObjId.front ( self)

◆ pop_back()

None mrmeshpy.Vector_ModelPointsData_ObjId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_ModelPointsData_ObjId.push_back ( self,
ConstModelPointsData t )

◆ push_back() [2/2]

None mrmeshpy.Vector_ModelPointsData_ObjId.push_back ( self,
ModelPointsData t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.Vector_ModelPointsData_ObjId.resize ( self,
int newSize,
ConstModelPointsData t )

◆ resizeWithReserve() [1/2]

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

◆ resizeWithReserve() [2/2]

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

◆ shrink_to_fit()

None mrmeshpy.Vector_ModelPointsData_ObjId.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstVector_ModelPointsData_ObjId.

◆ vec() [2/2]

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

Reimplemented from mrmeshpy.ConstVector_ModelPointsData_ObjId.


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