![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Dialog to choose the LAS fields to load. More...
#include <LASOpenDlg.h>


Public Member Functions | |
| LASOpenDlg (QWidget *parent=nullptr) | |
| Default constructor. More... | |
| void | setDimensions (const std::vector< std::string > &dimensions) |
| Sets available dimensions. More... | |
| bool | doLoad (LAS_FIELDS field) const |
| Whether to load a given field. More... | |
| void | clearEVLRs () |
| Clears the 'extra bytes' record. More... | |
| void | setInfos (QString filename, unsigned pointCount, const CCVector3d &bbMin, const CCVector3d &bbMax) |
| Sets the information about the file. More... | |
| void | addEVLR (QString description) |
| Adds an 'extra bytes' record entry. More... | |
| bool | doLoadEVLR (size_t index) const |
| Returns whether an EVLR is selected for laoding or not. More... | |
| bool | autoSkipMode () const |
| Auto-skip mode (to use the same parameters for ALL files afterwards) More... | |
| bool | forced8bitRgbMode () const |
| Whether 8-bit RGB mode is forced or not. More... | |
| void | resetApplyAll () |
| Resets the "apply all" flag (if set) More... | |
| bool | getTimeShift (double &timeShift) const |
| Returns the timeshift (if any) More... | |
Protected Member Functions | |
| void | onApplyAll () |
| void | onBrowse () |
Protected Attributes | |
| bool | m_autoSkip |
Dialog to choose the LAS fields to load.
Definition at line 25 of file LASOpenDlg.h.
|
explicit |
Default constructor.
Definition at line 19 of file LASOpenDlg.cpp.
References clearEVLRs(), onApplyAll(), and onBrowse().
| void LASOpenDlg::addEVLR | ( | QString | description | ) |
Adds an 'extra bytes' record entry.
Definition at line 207 of file LASOpenDlg.cpp.
|
inline |
Auto-skip mode (to use the same parameters for ALL files afterwards)
Definition at line 54 of file LASOpenDlg.h.
References m_autoSkip.
| void LASOpenDlg::clearEVLRs | ( | ) |
Clears the 'extra bytes' record.
Definition at line 180 of file LASOpenDlg.cpp.
Referenced by LASOpenDlg().
| bool LASOpenDlg::doLoad | ( | LAS_FIELDS | field | ) | const |
Whether to load a given field.
Definition at line 101 of file LASOpenDlg.cpp.
References LAS_BLUE, LAS_CLASSIF_KEYPOINT, LAS_CLASSIF_OVERLAP, LAS_CLASSIF_SYNTHETIC, LAS_CLASSIF_VALUE, LAS_CLASSIF_WITHHELD, LAS_CLASSIFICATION, LAS_EXTRA, LAS_FLIGHT_LINE_EDGE, LAS_GREEN, LAS_INTENSITY, LAS_INVALID, LAS_NUMBER_OF_RETURNS, LAS_POINT_SOURCE_ID, LAS_RED, LAS_RETURN_NUMBER, LAS_SCAN_ANGLE_RANK, LAS_SCAN_DIRECTION, LAS_TIME, LAS_USER_DATA, LAS_X, LAS_Y, and LAS_Z.
| bool LASOpenDlg::doLoadEVLR | ( | size_t | index | ) | const |
Returns whether an EVLR is selected for laoding or not.
Definition at line 217 of file LASOpenDlg.cpp.
| bool LASOpenDlg::forced8bitRgbMode | ( | ) | const |
Whether 8-bit RGB mode is forced or not.
Definition at line 224 of file LASOpenDlg.cpp.
| bool LASOpenDlg::getTimeShift | ( | double & | timeShift | ) | const |
Returns the timeshift (if any)
Definition at line 228 of file LASOpenDlg.cpp.
|
protected |
|
protected |
Definition at line 47 of file LASOpenDlg.cpp.
Referenced by LASOpenDlg().
| void LASOpenDlg::resetApplyAll | ( | ) |
Resets the "apply all" flag (if set)
Definition at line 40 of file LASOpenDlg.cpp.
References m_autoSkip.
| void LASOpenDlg::setDimensions | ( | const std::vector< std::string > & | dimensions | ) |
Sets available dimensions.
Definition at line 69 of file LASOpenDlg.cpp.
References FieldIsPresent(), LAS_BLUE, LAS_CLASSIFICATION, LAS_FLIGHT_LINE_EDGE, LAS_GREEN, LAS_INTENSITY, LAS_NUMBER_OF_RETURNS, LAS_POINT_SOURCE_ID, LAS_RED, LAS_RETURN_NUMBER, LAS_SCAN_ANGLE_RANK, LAS_SCAN_DIRECTION, LAS_TIME, and LAS_USER_DATA.
| void LASOpenDlg::setInfos | ( | QString | filename, |
| unsigned | pointCount, | ||
| const CCVector3d & | bbMin, | ||
| const CCVector3d & | bbMax | ||
| ) |
Sets the information about the file.
Definition at line 186 of file LASOpenDlg.cpp.
References filename, e57::toString(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
protected |
Definition at line 70 of file LASOpenDlg.h.
Referenced by autoSkipMode(), onApplyAll(), and resetApplyAll().