MeshLib C# Docs
Loading...
Searching...
No Matches
MR.VersatileChangeMeshPointsAction Class Reference

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 This is the non-const half of the class. More...

Inheritance diagram for MR.VersatileChangeMeshPointsAction:

Public Member Functions

unsafe VersatileChangeMeshPointsAction (string name, MR.Std.Const_SharedPtr_MRObjectMesh 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.
unsafe void action (MR.HistoryAction.Type t)
 Generated from method MR.VersatileChangeMeshPointsAction.action.
unsafe void compress ()
 switch from uncompressed to compressed format to occupy less amount of memory Generated from method MR.VersatileChangeMeshPointsAction.compress.

Static Public Member Functions

static unsafe implicit operator MR.HistoryAction (VersatileChangeMeshPointsAction self)
static unsafe operator VersatileChangeMeshPointsAction? (MR.HistoryAction parent)

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 This is the non-const half of the class.

Constructor & Destructor Documentation

◆ VersatileChangeMeshPointsAction()

unsafe MR.VersatileChangeMeshPointsAction.VersatileChangeMeshPointsAction ( string name,
MR.Std.Const_SharedPtr_MRObjectMesh obj )
inline

use this constructor to remember object's mesh points in uncompressed format before making any changes in it Generated from constructor MR.VersatileChangeMeshPointsAction.VersatileChangeMeshPointsAction.

Member Function Documentation

◆ action()

unsafe void MR.VersatileChangeMeshPointsAction.action ( MR.HistoryAction.Type t)
inline

◆ compress()

unsafe void MR.VersatileChangeMeshPointsAction.compress ( )
inline

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

◆ operator MR.HistoryAction()

unsafe implicit MR.VersatileChangeMeshPointsAction.operator MR.HistoryAction ( VersatileChangeMeshPointsAction self)
inlinestatic

◆ operator VersatileChangeMeshPointsAction?()

unsafe MR.VersatileChangeMeshPointsAction.operator VersatileChangeMeshPointsAction? ( MR.HistoryAction parent)
inlineexplicitstatic

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