qCC_io version 2.13.alpha (Qt) - 31 May 2022
CloudCompare standard I/O filters (file readers & writers)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AsciiSaveDlg Class Reference

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

#include <AsciiSaveDlg.h>

Inheritance diagram for AsciiSaveDlg:
Inheritance graph
[legend]
Collaboration diagram for AsciiSaveDlg:
Collaboration graph
[legend]

Public Member Functions

 AsciiSaveDlg (QWidget *parent=nullptr)
 Default constructor.
 
virtual ~AsciiSaveDlg ()
 Destructor.
 
bool saveColumnsNamesHeader () const
 Returns whether columns names should be be saved in header.
 
void enableSaveColumnsNamesHeader (bool state)
 Sets whether columns names should be be saved in header.
 
bool savePointCountHeader () const
 Returns whether the number of points should be saved in header.
 
void enableSavePointCountHeader (bool state)
 Sets whether the number of points should be saved in header.
 
unsigned char getSeparator () const
 Returns separator.
 
void setSeparatorIndex (int index)
 Sets separator (index) More...
 
int getSeparatorIndex () const
 Returns separator index.
 
int coordsPrecision () const
 Returns coordinates precision.
 
void setCoordsPrecision (int prec)
 Sets coordinates precision.
 
int sfPrecision () const
 Returns SF precision.
 
void setSfPrecision (int prec)
 Sets SF precision.
 
bool swapColorAndSF () const
 Returns whether SF(s) and color should be swapped.
 
void enableSwapColorAndSF (bool state)
 Sets whether SF(s) and color should be swapped.
 
void setSaveFloatColors (bool state)
 Sets whether to save colors as float values (instead of unsigned bytes)
 
bool saveFloatColors () const
 Returns whether to save colors as float values (instead of unsigned bytes)
 
void setSaveAlphaChannel (bool state)
 Sets whether to save the alpha (transparency) channel.
 
bool saveAlphaChannel () const
 Returns whether to save the alpha (transparency) channel.
 

Protected Member Functions

void acceptAndSaveSettings ()
 Saves dialog state to persistent settings.
 
void initFromPersistentSettings ()
 Inits dialog state from persistent settings.
 

Protected Attributes

Ui_AsciiSaveDialog * m_ui
 Associated UI.
 

Detailed Description

Dialog for configuration of ASCII files saving sequence.

Member Function Documentation

◆ setSeparatorIndex()

void AsciiSaveDlg::setSeparatorIndex ( int  index)

Sets separator (index)

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


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