MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.ChangeFacesColorMapAction Class Reference
Inheritance diagram for meshlib.ChangeFacesColorMapAction:

Public Member Functions

 ChangeFacesColorMapAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ChangeFacesColorMapAction (meshlib.ChangeFacesColorMapAction _other)
 ChangeFacesColorMapAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectMeshHolder obj)
 ChangeFacesColorMapAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectMeshHolder obj, meshlib.FaceColors newColorMap)
meshlib.std_string name ()
void action (meshlib.HistoryAction_Type _1)
long heapBytes ()
meshlib.HistoryAction upcastToHistoryAction ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Static Public Member Functions

static void setObjectDirty (meshlib.std_shared_ptr_MR_ObjectMeshHolder obj)
static meshlib.ChangeFacesColorMapAction staticDowncastFromHistoryAction (meshlib.HistoryAction object)
static meshlib.ChangeFacesColorMapAction dynamicDowncastFromHistoryAction (meshlib.HistoryAction object)

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

History action for faces color map change Generated from class MR::ChangeFacesColorMapAction. Base classes: Direct: (non-virtual) MR::HistoryAction

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ ChangeFacesColorMapAction() [1/4]

meshlib.ChangeFacesColorMapAction.ChangeFacesColorMapAction ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ ChangeFacesColorMapAction() [2/4]

meshlib.ChangeFacesColorMapAction.ChangeFacesColorMapAction ( meshlib.ChangeFacesColorMapAction _other)

Generated from constructor MR::ChangeFacesColorMapAction::ChangeFacesColorMapAction. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_ChangeFacesColorMapAction_ConstructFromAnother().

◆ ChangeFacesColorMapAction() [3/4]

meshlib.ChangeFacesColorMapAction.ChangeFacesColorMapAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectMeshHolder obj )

use this constructor to remember object's face colors before making any changes in them Generated from constructor MR::ChangeFacesColorMapAction::ChangeFacesColorMapAction. The reference to the parameter name might be preserved in the constructed object. The reference to the parameter obj might be preserved in the constructed object.

Calls MR_ChangeFacesColorMapAction_Construct_2().

◆ ChangeFacesColorMapAction() [4/4]

meshlib.ChangeFacesColorMapAction.ChangeFacesColorMapAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectMeshHolder obj,
meshlib.FaceColors newColorMap )

use this constructor to remember object's face colors and immediate set new value Generated from constructor MR::ChangeFacesColorMapAction::ChangeFacesColorMapAction. The reference to the parameter name might be preserved in the constructed object. The reference to the parameter obj might be preserved in the constructed object. The reference to the parameter newColorMap might be preserved in the constructed object.

Calls MR_ChangeFacesColorMapAction_Construct_3().

Member Function Documentation

◆ action()

void meshlib.ChangeFacesColorMapAction.action ( meshlib.HistoryAction_Type _1)

Generated from method MR::ChangeFacesColorMapAction::action.

Calls MR_ChangeFacesColorMapAction_action().

◆ dynamicDowncastFromHistoryAction()

meshlib.ChangeFacesColorMapAction meshlib.ChangeFacesColorMapAction.dynamicDowncastFromHistoryAction ( meshlib.HistoryAction object)
static

Dynamic downcast from the base class MR::HistoryAction. Returns null if the object isn't actually a ChangeFacesColorMapAction. The result refers to object.

Calls MR_ChangeFacesColorMapAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heapBytes()

long meshlib.ChangeFacesColorMapAction.heapBytes ( )

Generated from method MR::ChangeFacesColorMapAction::heapBytes.

Calls MR_ChangeFacesColorMapAction_heapBytes().

◆ name()

meshlib.std_string meshlib.ChangeFacesColorMapAction.name ( )

Generated from method MR::ChangeFacesColorMapAction::name.

Calls MR_ChangeFacesColorMapAction_name().

◆ setObjectDirty()

void meshlib.ChangeFacesColorMapAction.setObjectDirty ( meshlib.std_shared_ptr_MR_ObjectMeshHolder obj)
static

Generated from method MR::ChangeFacesColorMapAction::setObjectDirty.

Calls MR_ChangeFacesColorMapAction_setObjectDirty().

◆ staticDowncastFromHistoryAction()

meshlib.ChangeFacesColorMapAction meshlib.ChangeFacesColorMapAction.staticDowncastFromHistoryAction ( meshlib.HistoryAction object)
static

Static downcast from the base class MR::HistoryAction. Undefined behavior if the object isn't actually a ChangeFacesColorMapAction. The result refers to object.

Calls MR_ChangeFacesColorMapAction_MutableStaticDowncastFrom_MR_HistoryAction().

◆ upcastToHistoryAction()

meshlib.HistoryAction meshlib.ChangeFacesColorMapAction.upcastToHistoryAction ( )

Upcasts to the base class MR::HistoryAction. The result refers to this object.

Calls MR_ChangeFacesColorMapAction_MutableUpcastTo_MR_HistoryAction().


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