QGIS API Documentation 3.41.0-Master (f75d66fa9f9)
Loading...
Searching...
No Matches
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 (QgsPointCloudIndex index, const QgsPointCloudNodeId &n, const QVector< int > &points, const QgsPointCloudAttribute &attribute, double value)
 Constructor for QgsPointCloudLayerUndoCommandChangeAttribute.
 
void redo () override
 
void undo () override
 

Additional Inherited Members

- Protected Member Functions inherited from QgsPointCloudLayerUndoCommand
 QgsPointCloudLayerUndoCommand (QgsPointCloudIndex index)
 Ctor.
 
- Protected Attributes inherited from QgsPointCloudLayerUndoCommand
QgsPointCloudIndex mIndex
 

Detailed Description

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

Since
QGIS 3.42

Definition at line 49 of file qgspointcloudlayerundocommand.h.

Constructor & Destructor Documentation

◆ QgsPointCloudLayerUndoCommandChangeAttribute()

QgsPointCloudLayerUndoCommandChangeAttribute::QgsPointCloudLayerUndoCommandChangeAttribute ( QgsPointCloudIndex  index,
const QgsPointCloudNodeId n,
const QVector< int > &  points,
const QgsPointCloudAttribute attribute,
double  value 
)

Constructor for QgsPointCloudLayerUndoCommandChangeAttribute.

Parameters
indexassociated point cloud index
nthe node id whose points will be modified
pointsthe list of points to be modified
attributethe attribute whose value will be modified
valuethe new value for the modified attribure

Definition at line 26 of file qgspointcloudlayerundocommand.cpp.

Member Function Documentation

◆ redo()

void QgsPointCloudLayerUndoCommandChangeAttribute::redo ( )
override

Definition at line 52 of file qgspointcloudlayerundocommand.cpp.

◆ undo()

void QgsPointCloudLayerUndoCommandChangeAttribute::undo ( )
override

Definition at line 47 of file qgspointcloudlayerundocommand.cpp.


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