18#ifndef QGSPOINTCLOUDLAYERSAVEASDIALOG_H
19#define QGSPOINTCLOUDLAYERSAVEASDIALOG_H
21#include "ui_qgspointcloudlayersaveasdialogbase.h"
158 void mFormatComboBox_currentIndexChanged(
int idx );
159 void mFilterGeometryGroupBoxCheckToggled(
bool checked );
160 void mMinimumZSpinBoxValueChanged(
const double value );
161 void mMaximumZSpinBoxValueChanged(
const double value );
162 void mFilterGeometryLayerChanged(
QgsMapLayer *layer );
165 void accept()
override;
166 void mSelectAllAttributes_clicked();
167 void mDeselectAllAttributes_clicked();
189 QString mDefaultOutputLayerNameFromInputLayerName;
190 QString mLastUsedFilename;
191 bool mWasAddToCanvasForced =
false;
Represents a coordinate reference system (CRS).
QgsRange which stores a range of double values.
Map canvas is a class for displaying all GIS data types on a canvas.
Base class for all map layer types.
ExportFormat
Supported export formats for point clouds.
void setMapCanvas(QgsMapCanvas *canvas)
Sets a map canvas to associate with the dialog.
QgsPointCloudLayerSaveAsDialog(QgsPointCloudLayer *layer, QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags())
Construct a new QgsPointCloudLayerSaveAsDialog.
QString filename() const
Returns the target filename.
bool hasPointsLimit() const
Determines if limiting the number of exported points is enabled.
bool hasFilterLayer() const
Determines if points will be spatially filtered by a layer's features.
QgsRectangle filterExtent() const
Determines the extent to be exported.
bool hasZRange() const
Determines if filtering by Z values is activated.
QgsCoordinateReferenceSystem crsObject() const
Returns the CRS chosen for export.
bool hasAttributes() const
Determines if attributes will be exported as fields.
QgsDoubleRange zRange() const
Determines the Z range of points to be exported.
QgsPointCloudLayerExporter::ExportFormat exportFormat() const
The format in which the export should be written.
bool hasFilterExtent() const
Determines if filtering the export by an extent is activated.
int pointsLimit() const
Determines the limit to the total number of points.
bool filterLayerSelectedOnly() const
Determines if only the selected features from the filterLayer will be used for spatial filtering.
QString layername() const
Returns the target layer name.
void setAddToCanvas(bool checked)
Sets whether the "add to canvas" checkbox should be checked.
bool addToCanvas() const
Returns true if the "add to canvas" checkbox is checked.
QgsMapLayer * filterLayer() const
Returns the layer responsible for spatially filtering points.
QStringList attributes() const
Returns a list of attributes which are selected for saving.
QgsVectorFileWriter::ActionOnExistingFile creationActionOnExistingFile() const
Returns creation action.
Represents a map layer supporting display of point clouds.
A rectangle specified with double values.
ActionOnExistingFile
Enumeration to describe how to handle existing files.
@ CreateOrOverwriteFile
Create or overwrite file.