QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
Class to select destination file, type and CRS for ogr layers. More...
#include <qgspointcloudlayersaveasdialog.h>
Public Member Functions | |
QgsPointCloudLayerSaveAsDialog (QgsPointCloudLayer *layer, QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags()) | |
Construct a new QgsPointCloudLayerSaveAsDialog. More... | |
bool | addToCanvas () const |
Returns true if the "add to canvas" checkbox is checked. More... | |
QStringList | attributes () const |
Returns a list of attributes which are selected for saving. More... | |
QgsVectorFileWriter::ActionOnExistingFile | creationActionOnExistingFile () const |
Returns creation action. More... | |
QgsCoordinateReferenceSystem | crsObject () const |
Returns the CRS chosen for export. More... | |
QgsPointCloudLayerExporter::ExportFormat | exportFormat () const |
The format in which the export should be written. More... | |
QString | filename () const |
Returns the target filename. More... | |
QgsRectangle | filterExtent () const |
Determines the extent to be exported. More... | |
QgsMapLayer * | filterLayer () const |
Returns the layer responsible for spatially filtering points. More... | |
bool | filterLayerSelectedOnly () const |
Determines if only the selected features from the filterLayer will be used for spatial filtering. More... | |
bool | hasAttributes () const |
Determines if attributes will be exported as fields. More... | |
bool | hasFilterExtent () const |
Determines if filtering the export by an extent is activated. More... | |
bool | hasFilterLayer () const |
Determines if points will be spatially filtered by a layer's features. More... | |
bool | hasPointsLimit () const |
Determines if limiting the number of exported points is enabled. More... | |
bool | hasZRange () const |
Determines if filtering by Z values is activated. More... | |
QString | layername () const |
Returns the target layer name. More... | |
int | pointsLimit () const |
Determines the limit to the total number of points. More... | |
void | setAddToCanvas (bool checked) |
Sets whether the "add to canvas" checkbox should be checked. More... | |
void | setMapCanvas (QgsMapCanvas *canvas) |
Sets a map canvas to associate with the dialog. More... | |
QgsDoubleRange | zRange () const |
Determines the Z range of points to be exported. More... | |
Class to select destination file, type and CRS for ogr layers.
Definition at line 39 of file qgspointcloudlayersaveasdialog.h.
QgsPointCloudLayerSaveAsDialog::QgsPointCloudLayerSaveAsDialog | ( | QgsPointCloudLayer * | layer, |
QWidget * | parent = nullptr , |
||
Qt::WindowFlags | fl = Qt::WindowFlags() |
||
) |
Construct a new QgsPointCloudLayerSaveAsDialog.
Definition at line 32 of file qgspointcloudlayersaveasdialog.cpp.
bool QgsPointCloudLayerSaveAsDialog::addToCanvas | ( | ) | const |
Returns true
if the "add to canvas" checkbox is checked.
Definition at line 476 of file qgspointcloudlayersaveasdialog.cpp.
QStringList QgsPointCloudLayerSaveAsDialog::attributes | ( | ) | const |
Returns a list of attributes which are selected for saving.
Definition at line 461 of file qgspointcloudlayersaveasdialog.cpp.
QgsVectorFileWriter::ActionOnExistingFile QgsPointCloudLayerSaveAsDialog::creationActionOnExistingFile | ( | ) | const |
Returns creation action.
Definition at line 542 of file qgspointcloudlayersaveasdialog.cpp.
QgsCoordinateReferenceSystem QgsPointCloudLayerSaveAsDialog::crsObject | ( | ) | const |
Returns the CRS chosen for export.
Definition at line 456 of file qgspointcloudlayersaveasdialog.cpp.
QgsPointCloudLayerExporter::ExportFormat QgsPointCloudLayerSaveAsDialog::exportFormat | ( | ) | const |
The format in which the export should be written.
Definition at line 451 of file qgspointcloudlayersaveasdialog.cpp.
QString QgsPointCloudLayerSaveAsDialog::filename | ( | ) | const |
Returns the target filename.
Definition at line 441 of file qgspointcloudlayersaveasdialog.cpp.
QgsRectangle QgsPointCloudLayerSaveAsDialog::filterExtent | ( | ) | const |
Determines the extent to be exported.
Definition at line 497 of file qgspointcloudlayersaveasdialog.cpp.
QgsMapLayer * QgsPointCloudLayerSaveAsDialog::filterLayer | ( | ) | const |
Returns the layer responsible for spatially filtering points.
Definition at line 507 of file qgspointcloudlayersaveasdialog.cpp.
bool QgsPointCloudLayerSaveAsDialog::filterLayerSelectedOnly | ( | ) | const |
Determines if only the selected features from the filterLayer will be used for spatial filtering.
Definition at line 512 of file qgspointcloudlayersaveasdialog.cpp.
bool QgsPointCloudLayerSaveAsDialog::hasAttributes | ( | ) | const |
Determines if attributes will be exported as fields.
Definition at line 517 of file qgspointcloudlayersaveasdialog.cpp.
bool QgsPointCloudLayerSaveAsDialog::hasFilterExtent | ( | ) | const |
Determines if filtering the export by an extent is activated.
Definition at line 492 of file qgspointcloudlayersaveasdialog.cpp.
bool QgsPointCloudLayerSaveAsDialog::hasFilterLayer | ( | ) | const |
Determines if points will be spatially filtered by a layer's features.
Definition at line 502 of file qgspointcloudlayersaveasdialog.cpp.
bool QgsPointCloudLayerSaveAsDialog::hasPointsLimit | ( | ) | const |
Determines if limiting the number of exported points is enabled.
Definition at line 532 of file qgspointcloudlayersaveasdialog.cpp.
bool QgsPointCloudLayerSaveAsDialog::hasZRange | ( | ) | const |
Determines if filtering by Z values is activated.
Definition at line 522 of file qgspointcloudlayersaveasdialog.cpp.
QString QgsPointCloudLayerSaveAsDialog::layername | ( | ) | const |
Returns the target layer name.
Definition at line 446 of file qgspointcloudlayersaveasdialog.cpp.
int QgsPointCloudLayerSaveAsDialog::pointsLimit | ( | ) | const |
Determines the limit to the total number of points.
Definition at line 537 of file qgspointcloudlayersaveasdialog.cpp.
void QgsPointCloudLayerSaveAsDialog::setAddToCanvas | ( | bool | checked | ) |
Sets whether the "add to canvas" checkbox should be checked.
Definition at line 481 of file qgspointcloudlayersaveasdialog.cpp.
void QgsPointCloudLayerSaveAsDialog::setMapCanvas | ( | QgsMapCanvas * | canvas | ) |
Sets a map canvas to associate with the dialog.
Definition at line 486 of file qgspointcloudlayersaveasdialog.cpp.
QgsDoubleRange QgsPointCloudLayerSaveAsDialog::zRange | ( | ) | const |
Determines the Z range of points to be exported.
Definition at line 527 of file qgspointcloudlayersaveasdialog.cpp.