ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccGLDrawContext Struct Reference

Display context. More...

#include <ecvDrawContext.h>

Collaboration diagram for ccGLDrawContext:
[legend]

Public Member Functions

 ccGLDrawContext ()
 

Public Attributes

int drawingFlags
 Drawing options (see below) More...
 
bool forceRedraw
 
bool visFiltering
 
TransformInfo transformInfo
 
ecvTextParam textParam
 
QString viewID
 
int defaultViewPort
 
int normalDensity
 
float normalScale
 
float opacity
 
bool visible
 
unsigned char defaultLineWidth
 
unsigned char currentLineWidth
 
unsigned char defaultPointSize
 
glDrawParams drawParam
 
MESH_RENDERING_MODE meshRenderingMode
 
ENTITY_TYPE hideShowEntityType
 
QString removeViewID
 
ENTITY_TYPE removeEntityType
 
bool clearDepthLayer
 
bool clearColorLayer
 
int glW
 GL screen widthecvColor. More...
 
int glH
 GL screen height. More...
 
float devicePixelRatio
 Device pixel ratio (general 1, 2 on HD displays) More...
 
float renderZoom
 Current zoom (screen to file rendering mode) More...
 
ccMaterial::Shared defaultMat
 Default material. More...
 
ecvColor::Rgbaf defaultMeshFrontDiff
 Default color for mesh (front side) More...
 
ecvColor::Rgbaf defaultMeshBackDiff
 Default color for mesh (back side) More...
 
ecvColor::Rgb defaultMeshColor
 Default color for mesh. More...
 
ecvColor::Rgb defaultPolylineColor
 Default color for polyline. More...
 
ecvColor::Rgbub pointsDefaultCol
 Default point color. More...
 
ecvColor::Rgbub pointsCurrentCol
 Current point color. More...
 
ecvColor::Rgbub textDefaultCol
 Default text color. More...
 
ecvColor::Rgbub labelDefaultBkgCol
 Default label background color. More...
 
ecvColor::Rgbf viewDefaultBkgCol
 
ecvColor::Rgbub labelDefaultMarkerCol
 Default label marker color. More...
 
ecvColor::Rgbub bbDefaultCol
 Default bounding-box color. More...
 
ecvColor::Rgbub backgroundCol
 
ecvColor::Rgbub backgroundCol2
 
bool drawBackgroundGradient
 
bool decimateCloudOnMove
 Whether to decimate big clouds when updating the 3D view. More...
 
unsigned minLODPointCount
 Minimum number of points for activating LOD display. More...
 
unsigned char currentLODLevel
 Current level for LOD display. More...
 
bool moreLODPointsAvailable
 Wheter more points are available or not at the current level. More...
 
bool higherLODLevelsAvailable
 Wheter higher levels are available or not. More...
 
bool decimateMeshOnMove
 Whether to decimate big meshes when rotating the camera. More...
 
unsigned minLODTriangleCount
 Minimum number of triangles for activating LOD display. More...
 
ccScalarField * sfColorScaleToDisplay
 Currently displayed color scale (the corresponding scalar field in fact) More...
 
bool useVBOs
 Use VBOs for faster display. More...
 
float labelMarkerSize
 Label marker size (radius) More...
 
float labelMarkerTextShift_pix
 Shift for 3D label marker display (around the marker, in pixels) More...
 
unsigned dispNumberPrecision
 Numerical precision (for displaying text) More...
 
unsigned labelOpacity
 Label background opacity. More...
 
unsigned stereoPassIndex
 Stereo pass index. More...
 
bool drawRoundedPoints
 Whether to draw rounded points (instead of sqaures) More...
 

Detailed Description

Display context.

Constructor & Destructor Documentation

◆ ccGLDrawContext()

ccGLDrawContext::ccGLDrawContext ( )
inline

Member Data Documentation

◆ backgroundCol

ecvColor::Rgbub ccGLDrawContext::backgroundCol

◆ backgroundCol2

ecvColor::Rgbub ccGLDrawContext::backgroundCol2

◆ bbDefaultCol

ecvColor::Rgbub ccGLDrawContext::bbDefaultCol

Default bounding-box color.

Referenced by ccHObject::draw(), ecvDisplayTools::GetContext(), and DrawMeOnlyVisitor::visit().

◆ clearColorLayer

bool ccGLDrawContext::clearColorLayer

◆ clearDepthLayer

bool ccGLDrawContext::clearDepthLayer

◆ currentLineWidth

unsigned char ccGLDrawContext::currentLineWidth

◆ currentLODLevel

unsigned char ccGLDrawContext::currentLODLevel

Current level for LOD display.

Referenced by ecvDisplayTools::GetContext().

◆ decimateCloudOnMove

bool ccGLDrawContext::decimateCloudOnMove

Whether to decimate big clouds when updating the 3D view.

Referenced by ecvDisplayTools::GetContext().

◆ decimateMeshOnMove

bool ccGLDrawContext::decimateMeshOnMove

Whether to decimate big meshes when rotating the camera.

◆ defaultLineWidth

unsigned char ccGLDrawContext::defaultLineWidth

◆ defaultMat

ccMaterial::Shared ccGLDrawContext::defaultMat

Default material.

Referenced by ecvDisplayTools::GetContext().

◆ defaultMeshBackDiff

ecvColor::Rgbaf ccGLDrawContext::defaultMeshBackDiff

Default color for mesh (back side)

◆ defaultMeshColor

ecvColor::Rgb ccGLDrawContext::defaultMeshColor

Default color for mesh.

Referenced by ccCameraSensor::drawMeOnly().

◆ defaultMeshFrontDiff

ecvColor::Rgbaf ccGLDrawContext::defaultMeshFrontDiff

Default color for mesh (front side)

◆ defaultPointSize

unsigned char ccGLDrawContext::defaultPointSize

◆ defaultPolylineColor

ecvColor::Rgb ccGLDrawContext::defaultPolylineColor

Default color for polyline.

Referenced by ccCameraSensor::drawMeOnly().

◆ defaultViewPort

int ccGLDrawContext::defaultViewPort

◆ devicePixelRatio

float ccGLDrawContext::devicePixelRatio

Device pixel ratio (general 1, 2 on HD displays)

Referenced by ecvDisplayTools::GetContext().

◆ dispNumberPrecision

unsigned ccGLDrawContext::dispNumberPrecision

Numerical precision (for displaying text)

Referenced by ecvDisplayTools::GetContext().

◆ drawBackgroundGradient

bool ccGLDrawContext::drawBackgroundGradient

◆ drawingFlags

◆ drawParam

glDrawParams ccGLDrawContext::drawParam

◆ drawRoundedPoints

bool ccGLDrawContext::drawRoundedPoints

Whether to draw rounded points (instead of sqaures)

Referenced by ecvDisplayTools::GetContext().

◆ forceRedraw

bool ccGLDrawContext::forceRedraw

◆ glH

int ccGLDrawContext::glH

◆ glW

int ccGLDrawContext::glW

GL screen widthecvColor.

Referenced by ecvDisplayTools::GetContext(), and ecvDisplayTools::RedrawDisplay().

◆ hideShowEntityType

ENTITY_TYPE ccGLDrawContext::hideShowEntityType

◆ higherLODLevelsAvailable

bool ccGLDrawContext::higherLODLevelsAvailable

Wheter higher levels are available or not.

Referenced by ecvDisplayTools::GetContext().

◆ labelDefaultBkgCol

ecvColor::Rgbub ccGLDrawContext::labelDefaultBkgCol

Default label background color.

Referenced by ecvDisplayTools::GetContext().

◆ labelDefaultMarkerCol

ecvColor::Rgbub ccGLDrawContext::labelDefaultMarkerCol

Default label marker color.

Referenced by ecvDisplayTools::GetContext().

◆ labelMarkerSize

float ccGLDrawContext::labelMarkerSize

Label marker size (radius)

Referenced by ecvDisplayTools::GetContext().

◆ labelMarkerTextShift_pix

float ccGLDrawContext::labelMarkerTextShift_pix

Shift for 3D label marker display (around the marker, in pixels)

Referenced by ecvDisplayTools::GetContext().

◆ labelOpacity

unsigned ccGLDrawContext::labelOpacity

Label background opacity.

Referenced by ecvDisplayTools::GetContext().

◆ meshRenderingMode

◆ minLODPointCount

unsigned ccGLDrawContext::minLODPointCount

Minimum number of points for activating LOD display.

Referenced by ecvDisplayTools::GetContext().

◆ minLODTriangleCount

unsigned ccGLDrawContext::minLODTriangleCount

Minimum number of triangles for activating LOD display.

Referenced by ecvDisplayTools::GetContext().

◆ moreLODPointsAvailable

bool ccGLDrawContext::moreLODPointsAvailable

Wheter more points are available or not at the current level.

Referenced by ecvDisplayTools::GetContext().

◆ normalDensity

int ccGLDrawContext::normalDensity

◆ normalScale

float ccGLDrawContext::normalScale

◆ opacity

float ccGLDrawContext::opacity

◆ pointsCurrentCol

ecvColor::Rgbub ccGLDrawContext::pointsCurrentCol

Current point color.

◆ pointsDefaultCol

ecvColor::Rgbub ccGLDrawContext::pointsDefaultCol

Default point color.

Referenced by ecvDisplayTools::GetContext().

◆ removeEntityType

ENTITY_TYPE ccGLDrawContext::removeEntityType

◆ removeViewID

QString ccGLDrawContext::removeViewID

◆ renderZoom

float ccGLDrawContext::renderZoom

Current zoom (screen to file rendering mode)

Referenced by PclTools::UpdateScalarBar().

◆ sfColorScaleToDisplay

ccScalarField* ccGLDrawContext::sfColorScaleToDisplay

Currently displayed color scale (the corresponding scalar field in fact)

Referenced by ecvDisplayTools::GetContext(), and PclTools::UpdateScalarBar().

◆ stereoPassIndex

unsigned ccGLDrawContext::stereoPassIndex

Stereo pass index.

◆ textDefaultCol

ecvColor::Rgbub ccGLDrawContext::textDefaultCol

Default text color.

Referenced by ecvDisplayTools::GetContext().

◆ textParam

ecvTextParam ccGLDrawContext::textParam

◆ transformInfo

◆ useVBOs

bool ccGLDrawContext::useVBOs

Use VBOs for faster display.

Referenced by ecvDisplayTools::GetContext().

◆ viewDefaultBkgCol

ecvColor::Rgbf ccGLDrawContext::viewDefaultBkgCol

◆ viewID

◆ visFiltering

bool ccGLDrawContext::visFiltering

◆ visible

bool ccGLDrawContext::visible

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