6#include "qwt3d_global.h"
7#include "qwt3d_types.h"
28 virtual RGBA operator()(
double x,
double y,
double z)
const = 0;
31 return this->operator()(t.x, t.y, t.z);
34 virtual ColorVector& createVector(ColorVector& vec)
80 RGBA operator()(
double x,
double y,
double z)
const override;
81 void setColorVector(ColorVector
const& cv);
83 void reset(
unsigned size = 100);
85 void setAlpha(
double a);
87 ColorVector& createVector(ColorVector& vec)
override;
90 void setPreset(
const QString& presetName,
unsigned size = 100);
93 QString presetName()
const;
95 unsigned colorCount()
const;
Abstract base class for color functors
Definition qwt3d_color.h:25
double activeZMin() const
Lower bound of the active z-range (default 0.0)
Definition qwt3d_color.h:57
void setActiveRange(double zMin, double zMax)
Sets the active z-range used for color normalization (pushed by the owning Qwt3DPlotItem before VBO/l...
Definition qwt3d_color.h:45
double activeZMax() const
Upper bound of the active z-range (default 1.0)
Definition qwt3d_color.h:59
Standard color model for Qwt3DPlot - implements the data driven operator()(double x,...
Definition qwt3d_color.h:72
Red-Green-Blue-Alpha value
Definition qwt3d_types.h:395
Triple [x,y,z]
Definition qwt3d_types.h:201