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

Undo action for efficiently storage of partial change in mesh points (e.g. a modification of small region) Generated from class MR.PartialChangeMeshPointsAction. Base classes: Direct: (non-virtual) MR.HistoryAction This is the const half of the class. More...

+ Inheritance diagram for MR.Const_PartialChangeMeshPointsAction:

Classes

struct  _Underlying
 
struct  _UnderlyingShared
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_PartialChangeMeshPointsAction (MR._ByValue_PartialChangeMeshPointsAction _other)
 Generated from constructor MR.PartialChangeMeshPointsAction.PartialChangeMeshPointsAction.
 
unsafe Const_PartialChangeMeshPointsAction (string name, MR._ByValueShared_ObjectMesh obj, MR.Const_CmpOld _3, MR.Const_VertCoords oldPoints)
 use this constructor after the object already contains new points, and old points are passed to remember the difference for future undoing Generated from constructor MR.PartialChangeMeshPointsAction.PartialChangeMeshPointsAction.
 
unsafe Const_PartialChangeMeshPointsAction (string name, MR._ByValueShared_ObjectMesh obj, MR.Const_SetNew _3, MR.Misc._Moved< MR.VertCoords > newPoints)
 use this constructor to set new object's points and remember its difference from existed points for future undoing Generated from constructor MR.PartialChangeMeshPointsAction.PartialChangeMeshPointsAction.
 
unsafe MR.Std.String name ()
 Generated from method MR.PartialChangeMeshPointsAction.name.
 
unsafe ulong heapBytes ()
 Generated from method MR.PartialChangeMeshPointsAction.heapBytes.
 

Static Public Member Functions

static unsafe implicit operator MR.Const_HistoryAction (Const_PartialChangeMeshPointsAction self)
 
static unsafe operator Const_PartialChangeMeshPointsAction? (MR.Const_HistoryAction parent)
 

Protected Member Functions

unsafe void _LateMakeShared (_Underlying *ptr)
 
virtual unsafe void Dispose (bool disposing)
 

Properties

override unsafe bool _IsOwning [get]
 Check if the underlying shared pointer is owning or not.
 
- Properties inherited from MR.Misc.SharedObject< Const_PartialChangeMeshPointsAction >
override bool _IsOwning [get]
 This checks if the shared_ptr itself is owning or not, rather than whether we own our shared_ptr, which isn't a given. The derived classes have to implement this, since it depends on the specific shared_ptr type.
 
bool _IsOwningSharedPtr [get]
 This checks if we own the underlying shared_ptr instance, regardless of whether it owns the underlying object, which is orthogonal. We repurpose _IsOwningVal for this.
 

Detailed Description

Undo action for efficiently storage of partial change in mesh points (e.g. a modification of small region) Generated from class MR.PartialChangeMeshPointsAction. Base classes: Direct: (non-virtual) MR.HistoryAction This is the const half of the class.


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