The range is something, that has to correspond to the color map - but it has nothing to do with the current min/max values of your data set in specific area. But even if you want to have it this way calculating it in QwtRasterData::value is completely the wrong place.
But your main problem is, that you insist on not trying to understand what you are doing. With this attitude you can't be surprised, that nobody answers to your postings anymore.
Uwe
Bookmarks