ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvGui::ParamStruct Struct Reference

GUI parameters. More...

#include <ecvGuiParameters.h>

Public Types

enum  ComputeOctreeForPicking { ALWAYS = 0 , ASK_USER = 1 , NEVER = 2 }
 Octree computation (for picking) behaviors. More...
 

Public Member Functions

 ParamStruct ()
 Default constructor. More...
 
void reset ()
 Resets parameters to default values. More...
 
void initFontSizesIfNeeded ()
 
void fromPersistentSettings ()
 Loads from persistent DB. More...
 
void toPersistentSettings () const
 Saves to persistent DB. More...
 
bool isInPersistentSettings (QString paramName) const
 

Public Attributes

ecvColor::Rgbaf lightDiffuseColor
 Light diffuse color (RGBA) More...
 
ecvColor::Rgbaf lightAmbientColor
 Light ambient color (RGBA) More...
 
ecvColor::Rgbaf lightSpecularColor
 Light specular color (RGBA) More...
 
bool lightDoubleSided
 Double sided light. More...
 
ecvColor::Rgbaf meshFrontDiff
 Default mesh diffuse color (front) More...
 
ecvColor::Rgbaf meshBackDiff
 Default mesh diffuse color (back) More...
 
ecvColor::Rgbaf meshSpecular
 Default mesh specular color. More...
 
ecvColor::Rgbub textDefaultCol
 Default text color. More...
 
ecvColor::Rgbub pointsDefaultCol
 Default 3D points color. More...
 
ecvColor::Rgbub backgroundCol
 Background color. More...
 
ecvColor::Rgbub labelBackgroundCol
 Labels background color. More...
 
ecvColor::Rgbub labelMarkerCol
 Labels marker color. More...
 
ecvColor::Rgbub bbDefaultCol
 Bounding-boxes color. More...
 
bool showBBOnSelected
 Show bounding-box on selected objects. More...
 
double bbOpacity
 Bounding-box opacity (0.0 to 1.0) More...
 
unsigned bbLineWidth
 Bounding-box line width. More...
 
bool drawBackgroundGradient
 Use background gradient. More...
 
bool decimateMeshOnMove
 Decimate meshes when moved. More...
 
unsigned minLoDMeshSize
 Min mesh size for decimation. More...
 
bool decimateCloudOnMove
 Decimate clouds when moved. More...
 
unsigned minLoDCloudSize
 Min cloud size for decimation. More...
 
bool displayCross
 Display cross in the middle of the screen. More...
 
bool useVBOs
 Whether to use VBOs for faster display. More...
 
unsigned labelMarkerSize
 Label marker size. More...
 
bool colorScaleShowHistogram
 Color scale option: show histogram next to color ramp. More...
 
bool colorScaleUseShader
 Whether to use shader for color scale display (if available) or not. More...
 
bool colorScaleShaderSupported
 Whether shader for color scale display is available or not. More...
 
unsigned colorScaleRampWidth
 Color scale ramp width (for display) More...
 
unsigned defaultFontSize
 Default displayed font size. More...
 
unsigned labelFontSize
 Label font size. More...
 
unsigned displayedNumPrecision
 Displayed numbers precision. More...
 
unsigned labelOpacity
 Labels background opcaity. More...
 
double zoomSpeed
 Zoom speed (1.0 by default) More...
 
ComputeOctreeForPicking autoComputeOctree
 Octree computation (for picking) behavior. More...
 
bool drawRoundedPoints
 Whether to draw rounded points (slower) or not. More...
 

Detailed Description

GUI parameters.

Definition at line 28 of file ecvGuiParameters.h.

Member Enumeration Documentation

◆ ComputeOctreeForPicking

Octree computation (for picking) behaviors.

Enumerator
ALWAYS 
ASK_USER 
NEVER 

Definition at line 104 of file ecvGuiParameters.h.

Constructor & Destructor Documentation

◆ ParamStruct()

ecvGui::ParamStruct::ParamStruct ( )

Default constructor.

Member Function Documentation

◆ fromPersistentSettings()

void ecvGui::ParamStruct::fromPersistentSettings ( )

Loads from persistent DB.

◆ initFontSizesIfNeeded()

void ecvGui::ParamStruct::initFontSizesIfNeeded ( )

◆ isInPersistentSettings()

bool ecvGui::ParamStruct::isInPersistentSettings ( QString  paramName) const

Returns whether a given parameter is already defined in persistent settings or not

Parameters
paramNamethe corresponding attribute name

◆ reset()

void ecvGui::ParamStruct::reset ( )

Resets parameters to default values.

◆ toPersistentSettings()

void ecvGui::ParamStruct::toPersistentSettings ( ) const

Saves to persistent DB.

Member Data Documentation

◆ autoComputeOctree

ComputeOctreeForPicking ecvGui::ParamStruct::autoComputeOctree

Octree computation (for picking) behavior.

Definition at line 107 of file ecvGuiParameters.h.

◆ backgroundCol

ecvColor::Rgbub ecvGui::ParamStruct::backgroundCol

Background color.

Definition at line 50 of file ecvGuiParameters.h.

◆ bbDefaultCol

ecvColor::Rgbub ecvGui::ParamStruct::bbDefaultCol

Bounding-boxes color.

Definition at line 56 of file ecvGuiParameters.h.

◆ bbLineWidth

unsigned ecvGui::ParamStruct::bbLineWidth

Bounding-box line width.

Definition at line 62 of file ecvGuiParameters.h.

◆ bbOpacity

double ecvGui::ParamStruct::bbOpacity

Bounding-box opacity (0.0 to 1.0)

Definition at line 60 of file ecvGuiParameters.h.

◆ colorScaleRampWidth

unsigned ecvGui::ParamStruct::colorScaleRampWidth

Color scale ramp width (for display)

Definition at line 89 of file ecvGuiParameters.h.

Referenced by DistanceMapGenerationDlg::updateZoom().

◆ colorScaleShaderSupported

bool ecvGui::ParamStruct::colorScaleShaderSupported

Whether shader for color scale display is available or not.

Definition at line 87 of file ecvGuiParameters.h.

◆ colorScaleShowHistogram

bool ecvGui::ParamStruct::colorScaleShowHistogram

Color scale option: show histogram next to color ramp.

Definition at line 83 of file ecvGuiParameters.h.

◆ colorScaleUseShader

bool ecvGui::ParamStruct::colorScaleUseShader

Whether to use shader for color scale display (if available) or not.

Definition at line 85 of file ecvGuiParameters.h.

◆ decimateCloudOnMove

bool ecvGui::ParamStruct::decimateCloudOnMove

Decimate clouds when moved.

Definition at line 71 of file ecvGuiParameters.h.

◆ decimateMeshOnMove

bool ecvGui::ParamStruct::decimateMeshOnMove

Decimate meshes when moved.

Definition at line 67 of file ecvGuiParameters.h.

◆ defaultFontSize

unsigned ecvGui::ParamStruct::defaultFontSize

Default displayed font size.

Definition at line 92 of file ecvGuiParameters.h.

◆ displayCross

bool ecvGui::ParamStruct::displayCross

Display cross in the middle of the screen.

Definition at line 75 of file ecvGuiParameters.h.

◆ displayedNumPrecision

◆ drawBackgroundGradient

bool ecvGui::ParamStruct::drawBackgroundGradient

Use background gradient.

Definition at line 65 of file ecvGuiParameters.h.

◆ drawRoundedPoints

bool ecvGui::ParamStruct::drawRoundedPoints

Whether to draw rounded points (slower) or not.

Definition at line 110 of file ecvGuiParameters.h.

◆ labelBackgroundCol

ecvColor::Rgbub ecvGui::ParamStruct::labelBackgroundCol

Labels background color.

Definition at line 52 of file ecvGuiParameters.h.

◆ labelFontSize

unsigned ecvGui::ParamStruct::labelFontSize

Label font size.

Definition at line 94 of file ecvGuiParameters.h.

◆ labelMarkerCol

ecvColor::Rgbub ecvGui::ParamStruct::labelMarkerCol

Labels marker color.

Definition at line 54 of file ecvGuiParameters.h.

◆ labelMarkerSize

unsigned ecvGui::ParamStruct::labelMarkerSize

Label marker size.

Definition at line 80 of file ecvGuiParameters.h.

Referenced by ccPointListPickingDlg::markerSizeChanged().

◆ labelOpacity

unsigned ecvGui::ParamStruct::labelOpacity

Labels background opcaity.

Definition at line 98 of file ecvGuiParameters.h.

◆ lightAmbientColor

ecvColor::Rgbaf ecvGui::ParamStruct::lightAmbientColor

Light ambient color (RGBA)

Definition at line 32 of file ecvGuiParameters.h.

◆ lightDiffuseColor

ecvColor::Rgbaf ecvGui::ParamStruct::lightDiffuseColor

Light diffuse color (RGBA)

Definition at line 30 of file ecvGuiParameters.h.

◆ lightDoubleSided

bool ecvGui::ParamStruct::lightDoubleSided

Double sided light.

Definition at line 36 of file ecvGuiParameters.h.

◆ lightSpecularColor

ecvColor::Rgbaf ecvGui::ParamStruct::lightSpecularColor

Light specular color (RGBA)

Definition at line 34 of file ecvGuiParameters.h.

◆ meshBackDiff

ecvColor::Rgbaf ecvGui::ParamStruct::meshBackDiff

Default mesh diffuse color (back)

Definition at line 41 of file ecvGuiParameters.h.

◆ meshFrontDiff

ecvColor::Rgbaf ecvGui::ParamStruct::meshFrontDiff

Default mesh diffuse color (front)

Definition at line 39 of file ecvGuiParameters.h.

◆ meshSpecular

ecvColor::Rgbaf ecvGui::ParamStruct::meshSpecular

Default mesh specular color.

Definition at line 43 of file ecvGuiParameters.h.

◆ minLoDCloudSize

unsigned ecvGui::ParamStruct::minLoDCloudSize

Min cloud size for decimation.

Definition at line 73 of file ecvGuiParameters.h.

◆ minLoDMeshSize

unsigned ecvGui::ParamStruct::minLoDMeshSize

Min mesh size for decimation.

Definition at line 69 of file ecvGuiParameters.h.

◆ pointsDefaultCol

ecvColor::Rgbub ecvGui::ParamStruct::pointsDefaultCol

Default 3D points color.

Definition at line 48 of file ecvGuiParameters.h.

◆ showBBOnSelected

bool ecvGui::ParamStruct::showBBOnSelected

Show bounding-box on selected objects.

Definition at line 58 of file ecvGuiParameters.h.

◆ textDefaultCol

ecvColor::Rgbub ecvGui::ParamStruct::textDefaultCol

Default text color.

Definition at line 46 of file ecvGuiParameters.h.

◆ useVBOs

bool ecvGui::ParamStruct::useVBOs

Whether to use VBOs for faster display.

Definition at line 77 of file ecvGuiParameters.h.

◆ zoomSpeed

double ecvGui::ParamStruct::zoomSpeed

Zoom speed (1.0 by default)

Definition at line 101 of file ecvGuiParameters.h.


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