QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
Public Member Functions | List of all members
QgsMeshLayerUndoCommandRemoveVerticesFillHoles Class Reference

Class for undo/redo command for removing vertices in mesh filling holes created by removed faces. More...

#include <qgsmesheditor.h>

Inheritance diagram for QgsMeshLayerUndoCommandRemoveVerticesFillHoles:
Inheritance graph
[legend]

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< QgsMeshEditormMeshEditor
 

Detailed Description

Class for undo/redo command for removing vertices in mesh filling holes created by removed faces.

Since
QGIS 3.22

Definition at line 442 of file qgsmesheditor.h.

Constructor & Destructor Documentation

◆ QgsMeshLayerUndoCommandRemoveVerticesFillHoles()

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 1082 of file qgsmesheditor.cpp.

Member Function Documentation

◆ redo()

void QgsMeshLayerUndoCommandRemoveVerticesFillHoles::redo ( )
override

Definition at line 1093 of file qgsmesheditor.cpp.


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