MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.ChangeMeshFaceSelectionAction Class Reference
+ Inheritance diagram for meshlib.mrmeshpy.ChangeMeshFaceSelectionAction:

Public Member Functions

None __init__ (self, str name, ObjectMesh objMesh)
 
None __init__ (self, str name, ObjectMesh objMesh, FaceBitSet newSelection)
 
None __init__ (self, ChangeMeshFaceSelectionAction arg0)
 
int heapBytes (self)
 
str name (self)
 
FaceBitSet selection (self)
 

Static Public Member Functions

None action (*args, **kwargs)
 
None setObjectDirty (*args, **kwargs)
 

Static Public Attributes

 Obj = ObjectMesh
 

Detailed Description

Generated from:  MR::ChangeMeshFaceSelectionAction

Undo action for ObjectMesh face selection

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.ChangeMeshFaceSelectionAction.__init__ ( self,
str name,
ObjectMesh objMesh )
use this constructor to remember object's face selection before making any changes in it

◆ __init__() [2/3]

None meshlib.mrmeshpy.ChangeMeshFaceSelectionAction.__init__ ( self,
str name,
ObjectMesh objMesh,
FaceBitSet newSelection )
use this constructor to remember object's face selection and immediate set new value

◆ __init__() [3/3]

None meshlib.mrmeshpy.ChangeMeshFaceSelectionAction.__init__ ( self,
ChangeMeshFaceSelectionAction arg0 )
Implicit copy constructor.

Member Function Documentation

◆ action()

None meshlib.mrmeshpy.ChangeMeshFaceSelectionAction.action ( * self,
** actionType )
static
This function is called on history action (undo, redo, etc.)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ heapBytes()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ name()

str meshlib.mrmeshpy.ChangeMeshFaceSelectionAction.name ( self)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ selection()

FaceBitSet meshlib.mrmeshpy.ChangeMeshFaceSelectionAction.selection ( self)

◆ setObjectDirty()

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

Member Data Documentation

◆ Obj

meshlib.mrmeshpy.ChangeMeshFaceSelectionAction.Obj = ObjectMesh
static

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