QGIS API Documentation 3.99.0-Master (8e76e220402)
Loading...
Searching...
No Matches
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:

Public Member Functions

 QgsPointCloudLayerUndoCommandChangeAttribute (QgsPointCloudLayer *layer, const QHash< int, QHash< QgsPointCloudNodeId, QVector< int > > > &mappedPoints, 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< int, QHash< QgsPointCloudNodeId, QVector< int > > > & mappedPoints,
const QgsPointCloudAttribute & attribute,
double value )

Constructor for QgsPointCloudLayerUndoCommandChangeAttribute.

Parameters
layerassociated point cloud layer
mappedPointsa map of sub indexes to nodes to modify and points to modify within those nodes
attributethe attribute whose value will be modified
valuethe new value for the modified attribute

Definition at line 33 of file qgspointcloudlayerundocommand.cpp.

Member Function Documentation

◆ redo()

void QgsPointCloudLayerUndoCommandChangeAttribute::redo ( )
override

Definition at line 113 of file qgspointcloudlayerundocommand.cpp.

◆ undo()

void QgsPointCloudLayerUndoCommandChangeAttribute::undo ( )
override

Definition at line 108 of file qgspointcloudlayerundocommand.cpp.


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