comparison layer/Colour3DPlotLayer.h @ 1473:886c1cd48f9d by-id

Further layer updates for ModelById
author Chris Cannam
date Tue, 02 Jul 2019 11:49:52 +0100
parents 11a150e65ee1
children e540aa5d89cd
comparison
equal deleted inserted replaced
1472:dbff4b290bf0 1473:886c1cd48f9d
185 static ColourScaleType convertToColourScale(int value); 185 static ColourScaleType convertToColourScale(int value);
186 static int convertFromColourScale(ColourScaleType); 186 static int convertFromColourScale(ColourScaleType);
187 static std::pair<ColumnNormalization, bool> convertToColumnNorm(int value); 187 static std::pair<ColumnNormalization, bool> convertToColumnNorm(int value);
188 static int convertFromColumnNorm(ColumnNormalization norm, bool visible); 188 static int convertFromColumnNorm(ColumnNormalization norm, bool visible);
189 189
190 mutable Dense3DModelPeakCache *m_peakCache; 190 mutable ModelId m_peakCache;
191 const int m_peakCacheDivisor; 191 const int m_peakCacheDivisor;
192 void invalidatePeakCache(); 192 void invalidatePeakCache();
193 Dense3DModelPeakCache *getPeakCache() const; 193 ModelId getPeakCache() const;
194 194
195 typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id 195 typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id
196 mutable ViewMagMap m_viewMags; 196 mutable ViewMagMap m_viewMags;
197 mutable ViewMagMap m_lastRenderedMags; // when in normalizeVisibleArea mode 197 mutable ViewMagMap m_lastRenderedMags; // when in normalizeVisibleArea mode
198 void invalidateMagnitudes(); 198 void invalidateMagnitudes();