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

Public Member Functions

 PartialChangeMeshTopologyAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PartialChangeMeshTopologyAction (meshlib.PartialChangeMeshTopologyAction _other)
 PartialChangeMeshTopologyAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectMesh obj, meshlib.CmpOld _3, meshlib.MeshTopology oldTopology)
 PartialChangeMeshTopologyAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectMesh obj, meshlib.SetNew _3, meshlib.MeshTopology newTopology)
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 meshlib.PartialChangeMeshTopologyAction staticDowncastFromHistoryAction (meshlib.HistoryAction object)
static meshlib.PartialChangeMeshTopologyAction 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 efficiently storage of partial change in mesh topology (e.g. a modification of small region) Generated from class MR::PartialChangeMeshTopologyAction. Base classes: Direct: (non-virtual) MR::HistoryAction

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

Constructor & Destructor Documentation

◆ PartialChangeMeshTopologyAction() [1/4]

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

◆ PartialChangeMeshTopologyAction() [2/4]

meshlib.PartialChangeMeshTopologyAction.PartialChangeMeshTopologyAction ( meshlib.PartialChangeMeshTopologyAction _other)

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

Calls MR_PartialChangeMeshTopologyAction_ConstructFromAnother().

◆ PartialChangeMeshTopologyAction() [3/4]

meshlib.PartialChangeMeshTopologyAction.PartialChangeMeshTopologyAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectMesh obj,
meshlib.CmpOld _3,
meshlib.MeshTopology oldTopology )

use this constructor after the object already contains new topology, and old topology is passed to remember the difference for future undoing Generated from constructor MR::PartialChangeMeshTopologyAction::PartialChangeMeshTopologyAction. 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 _3 might be preserved in the constructed object. The reference to the parameter oldTopology might be preserved in the constructed object.

Calls MR_PartialChangeMeshTopologyAction_Construct_MR_CmpOld().

◆ PartialChangeMeshTopologyAction() [4/4]

meshlib.PartialChangeMeshTopologyAction.PartialChangeMeshTopologyAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectMesh obj,
meshlib.SetNew _3,
meshlib.MeshTopology newTopology )

use this constructor to set new object's topology and remember its difference from existed topology for future undoing Generated from constructor MR::PartialChangeMeshTopologyAction::PartialChangeMeshTopologyAction. 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 _3 might be preserved in the constructed object. The reference to the parameter newTopology might be preserved in the constructed object.

Calls MR_PartialChangeMeshTopologyAction_Construct_MR_SetNew().

Member Function Documentation

◆ action()

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

Generated from method MR::PartialChangeMeshTopologyAction::action.

Calls MR_PartialChangeMeshTopologyAction_action().

◆ dynamicDowncastFromHistoryAction()

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

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

Calls MR_PartialChangeMeshTopologyAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heapBytes()

long meshlib.PartialChangeMeshTopologyAction.heapBytes ( )

Generated from method MR::PartialChangeMeshTopologyAction::heapBytes.

Calls MR_PartialChangeMeshTopologyAction_heapBytes().

◆ name()

meshlib.std_string meshlib.PartialChangeMeshTopologyAction.name ( )

Generated from method MR::PartialChangeMeshTopologyAction::name.

Calls MR_PartialChangeMeshTopologyAction_name().

◆ staticDowncastFromHistoryAction()

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

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

Calls MR_PartialChangeMeshTopologyAction_MutableStaticDowncastFrom_MR_HistoryAction().

◆ upcastToHistoryAction()

meshlib.HistoryAction meshlib.PartialChangeMeshTopologyAction.upcastToHistoryAction ( )

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

Calls MR_PartialChangeMeshTopologyAction_MutableUpcastTo_MR_HistoryAction().


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