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

Public Member Functions

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

Static Public Member Functions

None setObjectDirty (*args, **kwargs)

Static Public Attributes

 ConstObj = ConstObjectMesh
 Obj = ObjectMesh

Detailed Description

Generated from:  MR::ChangeMeshFaceSelectionAction

Undo action for ObjectMesh face selection

Constructor & Destructor Documentation

◆ __init__()

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

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

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

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ heapBytes()

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

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstChangeMeshFaceSelectionAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ selection()

ConstFaceBitSet mrmeshpy.ConstChangeMeshFaceSelectionAction.selection ( self)

◆ setObjectDirty()

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

Member Data Documentation

◆ ConstObj

mrmeshpy.ConstChangeMeshFaceSelectionAction.ConstObj = ConstObjectMesh
static

◆ Obj

mrmeshpy.ConstChangeMeshFaceSelectionAction.Obj = ObjectMesh
static

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