Public Member Functions | |
| PartialChangeMeshAction (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| PartialChangeMeshAction (meshlib.PartialChangeMeshAction _other) | |
| PartialChangeMeshAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectMesh obj, meshlib.CmpOld _3, meshlib.Mesh oldMesh) | |
| PartialChangeMeshAction (java.lang.String name, meshlib.std_shared_ptr_MR_ObjectMesh obj, meshlib.SetNew _3, meshlib.std_shared_ptr_MR_Mesh newMesh) | |
| 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.PartialChangeMeshAction | staticDowncastFromHistoryAction (meshlib.HistoryAction object) |
| static meshlib.PartialChangeMeshAction | 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) | |
Undo action for efficiently storage of partial change in mesh (e.g. a modification of small region) Generated from class MR::PartialChangeMeshAction. Base classes: Direct: (non-virtual) MR::HistoryAction
Instances created here own their C++ objects, see CppObject.
| meshlib.PartialChangeMeshAction.PartialChangeMeshAction | ( | 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.
| meshlib.PartialChangeMeshAction.PartialChangeMeshAction | ( | meshlib.PartialChangeMeshAction | _other | ) |
Generated from constructor MR::PartialChangeMeshAction::PartialChangeMeshAction. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_PartialChangeMeshAction_ConstructFromAnother().
| meshlib.PartialChangeMeshAction.PartialChangeMeshAction | ( | java.lang.String | name, |
| meshlib.std_shared_ptr_MR_ObjectMesh | obj, | ||
| meshlib.CmpOld | _3, | ||
| meshlib.Mesh | oldMesh ) |
use this constructor after the object already contains new mesh, and old mesh is passed to remember the difference for future undoing Generated from constructor MR::PartialChangeMeshAction::PartialChangeMeshAction. 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 oldMesh might be preserved in the constructed object.
Calls MR_PartialChangeMeshAction_Construct_MR_CmpOld().
| meshlib.PartialChangeMeshAction.PartialChangeMeshAction | ( | java.lang.String | name, |
| meshlib.std_shared_ptr_MR_ObjectMesh | obj, | ||
| meshlib.SetNew | _3, | ||
| meshlib.std_shared_ptr_MR_Mesh | newMesh ) |
use this constructor to set new object's mesh and remember its difference from existed mesh for future undoing Generated from constructor MR::PartialChangeMeshAction::PartialChangeMeshAction. 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 newMesh might be preserved in the constructed object.
Calls MR_PartialChangeMeshAction_Construct_MR_SetNew().
| void meshlib.PartialChangeMeshAction.action | ( | meshlib.HistoryAction_Type | _1 | ) |
Generated from method MR::PartialChangeMeshAction::action.
Calls MR_PartialChangeMeshAction_action().
|
static |
Dynamic downcast from the base class MR::HistoryAction. Returns null if the object isn't actually a PartialChangeMeshAction. The result refers to object.
Calls MR_PartialChangeMeshAction_MutableDynamicDowncastFrom_MR_HistoryAction().
| long meshlib.PartialChangeMeshAction.heapBytes | ( | ) |
Generated from method MR::PartialChangeMeshAction::heapBytes.
Calls MR_PartialChangeMeshAction_heapBytes().
| meshlib.std_string meshlib.PartialChangeMeshAction.name | ( | ) |
Generated from method MR::PartialChangeMeshAction::name.
Calls MR_PartialChangeMeshAction_name().
|
static |
Static downcast from the base class MR::HistoryAction. Undefined behavior if the object isn't actually a PartialChangeMeshAction. The result refers to object.
Calls MR_PartialChangeMeshAction_MutableStaticDowncastFrom_MR_HistoryAction().
| meshlib.HistoryAction meshlib.PartialChangeMeshAction.upcastToHistoryAction | ( | ) |
Upcasts to the base class MR::HistoryAction. The result refers to this object.
Calls MR_PartialChangeMeshAction_MutableUpcastTo_MR_HistoryAction().