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

Public Member Functions

 ChangeMeshPointsAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ChangeMeshPointsAction (meshlib.ChangeMeshPointsAction _other)
 ChangeMeshPointsAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectMesh obj)
 ChangeMeshPointsAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectMesh obj, meshlib.VertCoords newCoords)
meshlib.std_string name ()
void action (meshlib.HistoryAction_Type _1)
long heapBytes ()
meshlib.std_shared_ptr_MR_ObjectMesh obj ()
meshlib.VertCoords clonePoints ()
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_ObjectMesh obj)
static meshlib.ChangeMeshPointsAction staticDowncastFromHistoryAction (meshlib.HistoryAction object)
static meshlib.ChangeMeshPointsAction 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 ObjectMesh points only (not topology) change Generated from class MR::ChangeMeshPointsAction. Base classes: Direct: (non-virtual) MR::HistoryAction

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

Constructor & Destructor Documentation

◆ ChangeMeshPointsAction() [1/4]

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

◆ ChangeMeshPointsAction() [2/4]

meshlib.ChangeMeshPointsAction.ChangeMeshPointsAction ( meshlib.ChangeMeshPointsAction _other)

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

Calls MR_ChangeMeshPointsAction_ConstructFromAnother().

◆ ChangeMeshPointsAction() [3/4]

meshlib.ChangeMeshPointsAction.ChangeMeshPointsAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectMesh obj )

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

◆ ChangeMeshPointsAction() [4/4]

meshlib.ChangeMeshPointsAction.ChangeMeshPointsAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectMesh obj,
meshlib.VertCoords newCoords )

use this constructor to remember object's mesh points and immediate set new value Generated from constructor MR::ChangeMeshPointsAction::ChangeMeshPointsAction. 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 newCoords might be preserved in the constructed object.

Calls MR_ChangeMeshPointsAction_Construct_3().

Member Function Documentation

◆ action()

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

Generated from method MR::ChangeMeshPointsAction::action.

Calls MR_ChangeMeshPointsAction_action().

◆ clonePoints()

meshlib.VertCoords meshlib.ChangeMeshPointsAction.clonePoints ( )

Generated from method MR::ChangeMeshPointsAction::clonePoints.

Calls MR_ChangeMeshPointsAction_clonePoints().

◆ dynamicDowncastFromHistoryAction()

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

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

Calls MR_ChangeMeshPointsAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heapBytes()

long meshlib.ChangeMeshPointsAction.heapBytes ( )

Generated from method MR::ChangeMeshPointsAction::heapBytes.

Calls MR_ChangeMeshPointsAction_heapBytes().

◆ name()

meshlib.std_string meshlib.ChangeMeshPointsAction.name ( )

Generated from method MR::ChangeMeshPointsAction::name.

Calls MR_ChangeMeshPointsAction_name().

◆ obj()

meshlib.std_shared_ptr_MR_ObjectMesh meshlib.ChangeMeshPointsAction.obj ( )

Generated from method MR::ChangeMeshPointsAction::obj.

Calls MR_ChangeMeshPointsAction_obj().

◆ setObjectDirty()

void meshlib.ChangeMeshPointsAction.setObjectDirty ( meshlib.std_shared_ptr_MR_ObjectMesh obj)
static

Generated from method MR::ChangeMeshPointsAction::setObjectDirty.

Calls MR_ChangeMeshPointsAction_setObjectDirty().

◆ staticDowncastFromHistoryAction()

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

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

Calls MR_ChangeMeshPointsAction_MutableStaticDowncastFrom_MR_HistoryAction().

◆ upcastToHistoryAction()

meshlib.HistoryAction meshlib.ChangeMeshPointsAction.upcastToHistoryAction ( )

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

Calls MR_ChangeMeshPointsAction_MutableUpcastTo_MR_HistoryAction().


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