qCC_glWindow version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D view
Public Types | Public Member Functions | Public Attributes | List of all members
ccGui::ParamStruct Struct Reference

GUI parameters. More...

#include <ccGuiParameters.h>

Public Types

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

Public Member Functions

 ParamStruct ()
 Default constructor.
 
void reset ()
 Resets parameters to default values.
 
void fromPersistentSettings ()
 Loads from persistent DB.
 
void toPersistentSettings () const
 Saves to persistent DB.
 
bool isInPersistentSettings (QString paramName) const
 Returns whether a given parameter is already defined in persistent settings or not. More...
 

Public Attributes

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

Detailed Description

GUI parameters.

Member Function Documentation

◆ isInPersistentSettings()

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

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

Parameters
paramNamethe corresponding attribute name

Member Data Documentation

◆ singleClickPicking

bool ccGui::ParamStruct::singleClickPicking

Whether to pick objects by single clicking in the GUI can be slow with large point clouds/large number of objects


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