QGIS API Documentation 3.43.0-Master (0bee5d6404c)
Classes | Public Member Functions | List of all members
QgsPointCloudLayerUndoCommandChangeAttribute Class Reference

An undo command subclass for changing point attribute values in a point cloud index. More...

#include <qgspointcloudlayerundocommand.h>

Inheritance diagram for QgsPointCloudLayerUndoCommandChangeAttribute:
Inheritance graph
[legend]

Public Member Functions

 QgsPointCloudLayerUndoCommandChangeAttribute (QgsPointCloudLayer *layer, const QHash< QgsPointCloudNodeId, QVector< int > > &nodesAndPoints, const QgsPointCloudAttribute &attribute, double value)
 Constructor for QgsPointCloudLayerUndoCommandChangeAttribute.
 
void redo () override
 
void undo () override
 

Additional Inherited Members

- Protected Member Functions inherited from QgsPointCloudLayerUndoCommand
 QgsPointCloudLayerUndoCommand (QgsPointCloudLayer *layer)
 Ctor.
 
- Protected Attributes inherited from QgsPointCloudLayerUndoCommand
QgsPointCloudLayermLayer
 

Detailed Description

An undo command subclass for changing point attribute values in a point cloud index.

Since
QGIS 3.42

Definition at line 51 of file qgspointcloudlayerundocommand.h.

Constructor & Destructor Documentation

◆ QgsPointCloudLayerUndoCommandChangeAttribute()

QgsPointCloudLayerUndoCommandChangeAttribute::QgsPointCloudLayerUndoCommandChangeAttribute ( QgsPointCloudLayer layer,
const QHash< QgsPointCloudNodeId, QVector< int > > &  nodesAndPoints,
const QgsPointCloudAttribute attribute,
double  value 
)

Constructor for QgsPointCloudLayerUndoCommandChangeAttribute.

Parameters
layerassociated point cloud layer
nodesAndPointsaffected nodes, each with a list of points to be modified
attributethe attribute whose value will be modified
valuethe new value for the modified attribure

Definition at line 30 of file qgspointcloudlayerundocommand.cpp.

Member Function Documentation

◆ redo()

void QgsPointCloudLayerUndoCommandChangeAttribute::redo ( )
override

Definition at line 96 of file qgspointcloudlayerundocommand.cpp.

◆ undo()

void QgsPointCloudLayerUndoCommandChangeAttribute::undo ( )
override

Definition at line 91 of file qgspointcloudlayerundocommand.cpp.


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