QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
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 33 of file qgspointcloudlayersaveasdialog.cpp.
bool QgsPointCloudLayerSaveAsDialog::addToCanvas | ( | ) | const |
Returns true
if the "add to canvas" checkbox is checked.
Definition at line 477 of file qgspointcloudlayersaveasdialog.cpp.
QStringList QgsPointCloudLayerSaveAsDialog::attributes | ( | ) | const |
Returns a list of attributes which are selected for saving.
Definition at line 462 of file qgspointcloudlayersaveasdialog.cpp.
QgsVectorFileWriter::ActionOnExistingFile QgsPointCloudLayerSaveAsDialog::creationActionOnExistingFile | ( | ) | const |
Returns creation action.
Definition at line 543 of file qgspointcloudlayersaveasdialog.cpp.
QgsCoordinateReferenceSystem QgsPointCloudLayerSaveAsDialog::crsObject | ( | ) | const |
Returns the CRS chosen for export.
Definition at line 457 of file qgspointcloudlayersaveasdialog.cpp.
QgsPointCloudLayerExporter::ExportFormat QgsPointCloudLayerSaveAsDialog::exportFormat | ( | ) | const |
The format in which the export should be written.
Definition at line 452 of file qgspointcloudlayersaveasdialog.cpp.
QString QgsPointCloudLayerSaveAsDialog::filename | ( | ) | const |
Returns the target filename.
Definition at line 442 of file qgspointcloudlayersaveasdialog.cpp.
QgsRectangle QgsPointCloudLayerSaveAsDialog::filterExtent | ( | ) | const |
Determines the extent to be exported.
Definition at line 498 of file qgspointcloudlayersaveasdialog.cpp.
QgsMapLayer * QgsPointCloudLayerSaveAsDialog::filterLayer | ( | ) | const |
Returns the layer responsible for spatially filtering points.
Definition at line 508 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 513 of file qgspointcloudlayersaveasdialog.cpp.
bool QgsPointCloudLayerSaveAsDialog::hasAttributes | ( | ) | const |
Determines if attributes will be exported as fields.
Definition at line 518 of file qgspointcloudlayersaveasdialog.cpp.
bool QgsPointCloudLayerSaveAsDialog::hasFilterExtent | ( | ) | const |
Determines if filtering the export by an extent is activated.
Definition at line 493 of file qgspointcloudlayersaveasdialog.cpp.
bool QgsPointCloudLayerSaveAsDialog::hasFilterLayer | ( | ) | const |
Determines if points will be spatially filtered by a layer's features.
Definition at line 503 of file qgspointcloudlayersaveasdialog.cpp.
bool QgsPointCloudLayerSaveAsDialog::hasPointsLimit | ( | ) | const |
Determines if limiting the number of exported points is enabled.
Definition at line 533 of file qgspointcloudlayersaveasdialog.cpp.
bool QgsPointCloudLayerSaveAsDialog::hasZRange | ( | ) | const |
Determines if filtering by Z values is activated.
Definition at line 523 of file qgspointcloudlayersaveasdialog.cpp.
QString QgsPointCloudLayerSaveAsDialog::layername | ( | ) | const |
Returns the target layer name.
Definition at line 447 of file qgspointcloudlayersaveasdialog.cpp.
int QgsPointCloudLayerSaveAsDialog::pointsLimit | ( | ) | const |
Determines the limit to the total number of points.
Definition at line 538 of file qgspointcloudlayersaveasdialog.cpp.
void QgsPointCloudLayerSaveAsDialog::setAddToCanvas | ( | bool | checked | ) |
Sets whether the "add to canvas" checkbox should be checked.
Definition at line 482 of file qgspointcloudlayersaveasdialog.cpp.
void QgsPointCloudLayerSaveAsDialog::setMapCanvas | ( | QgsMapCanvas * | canvas | ) |
Sets a map canvas to associate with the dialog.
Definition at line 487 of file qgspointcloudlayersaveasdialog.cpp.
QgsDoubleRange QgsPointCloudLayerSaveAsDialog::zRange | ( | ) | const |
Determines the Z range of points to be exported.
Definition at line 528 of file qgspointcloudlayersaveasdialog.cpp.