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

Main application options. More...

#include <ecvOptions.h>

Public Member Functions

 ecvOptions ()
 Default constructor. More...
 
void reset ()
 Resets parameters to default values. More...
 
void fromPersistentSettings ()
 Loads from persistent DB. More...
 
void toPersistentSettings () const
 Saves to persistent DB. More...
 

Static Public Member Functions

static const ecvOptionsInstance ()
 Returns the stored values of each parameter. More...
 
static void ReleaseInstance ()
 Release unique instance (if any) More...
 
static void Set (const ecvOptions &options)
 Sets parameters. More...
 

Public Attributes

bool normalsDisplayedByDefault
 Whether to display the normals by default or not. More...
 
bool useNativeDialogs
 Use native load/save dialogs. More...
 
CVLog::MessageLevelFlags logVerbosityLevel
 Log/console verbosity level (reuses CVLog::MessageLevelFlags) More...
 
bool askForConfirmationBeforeQuitting
 Ask for confirmation before quitting. More...
 

Static Protected Member Functions

static ecvOptionsInstanceNonConst ()
 Returns the stored values of each parameter. More...
 

Detailed Description

Main application options.

Definition at line 19 of file ecvOptions.h.

Constructor & Destructor Documentation

◆ ecvOptions()

ecvOptions::ecvOptions ( )

Default constructor.

Member Function Documentation

◆ fromPersistentSettings()

void ecvOptions::fromPersistentSettings ( )

Loads from persistent DB.

◆ Instance()

static const ecvOptions& ecvOptions::Instance ( )
inlinestatic

Returns the stored values of each parameter.

Definition at line 48 of file ecvOptions.h.

Referenced by MainWindow::addToDB(), and ECVFileDialogOptions().

◆ InstanceNonConst()

static ecvOptions& ecvOptions::InstanceNonConst ( )
staticprotected

Returns the stored values of each parameter.

◆ ReleaseInstance()

static void ecvOptions::ReleaseInstance ( )
static

Release unique instance (if any)

◆ reset()

void ecvOptions::reset ( )

Resets parameters to default values.

◆ Set()

static void ecvOptions::Set ( const ecvOptions options)
static

Sets parameters.

◆ toPersistentSettings()

void ecvOptions::toPersistentSettings ( ) const

Saves to persistent DB.

Member Data Documentation

◆ askForConfirmationBeforeQuitting

bool ecvOptions::askForConfirmationBeforeQuitting

Ask for confirmation before quitting.

Definition at line 31 of file ecvOptions.h.

◆ logVerbosityLevel

CVLog::MessageLevelFlags ecvOptions::logVerbosityLevel

Log/console verbosity level (reuses CVLog::MessageLevelFlags)

Definition at line 28 of file ecvOptions.h.

◆ normalsDisplayedByDefault

bool ecvOptions::normalsDisplayedByDefault

Whether to display the normals by default or not.

Definition at line 22 of file ecvOptions.h.

Referenced by MainWindow::addToDB().

◆ useNativeDialogs

bool ecvOptions::useNativeDialogs

Use native load/save dialogs.

Definition at line 25 of file ecvOptions.h.


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