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

Public Member Functions

 PartialChangeMeshPointsAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PartialChangeMeshPointsAction (meshlib.PartialChangeMeshPointsAction _other)
 PartialChangeMeshPointsAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectMesh obj, meshlib.CmpOld _3, meshlib.VertCoords oldPoints)
 PartialChangeMeshPointsAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectMesh obj, meshlib.SetNew _3, meshlib.VertCoords newPoints)
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.PartialChangeMeshPointsAction staticDowncastFromHistoryAction (meshlib.HistoryAction object)
static meshlib.PartialChangeMeshPointsAction 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 points (e.g. a modification of small region) Generated from class MR::PartialChangeMeshPointsAction. Base classes: Direct: (non-virtual) MR::HistoryAction

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

Constructor & Destructor Documentation

◆ PartialChangeMeshPointsAction() [1/4]

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

◆ PartialChangeMeshPointsAction() [2/4]

meshlib.PartialChangeMeshPointsAction.PartialChangeMeshPointsAction ( meshlib.PartialChangeMeshPointsAction _other)

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

Calls MR_PartialChangeMeshPointsAction_ConstructFromAnother().

◆ PartialChangeMeshPointsAction() [3/4]

meshlib.PartialChangeMeshPointsAction.PartialChangeMeshPointsAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectMesh obj,
meshlib.CmpOld _3,
meshlib.VertCoords oldPoints )

use this constructor after the object already contains new points, and old points are passed to remember the difference for future undoing Generated from constructor MR::PartialChangeMeshPointsAction::PartialChangeMeshPointsAction. 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 oldPoints might be preserved in the constructed object.

Calls MR_PartialChangeMeshPointsAction_Construct_MR_CmpOld().

◆ PartialChangeMeshPointsAction() [4/4]

meshlib.PartialChangeMeshPointsAction.PartialChangeMeshPointsAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectMesh obj,
meshlib.SetNew _3,
meshlib.VertCoords newPoints )

use this constructor to set new object's points and remember its difference from existed points for future undoing Generated from constructor MR::PartialChangeMeshPointsAction::PartialChangeMeshPointsAction. 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 newPoints might be preserved in the constructed object.

Calls MR_PartialChangeMeshPointsAction_Construct_MR_SetNew().

Member Function Documentation

◆ action()

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

Generated from method MR::PartialChangeMeshPointsAction::action.

Calls MR_PartialChangeMeshPointsAction_action().

◆ dynamicDowncastFromHistoryAction()

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

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

Calls MR_PartialChangeMeshPointsAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heapBytes()

long meshlib.PartialChangeMeshPointsAction.heapBytes ( )

Generated from method MR::PartialChangeMeshPointsAction::heapBytes.

Calls MR_PartialChangeMeshPointsAction_heapBytes().

◆ name()

meshlib.std_string meshlib.PartialChangeMeshPointsAction.name ( )

Generated from method MR::PartialChangeMeshPointsAction::name.

Calls MR_PartialChangeMeshPointsAction_name().

◆ staticDowncastFromHistoryAction()

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

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

Calls MR_PartialChangeMeshPointsAction_MutableStaticDowncastFrom_MR_HistoryAction().

◆ upcastToHistoryAction()

meshlib.HistoryAction meshlib.PartialChangeMeshPointsAction.upcastToHistoryAction ( )

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

Calls MR_PartialChangeMeshPointsAction_MutableUpcastTo_MR_HistoryAction().


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