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

Public Member Functions

 ChangVoxelSelectionAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ChangVoxelSelectionAction (meshlib.ChangVoxelSelectionAction _other)
 ChangVoxelSelectionAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectVoxels objVoxels)
meshlib.std_string name ()
void action (meshlib.HistoryAction_Type _1)
meshlib.VoxelBitSet selection ()
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 void setObjectDirty (meshlib.std_shared_ptr_MR_ObjectVoxels _1)
static meshlib.ChangVoxelSelectionAction staticDowncastFromHistoryAction (meshlib.HistoryAction object)
static meshlib.ChangVoxelSelectionAction 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 ObjectVoxels face selection Generated from class MR::ChangVoxelSelectionAction. Base classes: Direct: (non-virtual) MR::HistoryAction

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

Constructor & Destructor Documentation

◆ ChangVoxelSelectionAction() [1/3]

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

◆ ChangVoxelSelectionAction() [2/3]

meshlib.ChangVoxelSelectionAction.ChangVoxelSelectionAction ( meshlib.ChangVoxelSelectionAction _other)

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

Calls MR_ChangVoxelSelectionAction_ConstructFromAnother().

◆ ChangVoxelSelectionAction() [3/3]

meshlib.ChangVoxelSelectionAction.ChangVoxelSelectionAction ( java.lang.String name,
meshlib.std_shared_ptr_MR_ObjectVoxels objVoxels )

use this constructor to remember object's face selection before making any changes in it Generated from constructor MR::ChangVoxelSelectionAction::ChangVoxelSelectionAction. The reference to the parameter name might be preserved in the constructed object. The reference to the parameter objVoxels might be preserved in the constructed object.

Calls MR_ChangVoxelSelectionAction_Construct().

Member Function Documentation

◆ action()

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

Generated from method MR::ChangVoxelSelectionAction::action.

Calls MR_ChangVoxelSelectionAction_action().

◆ dynamicDowncastFromHistoryAction()

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

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

Calls MR_ChangVoxelSelectionAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heapBytes()

long meshlib.ChangVoxelSelectionAction.heapBytes ( )

Generated from method MR::ChangVoxelSelectionAction::heapBytes.

Calls MR_ChangVoxelSelectionAction_heapBytes().

◆ name()

meshlib.std_string meshlib.ChangVoxelSelectionAction.name ( )

Generated from method MR::ChangVoxelSelectionAction::name.

Calls MR_ChangVoxelSelectionAction_name().

◆ selection()

meshlib.VoxelBitSet meshlib.ChangVoxelSelectionAction.selection ( )

Generated from method MR::ChangVoxelSelectionAction::selection.

Calls MR_ChangVoxelSelectionAction_selection().

◆ setObjectDirty()

void meshlib.ChangVoxelSelectionAction.setObjectDirty ( meshlib.std_shared_ptr_MR_ObjectVoxels _1)
static

empty because set dirty is inside selectFaces Generated from method MR::ChangVoxelSelectionAction::setObjectDirty.

Calls MR_ChangVoxelSelectionAction_setObjectDirty().

◆ staticDowncastFromHistoryAction()

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

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

Calls MR_ChangVoxelSelectionAction_MutableStaticDowncastFrom_MR_HistoryAction().

◆ upcastToHistoryAction()

meshlib.HistoryAction meshlib.ChangVoxelSelectionAction.upcastToHistoryAction ( )

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

Calls MR_ChangVoxelSelectionAction_MutableUpcastTo_MR_HistoryAction().


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