MeshLib
 
Loading...
Searching...
No Matches
MR::SurfaceContoursWidgetClearAction Class Reference

#include <MRSurfaceContoursWidget.h>

+ Inheritance diagram for MR::SurfaceContoursWidgetClearAction:

Public Member Functions

 SurfaceContoursWidgetClearAction (std::string name, SurfaceContoursWidget &widget)
 
std::string name () const override
 
void action (Type type) override
 This function is called on history action (undo, redo, etc.)
 
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
 

Additional Inherited Members

- Public Types inherited from MR::HistoryAction
enum class  Type { Undo , Redo }
 

Constructor & Destructor Documentation

◆ SurfaceContoursWidgetClearAction()

MR::SurfaceContoursWidgetClearAction::SurfaceContoursWidgetClearAction ( std::string name,
SurfaceContoursWidget & widget )

Member Function Documentation

◆ action()

void MR::SurfaceContoursWidgetClearAction::action ( Type actionType)
overridevirtual

This function is called on history action (undo, redo, etc.)

Implements MR::HistoryAction.

◆ heapBytes()

size_t MR::SurfaceContoursWidgetClearAction::heapBytes ( ) const
nodiscardoverridevirtual

returns the amount of memory this object occupies on heap

Implements MR::HistoryAction.

◆ name()

std::string MR::SurfaceContoursWidgetClearAction::name ( ) const
inlinenodiscardoverridevirtual

Implements MR::HistoryAction.


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