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.

Referenced by ecvDisplayTools::DrawBackground().

◆ backgroundCol2

ecvColor::Rgbub ccGLDrawContext::backgroundCol2

Definition at line 434 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::DrawBackground().

◆ bbDefaultCol

ecvColor::Rgbub ccGLDrawContext::bbDefaultCol

Default bounding-box color.

Definition at line 431 of file ecvDrawContext.h.

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.

Definition at line 442 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::GetContext().

◆ decimateCloudOnMove

bool ccGLDrawContext::decimateCloudOnMove

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

Definition at line 438 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::GetContext().

◆ 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 ccHObject::draw(), and ccTrace::drawMeOnly().

◆ defaultMat

ccMaterial::Shared ccGLDrawContext::defaultMat

Default material.

Definition at line 405 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::GetContext().

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

Referenced by ccCameraSensor::drawMeOnly().

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

Referenced by ccCameraSensor::drawMeOnly().

◆ defaultViewPort

int ccGLDrawContext::defaultViewPort

Definition at line 374 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::DrawWidgets().

◆ devicePixelRatio

float ccGLDrawContext::devicePixelRatio

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

Definition at line 399 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::GetContext().

◆ dispNumberPrecision

unsigned ccGLDrawContext::dispNumberPrecision

Numerical precision (for displaying text)

Definition at line 465 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::GetContext().

◆ drawBackgroundGradient

bool ccGLDrawContext::drawBackgroundGradient

Definition at line 435 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::DrawBackground().

◆ drawingFlags

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

Referenced by ecvDisplayTools::GetContext().

◆ forceRedraw

bool ccGLDrawContext::forceRedraw

Definition at line 368 of file ecvDrawContext.h.

Referenced by ccHObject::draw(), and ecvDisplayTools::RedrawDisplay().

◆ glH

int ccGLDrawContext::glH

GL screen height.

Definition at line 397 of file ecvDrawContext.h.

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

◆ glW

int ccGLDrawContext::glW

GL screen widthecvColor.

Definition at line 395 of file ecvDrawContext.h.

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

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

Referenced by ecvDisplayTools::GetContext().

◆ labelDefaultBkgCol

ecvColor::Rgbub ccGLDrawContext::labelDefaultBkgCol

Default label background color.

Definition at line 424 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::GetContext().

◆ labelDefaultMarkerCol

ecvColor::Rgbub ccGLDrawContext::labelDefaultMarkerCol

Default label marker color.

Definition at line 429 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::GetContext().

◆ labelMarkerSize

float ccGLDrawContext::labelMarkerSize

Label marker size (radius)

Definition at line 460 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::GetContext().

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

Referenced by ecvDisplayTools::GetContext().

◆ labelOpacity

unsigned ccGLDrawContext::labelOpacity

Label background opacity.

Definition at line 468 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::GetContext().

◆ meshRenderingMode

MESH_RENDERING_MODE ccGLDrawContext::meshRenderingMode

◆ minLODPointCount

unsigned ccGLDrawContext::minLODPointCount

Minimum number of points for activating LOD display.

Definition at line 440 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::GetContext().

◆ minLODTriangleCount

unsigned ccGLDrawContext::minLODTriangleCount

Minimum number of triangles for activating LOD display.

Definition at line 451 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::GetContext().

◆ moreLODPointsAvailable

bool ccGLDrawContext::moreLODPointsAvailable

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

Definition at line 444 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::GetContext().

◆ 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

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

Referenced by ecvDisplayTools::GetContext().

◆ removeEntityType

ENTITY_TYPE ccGLDrawContext::removeEntityType

Definition at line 389 of file ecvDrawContext.h.

Referenced by ccClipBox::drawMeOnly(), and DrawMeOnlyVisitor::visit().

◆ removeViewID

QString ccGLDrawContext::removeViewID

Definition at line 388 of file ecvDrawContext.h.

Referenced by DrawMeOnlyVisitor::visit().

◆ renderZoom

float ccGLDrawContext::renderZoom

Current zoom (screen to file rendering mode)

Definition at line 402 of file ecvDrawContext.h.

Referenced by PclTools::UpdateScalarBar().

◆ sfColorScaleToDisplay

ccScalarField* ccGLDrawContext::sfColorScaleToDisplay

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

Definition at line 454 of file ecvDrawContext.h.

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

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

Referenced by ecvDisplayTools::GetContext().

◆ textParam

ecvTextParam ccGLDrawContext::textParam

Definition at line 371 of file ecvDrawContext.h.

◆ transformInfo

◆ useVBOs

bool ccGLDrawContext::useVBOs

Use VBOs for faster display.

Definition at line 457 of file ecvDrawContext.h.

Referenced by ecvDisplayTools::GetContext().

◆ viewDefaultBkgCol

ecvColor::Rgbf ccGLDrawContext::viewDefaultBkgCol

Definition at line 426 of file ecvDrawContext.h.

◆ viewID

◆ visFiltering

bool ccGLDrawContext::visFiltering

Definition at line 369 of file ecvDrawContext.h.

◆ visible

bool ccGLDrawContext::visible

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