qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
Public Member Functions | Public Attributes | List of all members
ccGLDrawContext Struct Reference

Display context. More...

#include <ccGLDrawContext.h>

Collaboration diagram for ccGLDrawContext:
Collaboration graph
[legend]

Public Member Functions

template<class TYPE >
TYPE * glFunctions () const
 

Public Attributes

int drawingFlags
 Drawing options (see below)
 
int glW
 GL screen width.
 
int glH
 GL screen height.
 
float devicePixelRatio
 Device pixel ratio (general 1, 2 on HD displays)
 
ccGenericGLDisplaydisplay
 Corresponding GL window.
 
QOpenGLContext * qGLContext
 OpenGL context used to access functions for particular profiles. More...
 
float renderZoom
 Current zoom (screen to file rendering mode)
 
ccMaterial::Shared defaultMat
 Default material.
 
ccColor::Rgbaf defaultMeshFrontDiff
 Default color for mesh (front side)
 
ccColor::Rgbaf defaultMeshBackDiff
 Default color for mesh (back side)
 
ccColor::Rgba pointsDefaultCol
 Default point color.
 
ccColor::Rgba textDefaultCol
 Default text color.
 
ccColor::Rgba labelDefaultBkgCol
 Default label background color.
 
ccColor::Rgba labelDefaultMarkerCol
 Default label marker color.
 
ccColor::Rgba bbDefaultCol
 Default bounding-box color.
 
bool decimateCloudOnMove
 Whether to decimate big clouds when updating the 3D view.
 
unsigned minLODPointCount
 Minimum number of points for activating LOD display.
 
unsigned char currentLODLevel
 Current level for LOD display.
 
bool moreLODPointsAvailable
 Whether more points are available or not at the current level.
 
bool higherLODLevelsAvailable
 Whether higher levels are available or not.
 
bool decimateMeshOnMove
 Whether to decimate big meshes when rotating the camera.
 
unsigned minLODTriangleCount
 Minimum number of triangles for activating LOD display.
 
ccScalarFieldsfColorScaleToDisplay
 Currently displayed color scale (the corresponding scalar field in fact)
 
ccColorRampShadercolorRampShader
 Shader for fast dynamic color ramp lookup.
 
ccShader * customRenderingShader
 Custom rendering shader (OpenGL 3.3+)
 
bool useVBOs
 Use VBOs for faster display.
 
float labelMarkerSize
 Label marker size (radius)
 
float labelMarkerTextShift_pix
 Shift for 3D label marker display (around the marker, in pixels)
 
unsigned dispNumberPrecision
 Numerical precision (for displaying text)
 
unsigned labelOpacity
 Label background opacity.
 
GLenum sourceBlend
 Blending strategy (source)
 
GLenum destBlend
 Blending strategy (destination)
 
unsigned stereoPassIndex
 Stereo pass index.
 
bool drawRoundedPoints
 Whether to draw rounded points (instead of squares)
 

Detailed Description

Display context.

Member Data Documentation

◆ qGLContext

QOpenGLContext* ccGLDrawContext::qGLContext

OpenGL context used to access functions for particular profiles.

See also
glFunctions()

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