ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvRenderingTools.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include "ecvDrawableObject.h"
11 
12 class QWidget;
13 class ccGBLSensor;
14 class ccScalarField;
15 
18 public:
20  static void ShowDepthBuffer(ccGBLSensor* lidar,
21  QWidget* parent = nullptr,
22  unsigned maxDim = 1024);
23 
26 
31  static void DrawColorRamp(const CC_DRAW_CONTEXT& context);
32 
35  const ccScalarField* sf,
36  QWidget* win,
37  int glW,
38  int glH,
39  float renderZoom = 1.0f);
40 };
#define CV_DB_LIB_API
Definition: CV_db.h:15
Ground-based Laser sensor.
Definition: ecvGBLSensor.h:26
Misc. tools for rendering of advanced structures.
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.
static void DrawColorRamp(const CC_DRAW_CONTEXT &context)
static void ShowDepthBuffer(ccGBLSensor *lidar, QWidget *parent=nullptr, unsigned maxDim=1024)
Displays a depth buffer as an image.
A scalar field associated to display-related parameters.
ImGuiContext * context
Definition: Window.cpp:76
Display context.