QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
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. | |
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. | |
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 442 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 1090 of file qgsmesheditor.cpp.
|
override |
Definition at line 1101 of file qgsmesheditor.cpp.