00001 #ifndef _COLORMAPPER_HPP_ 00002 #define _COLORMAPPER_HPP_ 00003 00004 #include <QColor> 00005 00011 class ColorMapper { 00012 public: 00019 virtual QRgb map(double v) const = 0; 00020 00024 virtual ~ColorMapper() {} 00025 }; 00026 00027 #endif