Skip to content

Struct QAccelPlot::Internal::HeatmapShaderMapping

ClassList > QAccelPlot > Internal > HeatmapShaderMapping

How heatmap.frag maps an item-local pixel position p to a fractional cell coordinate along one dimension.

  • #include <HeatmapGrid.hpp>

Public Types

Type Name
enum Mode
Formula the shader evaluates; the values match heatmap.frag.

Public Attributes

Type Name
Mode mode = {Mode::Affine}
Formula to evaluate.
double offset = {0.0}
Offset of the formula.
double rate = {0.0}
Per-pixel rate of the formula; unused by Affine .
double scale = {0.0}
Factor of the formula.
double shift = {0.0}
Argument of log1p at pixel 0; used byLogarithmic only.

Public Types Documentation

enum Mode

Formula the shader evaluates; the values match heatmap.frag.

enum QAccelPlot::Internal::HeatmapShaderMapping::Mode {
    Affine = 0,
    Exponential = 1,
    Logarithmic = 2
};


Public Attributes Documentation

variable mode

Formula to evaluate.

Mode QAccelPlot::Internal::HeatmapShaderMapping::mode;


variable offset

Offset of the formula.

double QAccelPlot::Internal::HeatmapShaderMapping::offset;


variable rate

Per-pixel rate of the formula; unused by Affine .

double QAccelPlot::Internal::HeatmapShaderMapping::rate;


variable scale

Factor of the formula.

double QAccelPlot::Internal::HeatmapShaderMapping::scale;


variable shift

Argument of log1p at pixel 0; used byLogarithmic only.

double QAccelPlot::Internal::HeatmapShaderMapping::shift;



The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/series/internal/HeatmapGrid.hpp