QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
Public Member Functions | List of all members
QgsPointCloudLayerSaveAsDialog Class Reference

Class to select destination file, type and CRS for ogr layers. More...

#include <qgspointcloudlayersaveasdialog.h>

Inheritance diagram for QgsPointCloudLayerSaveAsDialog:
Inheritance graph
[legend]

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...
 
QgsMapLayerfilterLayer () 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...
 

Detailed Description

Class to select destination file, type and CRS for ogr layers.

Note
not available in Python bindings
Since
QGIS 3.28

Definition at line 39 of file qgspointcloudlayersaveasdialog.h.

Constructor & Destructor Documentation

◆ QgsPointCloudLayerSaveAsDialog()

QgsPointCloudLayerSaveAsDialog::QgsPointCloudLayerSaveAsDialog ( QgsPointCloudLayer layer,
QWidget *  parent = nullptr,
Qt::WindowFlags  fl = Qt::WindowFlags() 
)

Construct a new QgsPointCloudLayerSaveAsDialog.

Definition at line 32 of file qgspointcloudlayersaveasdialog.cpp.

Member Function Documentation

◆ addToCanvas()

bool QgsPointCloudLayerSaveAsDialog::addToCanvas ( ) const

Returns true if the "add to canvas" checkbox is checked.

See also
setAddToCanvas()

Definition at line 476 of file qgspointcloudlayersaveasdialog.cpp.

◆ attributes()

QStringList QgsPointCloudLayerSaveAsDialog::attributes ( ) const

Returns a list of attributes which are selected for saving.

Definition at line 461 of file qgspointcloudlayersaveasdialog.cpp.

◆ creationActionOnExistingFile()

QgsVectorFileWriter::ActionOnExistingFile QgsPointCloudLayerSaveAsDialog::creationActionOnExistingFile ( ) const

Returns creation action.

Definition at line 542 of file qgspointcloudlayersaveasdialog.cpp.

◆ crsObject()

QgsCoordinateReferenceSystem QgsPointCloudLayerSaveAsDialog::crsObject ( ) const

Returns the CRS chosen for export.

Definition at line 456 of file qgspointcloudlayersaveasdialog.cpp.

◆ exportFormat()

QgsPointCloudLayerExporter::ExportFormat QgsPointCloudLayerSaveAsDialog::exportFormat ( ) const

The format in which the export should be written.

See also
QgsVectorFileWriter::filterForDriver()

Definition at line 451 of file qgspointcloudlayersaveasdialog.cpp.

◆ filename()

QString QgsPointCloudLayerSaveAsDialog::filename ( ) const

Returns the target filename.

Definition at line 441 of file qgspointcloudlayersaveasdialog.cpp.

◆ filterExtent()

QgsRectangle QgsPointCloudLayerSaveAsDialog::filterExtent ( ) const

Determines the extent to be exported.

See also
hasFilterExtent()

Definition at line 497 of file qgspointcloudlayersaveasdialog.cpp.

◆ filterLayer()

QgsMapLayer * QgsPointCloudLayerSaveAsDialog::filterLayer ( ) const

Returns the layer responsible for spatially filtering points.

Definition at line 507 of file qgspointcloudlayersaveasdialog.cpp.

◆ filterLayerSelectedOnly()

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.

◆ hasAttributes()

bool QgsPointCloudLayerSaveAsDialog::hasAttributes ( ) const

Determines if attributes will be exported as fields.

See also
attributes()

Definition at line 517 of file qgspointcloudlayersaveasdialog.cpp.

◆ hasFilterExtent()

bool QgsPointCloudLayerSaveAsDialog::hasFilterExtent ( ) const

Determines if filtering the export by an extent is activated.

See also
filterExtent()

Definition at line 492 of file qgspointcloudlayersaveasdialog.cpp.

◆ hasFilterLayer()

bool QgsPointCloudLayerSaveAsDialog::hasFilterLayer ( ) const

Determines if points will be spatially filtered by a layer's features.

Definition at line 502 of file qgspointcloudlayersaveasdialog.cpp.

◆ hasPointsLimit()

bool QgsPointCloudLayerSaveAsDialog::hasPointsLimit ( ) const

Determines if limiting the number of exported points is enabled.

See also
pointsLimit()

Definition at line 532 of file qgspointcloudlayersaveasdialog.cpp.

◆ hasZRange()

bool QgsPointCloudLayerSaveAsDialog::hasZRange ( ) const

Determines if filtering by Z values is activated.

See also
zRange()

Definition at line 522 of file qgspointcloudlayersaveasdialog.cpp.

◆ layername()

QString QgsPointCloudLayerSaveAsDialog::layername ( ) const

Returns the target layer name.

Definition at line 446 of file qgspointcloudlayersaveasdialog.cpp.

◆ pointsLimit()

int QgsPointCloudLayerSaveAsDialog::pointsLimit ( ) const

Determines the limit to the total number of points.

See also
hasPointsLimit()

Definition at line 537 of file qgspointcloudlayersaveasdialog.cpp.

◆ setAddToCanvas()

void QgsPointCloudLayerSaveAsDialog::setAddToCanvas ( bool  checked)

Sets whether the "add to canvas" checkbox should be checked.

See also
addToCanvas()

Definition at line 481 of file qgspointcloudlayersaveasdialog.cpp.

◆ setMapCanvas()

void QgsPointCloudLayerSaveAsDialog::setMapCanvas ( QgsMapCanvas canvas)

Sets a map canvas to associate with the dialog.

Definition at line 486 of file qgspointcloudlayersaveasdialog.cpp.

◆ zRange()

QgsDoubleRange QgsPointCloudLayerSaveAsDialog::zRange ( ) const

Determines the Z range of points to be exported.

See also
hasZRange()

Definition at line 527 of file qgspointcloudlayersaveasdialog.cpp.


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