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

Public Member Functions

None __init__ (self, str name, VisualObject obj)
 
None __init__ (self, str name, VisualObject obj, VertColors newVertsColorMap)
 
None __init__ (self, ChangeVertsColorMapAction arg0)
 
int heapBytes (self)
 
str name (self)
 

Static Public Member Functions

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

Static Public Attributes

 Obj = VisualObject
 

Detailed Description

Generated from:  MR::ChangeVertsColorMapAction

History action for vertsColorMap change
\\ingroup HistoryGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None meshlib.mrmeshpy.ChangeVertsColorMapAction.__init__ ( self,
str name,
VisualObject obj,
VertColors newVertsColorMap )
use this constructor to remember object's vertex colors and immediate set new value

◆ __init__() [3/3]

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

Member Function Documentation

◆ action()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ heapBytes()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ name()

str meshlib.mrmeshpy.ChangeVertsColorMapAction.name ( self)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ setObjectDirty()

None meshlib.mrmeshpy.ChangeVertsColorMapAction.setObjectDirty ( VisualObject obj)
static

Member Data Documentation

◆ Obj

meshlib.mrmeshpy.ChangeVertsColorMapAction.Obj = VisualObject
static

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