![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Dialog shown to the user when opening a LAS file. More...
#include <LasOpenDialog.h>
Public Types | |
| enum | Action { Action::Load, Action::Tile } |
Public Member Functions | |
| LasOpenDialog (QWidget *parent=nullptr) | |
| Default constructor. More... | |
| void | setInfo (int versionMinor, int pointFormatId, qulonglong numPoints) |
| void | setAvailableScalarFields (const std::vector< LasScalarField > &scalarFields, const std::vector< LasExtraScalarField > &extraScalarFields) |
| void | filterOutNotChecked (std::vector< LasScalarField > &scalarFields, std::vector< LasExtraScalarField > &extraScalarFields) |
| bool | shouldIgnoreFieldsWithDefaultValues () const |
| bool | shouldForce8bitColors () const |
| double | timeShiftValue () const |
| Action | action () const |
| LasTilingOptions | tilingOptions () const |
| void | resetShouldSkipDialog () |
| bool | shouldSkipDialog () const |
Dialog shown to the user when opening a LAS file.
|
strong |
|
explicit |
Default constructor.
| LasOpenDialog::Action LasOpenDialog::action | ( | ) | const |
Returns the action the user wants to do.
The action is based on the active tab when the user accepted the dialog.
References Load, Tile, and TILLING_TAB_INDEX.
Referenced by LasIOFilter::loadFile().
| void LasOpenDialog::filterOutNotChecked | ( | std::vector< LasScalarField > & | scalarFields, |
| std::vector< LasExtraScalarField > & | extraScalarFields | ||
| ) |
Removes from the lists scalar fields and extra scalar fields which the user unchecked from the list of fields to load.
References RemoveFalse().
Referenced by LasIOFilter::loadFile().
| void LasOpenDialog::resetShouldSkipDialog | ( | ) |
Referenced by LasIOFilter::loadFile().
| void LasOpenDialog::setAvailableScalarFields | ( | const std::vector< LasScalarField > & | scalarFields, |
| const std::vector< LasExtraScalarField > & | extraScalarFields | ||
| ) |
Sets the list of standard LAS scalar fields as well as user defined extra LAS scalar fields that are available in the file that the user is able to check which one should be loaded.
References CreateItem(), and height.
Referenced by LasIOFilter::loadFile().
| void LasOpenDialog::setInfo | ( | int | versionMinor, |
| int | pointFormatId, | ||
| qulonglong | numPoints | ||
| ) |
Set some informations about the file to be displayed to the user.
References LasDetails::HasGpsTime(), and LasDetails::HasRGB().
Referenced by LasIOFilter::loadFile().
| bool LasOpenDialog::shouldForce8bitColors | ( | ) | const |
Returns whether the user wants to treat the rgb from the file as 8-bit components.
Referenced by LasIOFilter::loadFile().
| bool LasOpenDialog::shouldIgnoreFieldsWithDefaultValues | ( | ) | const |
Returns whether the user wants to ignore (not load) fields for which values are all default values.
Referenced by LasIOFilter::loadFile().
| bool LasOpenDialog::shouldSkipDialog | ( | ) | const |
Referenced by LasIOFilter::loadFile().
| LasTilingOptions LasOpenDialog::tilingOptions | ( | ) | const |
Returns the tiling options.
Only valid when the action is Tiling
Referenced by LasIOFilter::loadFile().
| double LasOpenDialog::timeShiftValue | ( | ) | const |
Returns quiet_NaN if the time shift value should be automatically found.
Otherwise, returns the value manually specified by the user.
Referenced by LasIOFilter::loadFile().