QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
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.
 
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.
 
QgsMapLayerfilterLayer () 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.
 

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 33 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 477 of file qgspointcloudlayersaveasdialog.cpp.

◆ attributes()

QStringList QgsPointCloudLayerSaveAsDialog::attributes ( ) const

Returns a list of attributes which are selected for saving.

Definition at line 462 of file qgspointcloudlayersaveasdialog.cpp.

◆ creationActionOnExistingFile()

QgsVectorFileWriter::ActionOnExistingFile QgsPointCloudLayerSaveAsDialog::creationActionOnExistingFile ( ) const

Returns creation action.

Definition at line 543 of file qgspointcloudlayersaveasdialog.cpp.

◆ crsObject()

QgsCoordinateReferenceSystem QgsPointCloudLayerSaveAsDialog::crsObject ( ) const

Returns the CRS chosen for export.

Definition at line 457 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 452 of file qgspointcloudlayersaveasdialog.cpp.

◆ filename()

QString QgsPointCloudLayerSaveAsDialog::filename ( ) const

Returns the target filename.

Definition at line 442 of file qgspointcloudlayersaveasdialog.cpp.

◆ filterExtent()

QgsRectangle QgsPointCloudLayerSaveAsDialog::filterExtent ( ) const

Determines the extent to be exported.

See also
hasFilterExtent()

Definition at line 498 of file qgspointcloudlayersaveasdialog.cpp.

◆ filterLayer()

QgsMapLayer * QgsPointCloudLayerSaveAsDialog::filterLayer ( ) const

Returns the layer responsible for spatially filtering points.

Definition at line 508 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 513 of file qgspointcloudlayersaveasdialog.cpp.

◆ hasAttributes()

bool QgsPointCloudLayerSaveAsDialog::hasAttributes ( ) const

Determines if attributes will be exported as fields.

See also
attributes()

Definition at line 518 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 493 of file qgspointcloudlayersaveasdialog.cpp.

◆ hasFilterLayer()

bool QgsPointCloudLayerSaveAsDialog::hasFilterLayer ( ) const

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

Definition at line 503 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 533 of file qgspointcloudlayersaveasdialog.cpp.

◆ hasZRange()

bool QgsPointCloudLayerSaveAsDialog::hasZRange ( ) const

Determines if filtering by Z values is activated.

See also
zRange()

Definition at line 523 of file qgspointcloudlayersaveasdialog.cpp.

◆ layername()

QString QgsPointCloudLayerSaveAsDialog::layername ( ) const

Returns the target layer name.

Definition at line 447 of file qgspointcloudlayersaveasdialog.cpp.

◆ pointsLimit()

int QgsPointCloudLayerSaveAsDialog::pointsLimit ( ) const

Determines the limit to the total number of points.

See also
hasPointsLimit()

Definition at line 538 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 482 of file qgspointcloudlayersaveasdialog.cpp.

◆ setMapCanvas()

void QgsPointCloudLayerSaveAsDialog::setMapCanvas ( QgsMapCanvas canvas)

Sets a map canvas to associate with the dialog.

Definition at line 487 of file qgspointcloudlayersaveasdialog.cpp.

◆ zRange()

QgsDoubleRange QgsPointCloudLayerSaveAsDialog::zRange ( ) const

Determines the Z range of points to be exported.

See also
hasZRange()

Definition at line 528 of file qgspointcloudlayersaveasdialog.cpp.


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