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

Public Member Functions

 ChangeGridAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ChangeGridAction (meshlib.ChangeGridAction _other)
 ChangeGridAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectVoxels obj)
meshlib.std_string name ()
void action (meshlib.HistoryAction_Type obj)
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_ObjectVoxels obj)
static meshlib.ChangeGridAction staticDowncastFromHistoryAction (meshlib.HistoryAction object)
static meshlib.ChangeGridAction 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

Undo action for ObjectVoxels all data change (need for faster undo redo) Generated from class MR::ChangeGridAction. Base classes: Direct: (non-virtual) MR::HistoryAction

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

Constructor & Destructor Documentation

◆ ChangeGridAction() [1/3]

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

◆ ChangeGridAction() [2/3]

meshlib.ChangeGridAction.ChangeGridAction ( meshlib.ChangeGridAction _other)

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

Calls MR_ChangeGridAction_ConstructFromAnother().

◆ ChangeGridAction() [3/3]

meshlib.ChangeGridAction.ChangeGridAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectVoxels obj )

use this constructor to remember object's data before making any changes in it Generated from constructor MR::ChangeGridAction::ChangeGridAction. 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_ChangeGridAction_Construct().

Member Function Documentation

◆ action()

void meshlib.ChangeGridAction.action ( meshlib.HistoryAction_Type obj)

Generated from method MR::ChangeGridAction::action.

Calls MR_ChangeGridAction_action().

◆ dynamicDowncastFromHistoryAction()

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

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

Calls MR_ChangeGridAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heapBytes()

long meshlib.ChangeGridAction.heapBytes ( )

Generated from method MR::ChangeGridAction::heapBytes.

Calls MR_ChangeGridAction_heapBytes().

◆ name()

meshlib.std_string meshlib.ChangeGridAction.name ( )

Generated from method MR::ChangeGridAction::name.

Calls MR_ChangeGridAction_name().

◆ setObjectDirty()

void meshlib.ChangeGridAction.setObjectDirty ( meshlib.std_shared_ptr_MR_ObjectVoxels obj)
static

Generated from method MR::ChangeGridAction::setObjectDirty.

Calls MR_ChangeGridAction_setObjectDirty().

◆ staticDowncastFromHistoryAction()

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

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

Calls MR_ChangeGridAction_MutableStaticDowncastFrom_MR_HistoryAction().

◆ upcastToHistoryAction()

meshlib.HistoryAction meshlib.ChangeGridAction.upcastToHistoryAction ( )

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

Calls MR_ChangeGridAction_MutableUpcastTo_MR_HistoryAction().


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