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

Public Member Functions

None __init__ (self, str name, ObjectMeshHolder obj)
 
None __init__ (self, str name, ObjectMeshHolder obj, FaceColors newColorMap)
 
None __init__ (self, ChangeFacesColorMapAction arg0)
 
int heapBytes (self)
 
str name (self)
 

Static Public Member Functions

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

Static Public Attributes

 Obj = ObjectMeshHolder
 

Detailed Description

Generated from:  MR::ChangeFacesColorMapAction

History action for faces color map change
\\ingroup HistoryGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.ChangeFacesColorMapAction.__init__ ( self,
str name,
ObjectMeshHolder obj )
use this constructor to remember object's face colors before making any changes in them

◆ __init__() [2/3]

None meshlib.mrmeshpy.ChangeFacesColorMapAction.__init__ ( self,
str name,
ObjectMeshHolder obj,
FaceColors newColorMap )
use this constructor to remember object's face colors and immediate set new value

◆ __init__() [3/3]

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

Member Function Documentation

◆ action()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ heapBytes()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ name()

str meshlib.mrmeshpy.ChangeFacesColorMapAction.name ( self)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ setObjectDirty()

None meshlib.mrmeshpy.ChangeFacesColorMapAction.setObjectDirty ( ObjectMeshHolder obj)
static

Member Data Documentation

◆ Obj

meshlib.mrmeshpy.ChangeFacesColorMapAction.Obj = ObjectMeshHolder
static

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