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

Public Member Functions

WatershedGraph.BasinInfo __getitem__ (self, ConstGraphVertId i)
WatershedGraph.ConstBasinInfo __getitem__ (ConstVector_WatershedGraph_BasinInfo_GraphVertId self, ConstGraphVertId i)
None __init__ (self)
None __init__ (self, int size)
None __init__ (self, int size, WatershedGraph.ConstBasinInfo val)
None __init__ (self, list arg0)
None __init__ (self, ConstVector_WatershedGraph_BasinInfo_GraphVertId arg0)
typing.Iterator[WatershedGraph.BasinInfo] __iter__ (self)
typing.Iterator[WatershedGraph.BasinInfo] __iter__ (ConstVector_WatershedGraph_BasinInfo_GraphVertId self)
None __setitem__ (self, ConstGraphVertId arg0, WatershedGraph.ConstBasinInfo arg1)
Vector_WatershedGraph_BasinInfo_GraphVertId assign (self, ConstVector_WatershedGraph_BasinInfo_GraphVertId other)
None assign (self, int count, WatershedGraph.ConstBasinInfo val)
WatershedGraph.BasinInfo autoResizeAt (self, ConstGraphVertId i)
None autoResizeSet (self, ConstGraphVertId pos, int len, WatershedGraph.ConstBasinInfo val)
None autoResizeSet (self, ConstGraphVertId i, WatershedGraph.ConstBasinInfo val)
WatershedGraph.BasinInfo back (self)
WatershedGraph.ConstBasinInfo back (ConstVector_WatershedGraph_BasinInfo_GraphVertId self)
None clear (self)
WatershedGraph.BasinInfo data (self)
WatershedGraph.ConstBasinInfo data (ConstVector_WatershedGraph_BasinInfo_GraphVertId self)
WatershedGraph.BasinInfo front (self)
WatershedGraph.ConstBasinInfo front (ConstVector_WatershedGraph_BasinInfo_GraphVertId self)
None pop_back (self)
None push_back (self, WatershedGraph.ConstBasinInfo t)
None push_back (self, WatershedGraph.BasinInfo t)
None reserve (self, int capacity)
None resize (self, int newSize)
None resize (self, int newSize, WatershedGraph.ConstBasinInfo t)
None resizeWithReserve (self, int newSize)
None resizeWithReserve (self, int newSize, WatershedGraph.ConstBasinInfo value)
None shrink_to_fit (self)
None swap (self, Vector_WatershedGraph_BasinInfo_GraphVertId b)
std_vector_WatershedGraph_BasinInfo_Allocator_WatershedGraph_BasinInfo vec (self)
None vec (self, Const_std_vector_WatershedGraph_BasinInfo_Allocator_WatershedGraph_BasinInfo arg1)
Public Member Functions inherited from mrmeshpy.ConstVector_WatershedGraph_BasinInfo_GraphVertId
WatershedGraph.ConstBasinInfo __getitem__ (self, ConstGraphVertId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[WatershedGraph.BasinInfo] __iter__ (self)
int __len__ (self)
GraphVertId backId (self)
GraphVertId beginId (self)
int capacity (self)
bool empty (self)
GraphVertId 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_WatershedGraph_BasinInfo_GraphVertId
 ConstStdVector = Const_std_vector_WatershedGraph_BasinInfo_Allocator_WatershedGraph_BasinInfo
 Const_const_pointer = WatershedGraph.ConstBasinInfo
 Const_const_reference = WatershedGraph.ConstBasinInfo
 Const_pointer = WatershedGraph.ConstBasinInfo
 Const_reference = WatershedGraph.ConstBasinInfo
 Const_value_type = WatershedGraph.ConstBasinInfo
 StdVector = std_vector_WatershedGraph_BasinInfo_Allocator_WatershedGraph_BasinInfo
 const_pointer = WatershedGraph.BasinInfo
 const_reference = WatershedGraph.BasinInfo
 pointer = WatershedGraph.BasinInfo
 reference = WatershedGraph.BasinInfo
 value_type = WatershedGraph.BasinInfo
Static Protected Attributes inherited from mrmeshpy.ConstVector_WatershedGraph_BasinInfo_GraphVertId
typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<MR::WatershedGraph::BasinInfo, MR::GraphVertId>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

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

◆ __init__() [3/6]

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

◆ __init__() [4/6]

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

◆ __init__() [5/6]

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

◆ __init__() [6/6]

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

Member Function Documentation

◆ __getitem__() [1/2]

WatershedGraph.ConstBasinInfo mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.__getitem__ ( ConstVector_WatershedGraph_BasinInfo_GraphVertId self,
ConstGraphVertId i )

◆ __getitem__() [2/2]

WatershedGraph.BasinInfo mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.__getitem__ ( self,
ConstGraphVertId i )

◆ __iter__() [1/2]

typing.Iterator[WatershedGraph.BasinInfo] mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.__iter__ ( ConstVector_WatershedGraph_BasinInfo_GraphVertId self)

◆ __iter__() [2/2]

typing.Iterator[WatershedGraph.BasinInfo] mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.__iter__ ( self)

◆ __setitem__()

None mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.__setitem__ ( self,
ConstGraphVertId arg0,
WatershedGraph.ConstBasinInfo arg1 )

◆ assign() [1/2]

Vector_WatershedGraph_BasinInfo_GraphVertId mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.assign ( self,
ConstVector_WatershedGraph_BasinInfo_GraphVertId other )

◆ assign() [2/2]

None mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.assign ( self,
int count,
WatershedGraph.ConstBasinInfo val )
replaces the contents with \\p count copies of \\p val

◆ autoResizeAt()

WatershedGraph.BasinInfo mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.autoResizeAt ( self,
ConstGraphVertId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.autoResizeSet ( self,
ConstGraphVertId i,
WatershedGraph.ConstBasinInfo 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_WatershedGraph_BasinInfo_GraphVertId.autoResizeSet ( self,
ConstGraphVertId pos,
int len,
WatershedGraph.ConstBasinInfo 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]

WatershedGraph.ConstBasinInfo mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.back ( ConstVector_WatershedGraph_BasinInfo_GraphVertId self)

◆ back() [2/2]

WatershedGraph.BasinInfo mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.back ( self)

◆ clear()

None mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.clear ( self)

◆ data() [1/2]

WatershedGraph.ConstBasinInfo mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.data ( ConstVector_WatershedGraph_BasinInfo_GraphVertId self)

◆ data() [2/2]

WatershedGraph.BasinInfo mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.data ( self)

◆ front() [1/2]

WatershedGraph.ConstBasinInfo mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.front ( ConstVector_WatershedGraph_BasinInfo_GraphVertId self)

◆ front() [2/2]

WatershedGraph.BasinInfo mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.front ( self)

◆ pop_back()

None mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.pop_back ( self)

◆ push_back() [1/2]

None mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.push_back ( self,
WatershedGraph.BasinInfo t )

◆ push_back() [2/2]

None mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.push_back ( self,
WatershedGraph.ConstBasinInfo t )

◆ reserve()

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

◆ resize() [1/2]

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

◆ resize() [2/2]

None mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.resize ( self,
int newSize,
WatershedGraph.ConstBasinInfo t )

◆ resizeWithReserve() [1/2]

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

◆ resizeWithReserve() [2/2]

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

◆ shrink_to_fit()

None mrmeshpy.Vector_WatershedGraph_BasinInfo_GraphVertId.shrink_to_fit ( self)

◆ swap()

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

◆ vec() [1/2]

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

Reimplemented from mrmeshpy.ConstVector_WatershedGraph_BasinInfo_GraphVertId.

◆ vec() [2/2]

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

Reimplemented from mrmeshpy.ConstVector_WatershedGraph_BasinInfo_GraphVertId.


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