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

Public Member Functions

 VersatileChangeMeshPointsAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 VersatileChangeMeshPointsAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectMesh obj)
meshlib.std_string name ()
void action (meshlib.HistoryAction_Type t)
long heapBytes ()
void compress ()
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.VersatileChangeMeshPointsAction staticDowncastFromHistoryAction (meshlib.HistoryAction object)
static meshlib.VersatileChangeMeshPointsAction 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; It starts its life storing all points (uncompressed format), but can be switched to store only modified points (compressed format) Generated from class MR::VersatileChangeMeshPointsAction. Base classes: Direct: (non-virtual) MR::HistoryAction

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

Constructor & Destructor Documentation

◆ VersatileChangeMeshPointsAction() [1/2]

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

◆ VersatileChangeMeshPointsAction() [2/2]

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

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

Member Function Documentation

◆ action()

void meshlib.VersatileChangeMeshPointsAction.action ( meshlib.HistoryAction_Type t)

Generated from method MR::VersatileChangeMeshPointsAction::action.

Calls MR_VersatileChangeMeshPointsAction_action().

◆ compress()

void meshlib.VersatileChangeMeshPointsAction.compress ( )

switch from uncompressed to compressed format to occupy less amount of memory Generated from method MR::VersatileChangeMeshPointsAction::compress.

Calls MR_VersatileChangeMeshPointsAction_compress().

◆ dynamicDowncastFromHistoryAction()

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

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

Calls MR_VersatileChangeMeshPointsAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heapBytes()

long meshlib.VersatileChangeMeshPointsAction.heapBytes ( )

Generated from method MR::VersatileChangeMeshPointsAction::heapBytes.

Calls MR_VersatileChangeMeshPointsAction_heapBytes().

◆ name()

meshlib.std_string meshlib.VersatileChangeMeshPointsAction.name ( )

Generated from method MR::VersatileChangeMeshPointsAction::name.

Calls MR_VersatileChangeMeshPointsAction_name().

◆ setObjectDirty()

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

Generated from method MR::VersatileChangeMeshPointsAction::setObjectDirty.

Calls MR_VersatileChangeMeshPointsAction_setObjectDirty().

◆ staticDowncastFromHistoryAction()

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

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

Calls MR_VersatileChangeMeshPointsAction_MutableStaticDowncastFrom_MR_HistoryAction().

◆ upcastToHistoryAction()

meshlib.HistoryAction meshlib.VersatileChangeMeshPointsAction.upcastToHistoryAction ( )

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

Calls MR_VersatileChangeMeshPointsAction_MutableUpcastTo_MR_HistoryAction().


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