QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Qwt3D::Color Class Referenceabstract

Abstract base class for color functors. More...

#include <qwt3d_color.h>

Inheritance diagram for Qwt3D::Color:
Qwt3D::ColorMapColor Qwt3D::StandardColor

Public Member Functions

virtual Qwt3D::RGBA operator() (double x, double y, double z) const =0
 
virtual Qwt3D::RGBA operator() (Qwt3D::Triple const &t) const
 
virtual Qwt3D::ColorVector & createVector (Qwt3D::ColorVector &vec)
 
void destroy () const
 

Detailed Description

Abstract base class for color functors.

Use your own color model by providing an implementation of operator()(double x, double y, double z). Colors destructor has been declared protected, in order to use only heap based objects. Plot3D will handle the objects destruction. See StandardColor for an example.

Member Function Documentation

◆ createVector()

virtual Qwt3D::ColorVector & Qwt3D::Color::createVector ( Qwt3D::ColorVector &  vec)
inlinevirtual

Reimplemented in Qwt3D::StandardColor.

◆ operator()()

virtual Qwt3D::RGBA Qwt3D::Color::operator() ( double  x,
double  y,
double  z 
) const
pure virtual

Implemented in Qwt3D::StandardColor.


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