![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
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... | |
Misc. tools for rendering of advanced structures.
|
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.
| context | OpenGL context description |
References context, and ecvDisplayTools::GetCurrentScreen().
Referenced by ecvDisplayTools::DrawForeground().
|
static |
See other version of DrawColorRamp.
References context, WIDGETS_PARAMETER::context, ecvDisplayTools::DrawWidgets(), ccScalarField::getColorScale(), ecvDisplayTools::RemoveWidgets(), ccGLDrawContext::viewID, and WIDGET_SCALAR_BAR.
|
static |
Displays a depth buffer as an image.
References ecvColor::RgbTpl< Type >::b, ecvColor::black(), count, ecvColor::RgbTpl< Type >::g, ccColorScalesManager::GetDefaultScale(), ccGBLSensor::getDepthBuffer(), ccObject::getName(), ccHObject::getParent(), ccDepthBuffer::height, cloudViewer::LessThanEpsilon(), ccColorScale::MAX_STEPS, ecvColor::RgbTpl< Type >::r, ccDepthBuffer::width, x, y, and ccDepthBuffer::zBuff.