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

Public Member Functions

 ChangeObjectColorAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ChangeObjectColorAction (meshlib.ChangeObjectColorAction _other)
 ChangeObjectColorAction (java.lang.String name, meshlib.std_shared_ptr_MR_VisualObject obj, meshlib.ChangeObjectColorAction_Type type)
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_VisualObject _1)
static meshlib.ChangeObjectColorAction staticDowncastFromHistoryAction (meshlib.HistoryAction object)
static meshlib.ChangeObjectColorAction 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 object color palette change To use with setFrontColorsForAllViewports, setBackColorsForAllViewports, setFrontColor, setBackColor Generated from class MR::ChangeObjectColorAction. Base classes: Direct: (non-virtual) MR::HistoryAction

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

Constructor & Destructor Documentation

◆ ChangeObjectColorAction() [1/3]

meshlib.ChangeObjectColorAction.ChangeObjectColorAction ( 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.

◆ ChangeObjectColorAction() [2/3]

meshlib.ChangeObjectColorAction.ChangeObjectColorAction ( meshlib.ChangeObjectColorAction _other)

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

Calls MR_ChangeObjectColorAction_ConstructFromAnother().

◆ ChangeObjectColorAction() [3/3]

meshlib.ChangeObjectColorAction.ChangeObjectColorAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_VisualObject obj,
meshlib.ChangeObjectColorAction_Type type )

Constructed from original obj Generated from constructor MR::ChangeObjectColorAction::ChangeObjectColorAction. 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 type might be preserved in the constructed object.

Calls MR_ChangeObjectColorAction_Construct().

Member Function Documentation

◆ action()

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

Generated from method MR::ChangeObjectColorAction::action.

Calls MR_ChangeObjectColorAction_action().

◆ dynamicDowncastFromHistoryAction()

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

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

Calls MR_ChangeObjectColorAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heapBytes()

long meshlib.ChangeObjectColorAction.heapBytes ( )

Generated from method MR::ChangeObjectColorAction::heapBytes.

Calls MR_ChangeObjectColorAction_heapBytes().

◆ name()

meshlib.std_string meshlib.ChangeObjectColorAction.name ( )

Generated from method MR::ChangeObjectColorAction::name.

Calls MR_ChangeObjectColorAction_name().

◆ setObjectDirty()

void meshlib.ChangeObjectColorAction.setObjectDirty ( meshlib.std_shared_ptr_MR_VisualObject _1)
static

Generated from method MR::ChangeObjectColorAction::setObjectDirty.

Calls MR_ChangeObjectColorAction_setObjectDirty().

◆ staticDowncastFromHistoryAction()

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

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

Calls MR_ChangeObjectColorAction_MutableStaticDowncastFrom_MR_HistoryAction().

◆ upcastToHistoryAction()

meshlib.HistoryAction meshlib.ChangeObjectColorAction.upcastToHistoryAction ( )

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

Calls MR_ChangeObjectColorAction_MutableUpcastTo_MR_HistoryAction().


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