![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Dialog for configuration of ASCII files saving sequence. More...
#include <AsciiSaveDlg.h>
Public Member Functions | |
| AsciiSaveDlg (QWidget *parent=nullptr) | |
| Default constructor. More... | |
| virtual | ~AsciiSaveDlg () |
| Destructor. More... | |
| bool | saveColumnsNamesHeader () const |
| Returns whether columns names should be be saved in header. More... | |
| void | enableSaveColumnsNamesHeader (bool state) |
| Sets whether columns names should be be saved in header. More... | |
| bool | savePointCountHeader () const |
| Returns whether the number of points should be saved in header. More... | |
| void | enableSavePointCountHeader (bool state) |
| Sets whether the number of points should be saved in header. More... | |
| unsigned char | getSeparator () const |
| Returns separator. More... | |
| void | setSeparatorIndex (int index) |
| Set separator (index) More... | |
| int | getSeparatorIndex () const |
| Returns separator index. More... | |
| int | coordsPrecision () const |
| Returns coordinates precision. More... | |
| void | setCoordsPrecision (int prec) |
| Sets coordinates precision. More... | |
| int | sfPrecision () const |
| Returns SF precision. More... | |
| void | setSfPrecision (int prec) |
| Sets SF precision. More... | |
| bool | swapColorAndSF () const |
| Returns whether SF(s) and color should be swapped. More... | |
| void | enableSwapColorAndSF (bool state) |
| Sets whether SF(s) and color should be swapped. More... | |
| void | setAutoShow (bool state) |
| Sets whether this dialog should appear or not by default. More... | |
| bool | autoShown () const |
| Returns whether this dialog automatically appears or not. More... | |
| void | setSaveFloatColors (bool state) |
| Sets whether to save colors as float values (instead of unsigned bytes) More... | |
| bool | saveFloatColors () const |
| void | setSaveAlphaChannel (bool state) |
| Sets whether to save the alpha (transparency) channel. More... | |
| bool | saveAlphaChannel () const |
| Returns whether to save the alpha (transparency) channel. More... | |
Protected Slots | |
| void | acceptAndSaveSettings () |
| Saves dialog state to persistent settings. More... | |
Protected Member Functions | |
| void | initFromPersistentSettings () |
| Inits dialog state from persistent settings. More... | |
Protected Attributes | |
| Ui_AsciiSaveDialog * | m_ui |
| Associated UI. More... | |
| bool | m_autoShow |
| Whether this dialog should be automatically shown or not. More... | |
Dialog for configuration of ASCII files saving sequence.
|
explicit |
Default constructor.
References acceptAndSaveSettings(), initFromPersistentSettings(), and m_ui.
|
virtual |
Destructor.
References m_ui.
|
protectedslot |
|
inline |
Returns whether this dialog automatically appears or not.
| int AsciiSaveDlg::coordsPrecision | ( | ) | const |
Returns coordinates precision.
References m_ui.
Referenced by initFromPersistentSettings(), and AsciiFilter::saveToFile().
| void AsciiSaveDlg::enableSaveColumnsNamesHeader | ( | bool | state | ) |
Sets whether columns names should be be saved in header.
References m_ui.
Referenced by AsciiFilter::saveToFile().
| void AsciiSaveDlg::enableSavePointCountHeader | ( | bool | state | ) |
Sets whether the number of points should be saved in header.
References m_ui.
Referenced by AsciiFilter::saveToFile().
| void AsciiSaveDlg::enableSwapColorAndSF | ( | bool | state | ) |
Sets whether SF(s) and color should be swapped.
References m_ui.
Referenced by AsciiFilter::saveToFile().
| unsigned char AsciiSaveDlg::getSeparator | ( | ) | const |
| int AsciiSaveDlg::getSeparatorIndex | ( | ) | const |
|
protected |
Inits dialog state from persistent settings.
References coordsPrecision(), m_ui, saveAlphaChannel(), saveFloatColors(), and sfPrecision().
Referenced by AsciiSaveDlg().
| bool AsciiSaveDlg::saveAlphaChannel | ( | ) | const |
Returns whether to save the alpha (transparency) channel.
References m_ui.
Referenced by initFromPersistentSettings(), and AsciiFilter::saveToFile().
| bool AsciiSaveDlg::saveColumnsNamesHeader | ( | ) | const |
Returns whether columns names should be be saved in header.
References m_ui.
Referenced by AsciiFilter::saveToFile().
| bool AsciiSaveDlg::saveFloatColors | ( | ) | const |
Returns whether to save colors as float values (instead of unsigned bytes)
References m_ui.
Referenced by initFromPersistentSettings(), and AsciiFilter::saveToFile().
| bool AsciiSaveDlg::savePointCountHeader | ( | ) | const |
Returns whether the number of points should be saved in header.
References m_ui.
Referenced by AsciiFilter::saveToFile().
|
inline |
Sets whether this dialog should appear or not by default.
| void AsciiSaveDlg::setCoordsPrecision | ( | int | prec | ) |
| void AsciiSaveDlg::setSaveAlphaChannel | ( | bool | state | ) |
Sets whether to save the alpha (transparency) channel.
References m_ui.
| void AsciiSaveDlg::setSaveFloatColors | ( | bool | state | ) |
Sets whether to save colors as float values (instead of unsigned bytes)
References m_ui.
| void AsciiSaveDlg::setSeparatorIndex | ( | int | index | ) |
Set separator (index)
0 = space 1 = semicolon 2 = comma 3 = tab
References m_ui.
Referenced by AsciiFilter::saveToFile().
| void AsciiSaveDlg::setSfPrecision | ( | int | prec | ) |
| int AsciiSaveDlg::sfPrecision | ( | ) | const |
Returns SF precision.
References m_ui.
Referenced by initFromPersistentSettings(), and AsciiFilter::saveToFile().
| bool AsciiSaveDlg::swapColorAndSF | ( | ) | const |
Returns whether SF(s) and color should be swapped.
References m_ui.
Referenced by AsciiFilter::saveToFile().
|
protected |
Whether this dialog should be automatically shown or not.
|
protected |
Associated UI.
Referenced by acceptAndSaveSettings(), AsciiSaveDlg(), coordsPrecision(), enableSaveColumnsNamesHeader(), enableSavePointCountHeader(), enableSwapColorAndSF(), getSeparator(), getSeparatorIndex(), initFromPersistentSettings(), saveAlphaChannel(), saveColumnsNamesHeader(), saveFloatColors(), savePointCountHeader(), setCoordsPrecision(), setSaveAlphaChannel(), setSaveFloatColors(), setSeparatorIndex(), setSfPrecision(), sfPrecision(), swapColorAndSF(), and ~AsciiSaveDlg().