QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
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. | |
bool | addToCanvas () const |
Returns true if the "add to canvas" checkbox is checked. | |
QStringList | attributes () const |
Returns a list of attributes which are selected for saving. | |
QgsVectorFileWriter::ActionOnExistingFile | creationActionOnExistingFile () const |
Returns creation action. | |
QgsCoordinateReferenceSystem | crsObject () const |
Returns the CRS chosen for export. | |
QgsPointCloudLayerExporter::ExportFormat | exportFormat () const |
The format in which the export should be written. | |
QString | filename () const |
Returns the target filename. | |
QgsRectangle | filterExtent () const |
Determines the extent to be exported. | |
QgsMapLayer * | filterLayer () const |
Returns the layer responsible for spatially filtering points. | |
bool | filterLayerSelectedOnly () const |
Determines if only the selected features from the filterLayer will be used for spatial filtering. | |
bool | hasAttributes () const |
Determines if attributes will be exported as fields. | |
bool | hasFilterExtent () const |
Determines if filtering the export by an extent is activated. | |
bool | hasFilterLayer () const |
Determines if points will be spatially filtered by a layer's features. | |
bool | hasPointsLimit () const |
Determines if limiting the number of exported points is enabled. | |
bool | hasZRange () const |
Determines if filtering by Z values is activated. | |
QString | layername () const |
Returns the target layer name. | |
int | pointsLimit () const |
Determines the limit to the total number of points. | |
void | setAddToCanvas (bool checked) |
Sets whether the "add to canvas" checkbox should be checked. | |
void | setMapCanvas (QgsMapCanvas *canvas) |
Sets a map canvas to associate with the dialog. | |
QgsDoubleRange | zRange () const |
Determines the Z range of points to be exported. | |
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.