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.

Member Enumeration Documentation

◆ ComputeOctreeForPicking

Octree computation (for picking) behaviors.

Enumerator
ALWAYS 
ASK_USER 
NEVER 

Constructor & Destructor Documentation

◆ ParamStruct()

ecvGui::ParamStruct::ParamStruct ( )

Default constructor.

References reset().

Member Function Documentation

◆ fromPersistentSettings()

◆ 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()

◆ toPersistentSettings()

void ecvGui::ParamStruct::toPersistentSettings ( ) const

Member Data Documentation

◆ autoComputeOctree

ComputeOctreeForPicking ecvGui::ParamStruct::autoComputeOctree

◆ backgroundCol

◆ bbDefaultCol

◆ bbLineWidth

unsigned ecvGui::ParamStruct::bbLineWidth

◆ bbOpacity

double ecvGui::ParamStruct::bbOpacity

Bounding-box opacity (0.0 to 1.0)

Referenced by ccDisplayOptionsDlg::changeBBOpacity(), ccHObject::draw(), and ccDisplayOptionsDlg::refresh().

◆ colorScaleRampWidth

◆ colorScaleShaderSupported

bool ecvGui::ParamStruct::colorScaleShaderSupported

Whether shader for color scale display is available or not.

Referenced by ccDisplayOptionsDlg::refresh().

◆ colorScaleShowHistogram

bool ecvGui::ParamStruct::colorScaleShowHistogram

◆ colorScaleUseShader

bool ecvGui::ParamStruct::colorScaleUseShader

◆ decimateCloudOnMove

bool ecvGui::ParamStruct::decimateCloudOnMove

Decimate clouds when moved.

Referenced by ecvDisplayTools::GetContext(), and ccDisplayOptionsDlg::refresh().

◆ decimateMeshOnMove

bool ecvGui::ParamStruct::decimateMeshOnMove

◆ defaultFontSize

unsigned ecvGui::ParamStruct::defaultFontSize

◆ displayCross

◆ displayedNumPrecision

◆ drawBackgroundGradient

◆ drawRoundedPoints

bool ecvGui::ParamStruct::drawRoundedPoints

Whether to draw rounded points (slower) or not.

Referenced by ecvDisplayTools::GetContext(), and ccDisplayOptionsDlg::refresh().

◆ labelBackgroundCol

ecvColor::Rgbub ecvGui::ParamStruct::labelBackgroundCol

◆ labelFontSize

unsigned ecvGui::ParamStruct::labelFontSize

◆ labelMarkerCol

ecvColor::Rgbub ecvGui::ParamStruct::labelMarkerCol

◆ labelMarkerSize

◆ labelOpacity

unsigned ecvGui::ParamStruct::labelOpacity

◆ lightAmbientColor

ecvColor::Rgbaf ecvGui::ParamStruct::lightAmbientColor

◆ lightDiffuseColor

ecvColor::Rgbaf ecvGui::ParamStruct::lightDiffuseColor

◆ lightDoubleSided

bool ecvGui::ParamStruct::lightDoubleSided

Double sided light.

Referenced by ccDisplayOptionsDlg::refresh().

◆ lightSpecularColor

ecvColor::Rgbaf ecvGui::ParamStruct::lightSpecularColor

◆ meshBackDiff

ecvColor::Rgbaf ecvGui::ParamStruct::meshBackDiff

◆ meshFrontDiff

ecvColor::Rgbaf ecvGui::ParamStruct::meshFrontDiff

◆ meshSpecular

ecvColor::Rgbaf ecvGui::ParamStruct::meshSpecular

◆ minLoDCloudSize

unsigned ecvGui::ParamStruct::minLoDCloudSize

◆ minLoDMeshSize

unsigned ecvGui::ParamStruct::minLoDMeshSize

◆ pointsDefaultCol

◆ showBBOnSelected

bool ecvGui::ParamStruct::showBBOnSelected

Show bounding-box on selected objects.

Referenced by ccHObject::draw(), ccDisplayOptionsDlg::refresh(), and ccPropertiesTreeDelegate::setEditorData().

◆ textDefaultCol

◆ useVBOs

bool ecvGui::ParamStruct::useVBOs

Whether to use VBOs for faster display.

Referenced by ccDisplayOptionsDlg::changeVBOUsage(), ecvDisplayTools::GetContext(), and ccDisplayOptionsDlg::refresh().

◆ zoomSpeed

double ecvGui::ParamStruct::zoomSpeed

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