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

Public Member Functions

 __init__ (self, *args, **kwargs)
int heapBytes (self)
str name (self)
ConstUndirectedEdgeBitSet selection (self)

Static Public Member Functions

None setObjectDirty (*args, **kwargs)

Static Public Attributes

 ConstObj = ConstObjectMesh
 Obj = ObjectMesh

Detailed Description

Generated from:  MR::ChangeMeshEdgeSelectionAction

Undo action for ObjectMesh edge selection

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstChangeMeshEdgeSelectionAction.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstChangeMeshEdgeSelectionAction, name: str, objMesh: meshlib.mrmeshpy.ObjectMesh) -> None

use this constructor to remember object's edge selection before making any changes in it

2. __init__(self: meshlib.mrmeshpy.ConstChangeMeshEdgeSelectionAction, name: str, objMesh: meshlib.mrmeshpy.ObjectMesh, newSelection: meshlib.mrmeshpy.UndirectedEdgeBitSet) -> None

use this constructor to remember object's edge selection and immediate set new selection

3. __init__(self: meshlib.mrmeshpy.ConstChangeMeshEdgeSelectionAction, arg0: meshlib.mrmeshpy.ConstChangeMeshEdgeSelectionAction) -> None

Implicit copy constructor.

4. __init__(self: meshlib.mrmeshpy.ConstChangeMeshEdgeSelectionAction, : meshlib.mrmeshpy.ConstChangeMeshEdgeSelectionAction) -> None

Member Function Documentation

◆ heapBytes()

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

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstChangeMeshEdgeSelectionAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ selection()

ConstUndirectedEdgeBitSet mrmeshpy.ConstChangeMeshEdgeSelectionAction.selection ( self)

◆ setObjectDirty()

None mrmeshpy.ConstChangeMeshEdgeSelectionAction.setObjectDirty ( * args,
** kwargs )
static
empty because set dirty is inside selectEdges

Member Data Documentation

◆ ConstObj

mrmeshpy.ConstChangeMeshEdgeSelectionAction.ConstObj = ConstObjectMesh
static

◆ Obj

mrmeshpy.ConstChangeMeshEdgeSelectionAction.Obj = ObjectMesh
static

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