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

Display context. More...

#include <ecvDrawContext.h>

Collaboration diagram for ccGLDrawContext:

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...
 
ccScalarFieldsfColorScaleToDisplay
 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.

Definition at line 365 of file ecvDrawContext.h.

Constructor & Destructor Documentation

◆ ccGLDrawContext()

ccGLDrawContext::ccGLDrawContext ( )
inline

Definition at line 477 of file ecvDrawContext.h.

Member Data Documentation

◆ backgroundCol

ecvColor::Rgbub ccGLDrawContext::backgroundCol

Definition at line 433 of file ecvDrawContext.h.

◆ backgroundCol2

ecvColor::Rgbub ccGLDrawContext::backgroundCol2

Definition at line 434 of file ecvDrawContext.h.

◆ bbDefaultCol

ecvColor::Rgbub ccGLDrawContext::bbDefaultCol

Default bounding-box color.

Definition at line 431 of file ecvDrawContext.h.

◆ clearColorLayer

bool ccGLDrawContext::clearColorLayer

Definition at line 392 of file ecvDrawContext.h.

◆ clearDepthLayer

bool ccGLDrawContext::clearDepthLayer

Definition at line 391 of file ecvDrawContext.h.

◆ currentLineWidth

unsigned char ccGLDrawContext::currentLineWidth

Definition at line 382 of file ecvDrawContext.h.

◆ currentLODLevel

unsigned char ccGLDrawContext::currentLODLevel

Current level for LOD display.

Definition at line 442 of file ecvDrawContext.h.

◆ decimateCloudOnMove

bool ccGLDrawContext::decimateCloudOnMove

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

Definition at line 438 of file ecvDrawContext.h.

◆ decimateMeshOnMove

bool ccGLDrawContext::decimateMeshOnMove

Whether to decimate big meshes when rotating the camera.

Definition at line 449 of file ecvDrawContext.h.

◆ defaultLineWidth

unsigned char ccGLDrawContext::defaultLineWidth

Definition at line 381 of file ecvDrawContext.h.

Referenced by ccTrace::drawMeOnly().

◆ defaultMat

ccMaterial::Shared ccGLDrawContext::defaultMat

Default material.

Definition at line 405 of file ecvDrawContext.h.

◆ defaultMeshBackDiff

ecvColor::Rgbaf ccGLDrawContext::defaultMeshBackDiff

Default color for mesh (back side)

Definition at line 410 of file ecvDrawContext.h.

◆ defaultMeshColor

ecvColor::Rgb ccGLDrawContext::defaultMeshColor

Default color for mesh.

Definition at line 412 of file ecvDrawContext.h.

◆ defaultMeshFrontDiff

ecvColor::Rgbaf ccGLDrawContext::defaultMeshFrontDiff

Default color for mesh (front side)

Definition at line 408 of file ecvDrawContext.h.

◆ defaultPointSize

unsigned char ccGLDrawContext::defaultPointSize

Definition at line 383 of file ecvDrawContext.h.

Referenced by ccPointPair::drawMeOnly(), and ccTrace::drawMeOnly().

◆ defaultPolylineColor

ecvColor::Rgb ccGLDrawContext::defaultPolylineColor

Default color for polyline.

Definition at line 415 of file ecvDrawContext.h.

◆ defaultViewPort

int ccGLDrawContext::defaultViewPort

Definition at line 374 of file ecvDrawContext.h.

◆ devicePixelRatio

float ccGLDrawContext::devicePixelRatio

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

Definition at line 399 of file ecvDrawContext.h.

◆ dispNumberPrecision

unsigned ccGLDrawContext::dispNumberPrecision

Numerical precision (for displaying text)

Definition at line 465 of file ecvDrawContext.h.

◆ drawBackgroundGradient

bool ccGLDrawContext::drawBackgroundGradient

Definition at line 435 of file ecvDrawContext.h.

◆ drawingFlags

int ccGLDrawContext::drawingFlags

Drawing options (see below)

Definition at line 367 of file ecvDrawContext.h.

Referenced by ccPointPair::drawMeOnly(), and ccTrace::drawMeOnly().

◆ drawParam

glDrawParams ccGLDrawContext::drawParam

Definition at line 384 of file ecvDrawContext.h.

◆ drawRoundedPoints

bool ccGLDrawContext::drawRoundedPoints

Whether to draw rounded points (instead of sqaures)

Definition at line 474 of file ecvDrawContext.h.

◆ forceRedraw

bool ccGLDrawContext::forceRedraw

Definition at line 368 of file ecvDrawContext.h.

◆ glH

int ccGLDrawContext::glH

GL screen height.

Definition at line 397 of file ecvDrawContext.h.

◆ glW

int ccGLDrawContext::glW

GL screen widthecvColor.

Definition at line 395 of file ecvDrawContext.h.

◆ hideShowEntityType

ENTITY_TYPE ccGLDrawContext::hideShowEntityType

Definition at line 386 of file ecvDrawContext.h.

◆ higherLODLevelsAvailable

bool ccGLDrawContext::higherLODLevelsAvailable

Wheter higher levels are available or not.

Definition at line 446 of file ecvDrawContext.h.

◆ labelDefaultBkgCol

ecvColor::Rgbub ccGLDrawContext::labelDefaultBkgCol

Default label background color.

Definition at line 424 of file ecvDrawContext.h.

◆ labelDefaultMarkerCol

ecvColor::Rgbub ccGLDrawContext::labelDefaultMarkerCol

Default label marker color.

Definition at line 429 of file ecvDrawContext.h.

◆ labelMarkerSize

float ccGLDrawContext::labelMarkerSize

Label marker size (radius)

Definition at line 460 of file ecvDrawContext.h.

◆ labelMarkerTextShift_pix

float ccGLDrawContext::labelMarkerTextShift_pix

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

Definition at line 462 of file ecvDrawContext.h.

◆ labelOpacity

unsigned ccGLDrawContext::labelOpacity

Label background opacity.

Definition at line 468 of file ecvDrawContext.h.

◆ meshRenderingMode

MESH_RENDERING_MODE ccGLDrawContext::meshRenderingMode

Definition at line 385 of file ecvDrawContext.h.

◆ minLODPointCount

unsigned ccGLDrawContext::minLODPointCount

Minimum number of points for activating LOD display.

Definition at line 440 of file ecvDrawContext.h.

◆ minLODTriangleCount

unsigned ccGLDrawContext::minLODTriangleCount

Minimum number of triangles for activating LOD display.

Definition at line 451 of file ecvDrawContext.h.

◆ moreLODPointsAvailable

bool ccGLDrawContext::moreLODPointsAvailable

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

Definition at line 444 of file ecvDrawContext.h.

◆ normalDensity

int ccGLDrawContext::normalDensity

Definition at line 375 of file ecvDrawContext.h.

◆ normalScale

float ccGLDrawContext::normalScale

Definition at line 376 of file ecvDrawContext.h.

◆ opacity

float ccGLDrawContext::opacity

Definition at line 378 of file ecvDrawContext.h.

◆ pointsCurrentCol

ecvColor::Rgbub ccGLDrawContext::pointsCurrentCol

Current point color.

Definition at line 420 of file ecvDrawContext.h.

◆ pointsDefaultCol

ecvColor::Rgbub ccGLDrawContext::pointsDefaultCol

Default point color.

Definition at line 418 of file ecvDrawContext.h.

◆ removeEntityType

ENTITY_TYPE ccGLDrawContext::removeEntityType

Definition at line 389 of file ecvDrawContext.h.

◆ removeViewID

QString ccGLDrawContext::removeViewID

Definition at line 388 of file ecvDrawContext.h.

◆ renderZoom

float ccGLDrawContext::renderZoom

Current zoom (screen to file rendering mode)

Definition at line 402 of file ecvDrawContext.h.

◆ sfColorScaleToDisplay

ccScalarField* ccGLDrawContext::sfColorScaleToDisplay

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

Definition at line 454 of file ecvDrawContext.h.

◆ stereoPassIndex

unsigned ccGLDrawContext::stereoPassIndex

Stereo pass index.

Definition at line 471 of file ecvDrawContext.h.

◆ textDefaultCol

ecvColor::Rgbub ccGLDrawContext::textDefaultCol

Default text color.

Definition at line 422 of file ecvDrawContext.h.

◆ textParam

ecvTextParam ccGLDrawContext::textParam

Definition at line 371 of file ecvDrawContext.h.

◆ transformInfo

TransformInfo ccGLDrawContext::transformInfo

Definition at line 370 of file ecvDrawContext.h.

Referenced by ccPointPair::drawMeOnly(), and ccTrace::drawMeOnly().

◆ useVBOs

bool ccGLDrawContext::useVBOs

Use VBOs for faster display.

Definition at line 457 of file ecvDrawContext.h.

◆ viewDefaultBkgCol

ecvColor::Rgbf ccGLDrawContext::viewDefaultBkgCol

Definition at line 426 of file ecvDrawContext.h.

◆ viewID

QString ccGLDrawContext::viewID

Definition at line 373 of file ecvDrawContext.h.

◆ visFiltering

bool ccGLDrawContext::visFiltering

Definition at line 369 of file ecvDrawContext.h.

◆ visible

bool ccGLDrawContext::visible

Definition at line 380 of file ecvDrawContext.h.


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