QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
Class for undo/redo command for removing vertices in mesh filling holes created by removed faces. More...
#include <qgsmesheditor.h>
Public Member Functions | |
QgsMeshLayerUndoCommandRemoveVerticesFillHoles (QgsMeshEditor *meshEditor, const QList< int > &verticesToRemoveIndexes, QList< int > *remainingVerticesPointer=nullptr) | |
Constructor with the associated meshEditor and vertices that will be removed. More... | |
void | redo () override |
Public Member Functions inherited from QgsMeshLayerUndoCommandMeshEdit | |
void | redo () override |
void | undo () override |
Additional Inherited Members | |
Protected Member Functions inherited from QgsMeshLayerUndoCommandMeshEdit | |
QgsMeshLayerUndoCommandMeshEdit (QgsMeshEditor *meshEditor) | |
Constructor for the base class. More... | |
Protected Attributes inherited from QgsMeshLayerUndoCommandMeshEdit | |
QList< QgsMeshEditor::Edit > | mEdits |
QPointer< QgsMeshEditor > | mMeshEditor |
Class for undo/redo command for removing vertices in mesh filling holes created by removed faces.
Definition at line 416 of file qgsmesheditor.h.
QgsMeshLayerUndoCommandRemoveVerticesFillHoles::QgsMeshLayerUndoCommandRemoveVerticesFillHoles | ( | QgsMeshEditor * | meshEditor, |
const QList< int > & | verticesToRemoveIndexes, | ||
QList< int > * | remainingVerticesPointer = nullptr |
||
) |
Constructor with the associated meshEditor and vertices that will be removed.
The pointer remainingVertex is used to know the remaining vertex that have not been removed by the operation after the command was pushed in the undo/redo stack. The list pointed by remainingVertexPointer must not be destructed until the command is pushed to an undo/redo stack or the redo() method is called.
Definition at line 904 of file qgsmesheditor.cpp.
|
override |
Definition at line 915 of file qgsmesheditor.cpp.