ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccRenderingTools Class Reference

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

#include <ecvRenderingTools.h>

Static Public Member Functions

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

Detailed Description

Misc. tools for rendering of advanced structures.

Definition at line 17 of file ecvRenderingTools.h.

Member Function Documentation

◆ DrawColorRamp() [1/2]

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

Definition at line 191 of file ecvRenderingTools.cpp.

References context, and ecvDisplayTools::GetCurrentScreen().

Referenced by ecvDisplayTools::DrawForeground().

◆ DrawColorRamp() [2/2]

void ccRenderingTools::DrawColorRamp ( const CC_DRAW_CONTEXT context,
const ccScalarField sf,
QWidget *  win,
int  glW,
int  glH,
float  renderZoom = 1.0f 
)
static

◆ ShowDepthBuffer()


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