ColourScaleLayer Class Referenceabstract

Interface for layers in which a colour scale represents (or can sometimes represent, depending on the display mode) the sample value. More...

#include <ColourScaleLayer.h>

Inheritance diagram for ColourScaleLayer:
Inheritance graph

Public Member Functions

virtual QString getScaleUnits () const =0
 
virtual QColor getColourForValue (LayerGeometryProvider *v, double value) const =0
 

Detailed Description

Interface for layers in which a colour scale represents (or can sometimes represent, depending on the display mode) the sample value.

For example, TimeValueLayer uses colour scale when in segment mode and so provides this interface for use by the LogColourScale or LinearColourScale scale renderers.

Definition at line 31 of file ColourScaleLayer.h.

Member Function Documentation

virtual QString ColourScaleLayer::getScaleUnits ( ) const
pure virtual
virtual QColor ColourScaleLayer::getColourForValue ( LayerGeometryProvider v,
double  value 
) const
pure virtual

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