QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsMeshLayerUndoCommandChangeZValue Class Reference

Class for undo/redo command for changing Z value of vertices. More...

#include <qgsmesheditor.h>

Inheritance diagram for QgsMeshLayerUndoCommandChangeZValue:
Inheritance graph
[legend]

Public Member Functions

 QgsMeshLayerUndoCommandChangeZValue (QgsMeshEditor *meshEditor, const QList< int > &verticesIndexes, const QList< double > &newValues)
 Constructor with the associated meshEditor and indexes verticesIndexes of the vertices that will have the Z value changed with newValues.
 
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< QgsMeshEditormMeshEditor
 

Detailed Description

Class for undo/redo command for changing Z value of vertices.

Since
QGIS 3.22

Definition at line 507 of file qgsmesheditor.h.

Constructor & Destructor Documentation

◆ QgsMeshLayerUndoCommandChangeZValue()

QgsMeshLayerUndoCommandChangeZValue::QgsMeshLayerUndoCommandChangeZValue ( QgsMeshEditor meshEditor,
const QList< int > &  verticesIndexes,
const QList< double > &  newValues 
)

Constructor with the associated meshEditor and indexes verticesIndexes of the vertices that will have the Z value changed with newValues.

Definition at line 1291 of file qgsmesheditor.cpp.

Member Function Documentation

◆ redo()

void QgsMeshLayerUndoCommandChangeZValue::redo ( )
override

Definition at line 1299 of file qgsmesheditor.cpp.


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