MeshLib C++ Docs
Loading...
Searching...
No Matches

#include <MRMesh/MRChangePointCloudNormalsAction.h>

Inheritance diagram for MR::ChangeOneNormalInCloudAction:

Public Types

using Obj = ObjectPoints
Public Types inherited from MR::HistoryAction
enum class  Type { Type::Undo , Type::Redo }

Public Member Functions

 ChangeOneNormalInCloudAction (std::string name, const std::shared_ptr< ObjectPoints > &obj, VertId pointId)
 use this constructor to remember point's normal before making any changes in it
 ChangeOneNormalInCloudAction (std::string name, const std::shared_ptr< ObjectPoints > &obj, VertId pointId, const Vector3f &newNormal)
 use this constructor to remember point's normal and immediate set new normal
virtual std::string name () const override
virtual void action (HistoryAction::Type) override
 This function is called on history action (undo, redo, etc.)
virtual size_t heapBytes () const override
 returns the amount of memory this object occupies on heap
Public Member Functions inherited from MR::HistoryAction
virtual ~HistoryAction ()=default

Static Public Member Functions

static void setObjectDirty (const std::shared_ptr< ObjectPoints > &obj)

Detailed Description

Undo action that modifies one point's normal inside ObjectPoints


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