ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
AsciiSaveDlg Class Reference

Dialog for configuration of ASCII files saving sequence. More...

#include <AsciiSaveDlg.h>

Inheritance diagram for AsciiSaveDlg:
Collaboration diagram for AsciiSaveDlg:

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...
 

Detailed Description

Dialog for configuration of ASCII files saving sequence.

Definition at line 19 of file AsciiSaveDlg.h.

Constructor & Destructor Documentation

◆ AsciiSaveDlg()

AsciiSaveDlg::AsciiSaveDlg ( QWidget *  parent = nullptr)
explicit

Default constructor.

◆ ~AsciiSaveDlg()

virtual AsciiSaveDlg::~AsciiSaveDlg ( )
virtual

Destructor.

Member Function Documentation

◆ acceptAndSaveSettings

void AsciiSaveDlg::acceptAndSaveSettings ( )
protectedslot

Saves dialog state to persistent settings.

◆ autoShown()

bool AsciiSaveDlg::autoShown ( ) const
inline

Returns whether this dialog automatically appears or not.

Definition at line 70 of file AsciiSaveDlg.h.

◆ coordsPrecision()

int AsciiSaveDlg::coordsPrecision ( ) const

Returns coordinates precision.

◆ enableSaveColumnsNamesHeader()

void AsciiSaveDlg::enableSaveColumnsNamesHeader ( bool  state)

Sets whether columns names should be be saved in header.

◆ enableSavePointCountHeader()

void AsciiSaveDlg::enableSavePointCountHeader ( bool  state)

Sets whether the number of points should be saved in header.

◆ enableSwapColorAndSF()

void AsciiSaveDlg::enableSwapColorAndSF ( bool  state)

Sets whether SF(s) and color should be swapped.

◆ getSeparator()

unsigned char AsciiSaveDlg::getSeparator ( ) const

Returns separator.

◆ getSeparatorIndex()

int AsciiSaveDlg::getSeparatorIndex ( ) const

Returns separator index.

◆ initFromPersistentSettings()

void AsciiSaveDlg::initFromPersistentSettings ( )
protected

Inits dialog state from persistent settings.

◆ saveAlphaChannel()

bool AsciiSaveDlg::saveAlphaChannel ( ) const

Returns whether to save the alpha (transparency) channel.

◆ saveColumnsNamesHeader()

bool AsciiSaveDlg::saveColumnsNamesHeader ( ) const

Returns whether columns names should be be saved in header.

◆ saveFloatColors()

bool AsciiSaveDlg::saveFloatColors ( ) const

Returns whether to save colors as float values (instead of unsigned bytes)

◆ savePointCountHeader()

bool AsciiSaveDlg::savePointCountHeader ( ) const

Returns whether the number of points should be saved in header.

◆ setAutoShow()

void AsciiSaveDlg::setAutoShow ( bool  state)
inline

Sets whether this dialog should appear or not by default.

Definition at line 68 of file AsciiSaveDlg.h.

◆ setCoordsPrecision()

void AsciiSaveDlg::setCoordsPrecision ( int  prec)

Sets coordinates precision.

◆ setSaveAlphaChannel()

void AsciiSaveDlg::setSaveAlphaChannel ( bool  state)

Sets whether to save the alpha (transparency) channel.

◆ setSaveFloatColors()

void AsciiSaveDlg::setSaveFloatColors ( bool  state)

Sets whether to save colors as float values (instead of unsigned bytes)

◆ setSeparatorIndex()

void AsciiSaveDlg::setSeparatorIndex ( int  index)

Set separator (index)

0 = space 1 = semicolon 2 = comma 3 = tab

◆ setSfPrecision()

void AsciiSaveDlg::setSfPrecision ( int  prec)

Sets SF precision.

◆ sfPrecision()

int AsciiSaveDlg::sfPrecision ( ) const

Returns SF precision.

◆ swapColorAndSF()

bool AsciiSaveDlg::swapColorAndSF ( ) const

Returns whether SF(s) and color should be swapped.

Member Data Documentation

◆ m_autoShow

bool AsciiSaveDlg::m_autoShow
protected

Whether this dialog should be automatically shown or not.

Definition at line 96 of file AsciiSaveDlg.h.

◆ m_ui

Ui_AsciiSaveDialog* AsciiSaveDlg::m_ui
protected

Associated UI.

Definition at line 90 of file AsciiSaveDlg.h.


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