23#ifndef _MICOLORMAPPING_H
24#define _MICOLORMAPPING_H
26#include <MeshVizXLM/MxMeshVizXLM.h>
27#include <MeshVizXLM/MiAbstractMethodError.h>
42template <
typename _TValue,
typename _TColor>
51 virtual _TColor
getColor(_TValue value)
const = 0;
57 virtual void getRange(_TValue& SO_UNUSED_PARAM(min), _TValue& SO_UNUSED_PARAM(max))
const
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Exception handler for Me...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Interface class defining...
virtual void getRange(_TValue &min, _TValue &max) const
Returns the range of values for the colormap.
virtual size_t getTimeStamp() const =0
Returns for this colormap a unique time stamp across all colormaps in the application.
virtual ~MiColorMapping()
virtual _TColor getColor(_TValue value) const =0
Returns the color associated with the given value.