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

Public Member Functions

 PartialChangeMeshDataAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PartialChangeMeshDataAction (meshlib.PartialChangeMeshDataAction _other)
 PartialChangeMeshDataAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectMesh obj, meshlib.ObjectMeshData newData)
meshlib.std_string name ()
void action (meshlib.HistoryAction_Type type)
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 meshlib.PartialChangeMeshDataAction staticDowncastFromHistoryAction (meshlib.HistoryAction object)
static meshlib.PartialChangeMeshDataAction 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 ObjectMeshData change partially Generated from class MR::PartialChangeMeshDataAction. Base classes: Direct: (non-virtual) MR::HistoryAction

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

Constructor & Destructor Documentation

◆ PartialChangeMeshDataAction() [1/3]

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

◆ PartialChangeMeshDataAction() [2/3]

meshlib.PartialChangeMeshDataAction.PartialChangeMeshDataAction ( meshlib.PartialChangeMeshDataAction _other)

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

Calls MR_PartialChangeMeshDataAction_ConstructFromAnother().

◆ PartialChangeMeshDataAction() [3/3]

meshlib.PartialChangeMeshDataAction.PartialChangeMeshDataAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectMesh obj,
meshlib.ObjectMeshData newData )

use this constructor to remember object's data and immediately set new data Generated from constructor MR::PartialChangeMeshDataAction::PartialChangeMeshDataAction. 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 newData might be preserved in the constructed object.

Calls MR_PartialChangeMeshDataAction_Construct().

Member Function Documentation

◆ action()

void meshlib.PartialChangeMeshDataAction.action ( meshlib.HistoryAction_Type type)

Generated from method MR::PartialChangeMeshDataAction::action.

Calls MR_PartialChangeMeshDataAction_action().

◆ dynamicDowncastFromHistoryAction()

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

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

Calls MR_PartialChangeMeshDataAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heapBytes()

long meshlib.PartialChangeMeshDataAction.heapBytes ( )

Generated from method MR::PartialChangeMeshDataAction::heapBytes.

Calls MR_PartialChangeMeshDataAction_heapBytes().

◆ name()

meshlib.std_string meshlib.PartialChangeMeshDataAction.name ( )

Generated from method MR::PartialChangeMeshDataAction::name.

Calls MR_PartialChangeMeshDataAction_name().

◆ staticDowncastFromHistoryAction()

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

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

Calls MR_PartialChangeMeshDataAction_MutableStaticDowncastFrom_MR_HistoryAction().

◆ upcastToHistoryAction()

meshlib.HistoryAction meshlib.PartialChangeMeshDataAction.upcastToHistoryAction ( )

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

Calls MR_PartialChangeMeshDataAction_MutableUpcastTo_MR_HistoryAction().


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