![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
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... | |
GUI parameters.
Definition at line 28 of file ecvGuiParameters.h.
Octree computation (for picking) behaviors.
| Enumerator | |
|---|---|
| ALWAYS | |
| ASK_USER | |
| NEVER | |
Definition at line 104 of file ecvGuiParameters.h.
| ecvGui::ParamStruct::ParamStruct | ( | ) |
Default constructor.
| void ecvGui::ParamStruct::fromPersistentSettings | ( | ) |
Loads from persistent DB.
| void ecvGui::ParamStruct::initFontSizesIfNeeded | ( | ) |
| bool ecvGui::ParamStruct::isInPersistentSettings | ( | QString | paramName | ) | const |
Returns whether a given parameter is already defined in persistent settings or not
| paramName | the corresponding attribute name |
| void ecvGui::ParamStruct::reset | ( | ) |
Resets parameters to default values.
| void ecvGui::ParamStruct::toPersistentSettings | ( | ) | const |
Saves to persistent DB.
| ComputeOctreeForPicking ecvGui::ParamStruct::autoComputeOctree |
Octree computation (for picking) behavior.
Definition at line 107 of file ecvGuiParameters.h.
| ecvColor::Rgbub ecvGui::ParamStruct::backgroundCol |
Background color.
Definition at line 50 of file ecvGuiParameters.h.
| ecvColor::Rgbub ecvGui::ParamStruct::bbDefaultCol |
Bounding-boxes color.
Definition at line 56 of file ecvGuiParameters.h.
| unsigned ecvGui::ParamStruct::bbLineWidth |
Bounding-box line width.
Definition at line 62 of file ecvGuiParameters.h.
| double ecvGui::ParamStruct::bbOpacity |
Bounding-box opacity (0.0 to 1.0)
Definition at line 60 of file ecvGuiParameters.h.
| unsigned ecvGui::ParamStruct::colorScaleRampWidth |
Color scale ramp width (for display)
Definition at line 89 of file ecvGuiParameters.h.
Referenced by DistanceMapGenerationDlg::updateZoom().
| bool ecvGui::ParamStruct::colorScaleShaderSupported |
Whether shader for color scale display is available or not.
Definition at line 87 of file ecvGuiParameters.h.
| bool ecvGui::ParamStruct::colorScaleShowHistogram |
Color scale option: show histogram next to color ramp.
Definition at line 83 of file ecvGuiParameters.h.
| bool ecvGui::ParamStruct::colorScaleUseShader |
Whether to use shader for color scale display (if available) or not.
Definition at line 85 of file ecvGuiParameters.h.
| bool ecvGui::ParamStruct::decimateCloudOnMove |
Decimate clouds when moved.
Definition at line 71 of file ecvGuiParameters.h.
| bool ecvGui::ParamStruct::decimateMeshOnMove |
Decimate meshes when moved.
Definition at line 67 of file ecvGuiParameters.h.
| unsigned ecvGui::ParamStruct::defaultFontSize |
Default displayed font size.
Definition at line 92 of file ecvGuiParameters.h.
| bool ecvGui::ParamStruct::displayCross |
Display cross in the middle of the screen.
Definition at line 75 of file ecvGuiParameters.h.
| unsigned ecvGui::ParamStruct::displayedNumPrecision |
Displayed numbers precision.
Definition at line 96 of file ecvGuiParameters.h.
Referenced by ccEntityAction::computeStatParams(), MatrixDisplayDlg::fillDialogWith(), MainWindow::onItemPicked(), ccPointListPickingDlg::processPickedPoint(), ccHistogramWindow::refresh(), and ccPointListPickingDlg::updateList().
| bool ecvGui::ParamStruct::drawBackgroundGradient |
Use background gradient.
Definition at line 65 of file ecvGuiParameters.h.
| bool ecvGui::ParamStruct::drawRoundedPoints |
Whether to draw rounded points (slower) or not.
Definition at line 110 of file ecvGuiParameters.h.
| ecvColor::Rgbub ecvGui::ParamStruct::labelBackgroundCol |
Labels background color.
Definition at line 52 of file ecvGuiParameters.h.
| unsigned ecvGui::ParamStruct::labelFontSize |
Label font size.
Definition at line 94 of file ecvGuiParameters.h.
| ecvColor::Rgbub ecvGui::ParamStruct::labelMarkerCol |
Labels marker color.
Definition at line 54 of file ecvGuiParameters.h.
| unsigned ecvGui::ParamStruct::labelMarkerSize |
Label marker size.
Definition at line 80 of file ecvGuiParameters.h.
Referenced by ccPointListPickingDlg::markerSizeChanged().
| unsigned ecvGui::ParamStruct::labelOpacity |
Labels background opcaity.
Definition at line 98 of file ecvGuiParameters.h.
| ecvColor::Rgbaf ecvGui::ParamStruct::lightAmbientColor |
Light ambient color (RGBA)
Definition at line 32 of file ecvGuiParameters.h.
| ecvColor::Rgbaf ecvGui::ParamStruct::lightDiffuseColor |
Light diffuse color (RGBA)
Definition at line 30 of file ecvGuiParameters.h.
| bool ecvGui::ParamStruct::lightDoubleSided |
Double sided light.
Definition at line 36 of file ecvGuiParameters.h.
| ecvColor::Rgbaf ecvGui::ParamStruct::lightSpecularColor |
Light specular color (RGBA)
Definition at line 34 of file ecvGuiParameters.h.
| ecvColor::Rgbaf ecvGui::ParamStruct::meshBackDiff |
Default mesh diffuse color (back)
Definition at line 41 of file ecvGuiParameters.h.
| ecvColor::Rgbaf ecvGui::ParamStruct::meshFrontDiff |
Default mesh diffuse color (front)
Definition at line 39 of file ecvGuiParameters.h.
| ecvColor::Rgbaf ecvGui::ParamStruct::meshSpecular |
Default mesh specular color.
Definition at line 43 of file ecvGuiParameters.h.
| unsigned ecvGui::ParamStruct::minLoDCloudSize |
Min cloud size for decimation.
Definition at line 73 of file ecvGuiParameters.h.
| unsigned ecvGui::ParamStruct::minLoDMeshSize |
Min mesh size for decimation.
Definition at line 69 of file ecvGuiParameters.h.
| ecvColor::Rgbub ecvGui::ParamStruct::pointsDefaultCol |
Default 3D points color.
Definition at line 48 of file ecvGuiParameters.h.
| bool ecvGui::ParamStruct::showBBOnSelected |
Show bounding-box on selected objects.
Definition at line 58 of file ecvGuiParameters.h.
| ecvColor::Rgbub ecvGui::ParamStruct::textDefaultCol |
Default text color.
Definition at line 46 of file ecvGuiParameters.h.
| bool ecvGui::ParamStruct::useVBOs |
Whether to use VBOs for faster display.
Definition at line 77 of file ecvGuiParameters.h.
| double ecvGui::ParamStruct::zoomSpeed |
Zoom speed (1.0 by default)
Definition at line 101 of file ecvGuiParameters.h.