qCC_glWindow version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D view
Static Public Member Functions | List of all members
ccRenderingTools Class Reference

Misc. tools for rendering of advanced structures. More...

#include <ccRenderingTools.h>

Static Public Member Functions

static void ShowDepthBuffer (ccGBLSensor *lidar, QWidget *parent=nullptr, unsigned maxDim=1024)
 Displays a depth buffer as an image.
 
static void DrawColorRamp (const CC_DRAW_CONTEXT &context)
 Displays the colored scale corresponding to the currently activated context scalar field. More...
 
static void DrawColorRamp (const CC_DRAW_CONTEXT &context, const ccScalarField *sf, ccGLWindow *win, int glW, int glH, float renderZoom=1.0f)
 See other version of DrawColorRamp.
 

Detailed Description

Misc. tools for rendering of advanced structures.

Member Function Documentation

◆ DrawColorRamp()

void ccRenderingTools::DrawColorRamp ( const CC_DRAW_CONTEXT &  context)
static

Displays the colored scale corresponding to the currently activated context scalar field.

Its appearance depends on the scalar fields min and max displayed values, min and max saturation values, and also the selected color ramp.

Parameters
contextOpenGL context description

The documentation for this class was generated from the following files: