MeshLib Documentation
Loading...
Searching...
No Matches
MR::ChangeBoundarySelectionHistoryAction Class Reference

#include <MRMeshBoundarySelectionWidget.h>

+ Inheritance diagram for MR::ChangeBoundarySelectionHistoryAction:

Public Member Functions

 ChangeBoundarySelectionHistoryAction (std::string name, BoundarySelectionWidget &widget, std::shared_ptr< ObjectMeshHolder > object, int index)
 
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

◆ ChangeBoundarySelectionHistoryAction()

MR::ChangeBoundarySelectionHistoryAction::ChangeBoundarySelectionHistoryAction ( std::string name,
BoundarySelectionWidget & widget,
std::shared_ptr< ObjectMeshHolder > object,
int index )

Member Function Documentation

◆ action()

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

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

Implements MR::HistoryAction.

◆ heapBytes()

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

returns the amount of memory this object occupies on heap

Implements MR::HistoryAction.

◆ name()

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

Implements MR::HistoryAction.


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