Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.h @ 1362:d79e21855aef
Add mechanism for saving/loading colour maps by name/id rather than by numerical index, for future compatibility when adding to or changing the supported colour maps. Add two new colour maps (and one old one). Write out backward-compatible numerical indices for use when reloading in older versions. Also add a mechanism to invert the colour map, though I don't think it turns out useful enough to include in the UI.
author | Chris Cannam |
---|---|
date | Thu, 18 Oct 2018 13:21:56 +0100 |
parents | a34a2a25907c |
children | a18e78b9c78b |
comparison
equal
deleted
inserted
replaced
1361:2e3b3fadba27 | 1362:d79e21855aef |
---|---|
158 const DenseThreeDimensionalModel *m_model; // I do not own this | 158 const DenseThreeDimensionalModel *m_model; // I do not own this |
159 | 159 |
160 ColourScaleType m_colourScale; | 160 ColourScaleType m_colourScale; |
161 bool m_colourScaleSet; | 161 bool m_colourScaleSet; |
162 int m_colourMap; | 162 int m_colourMap; |
163 bool m_colourInverted; | |
163 float m_gain; | 164 float m_gain; |
164 BinScale m_binScale; | 165 BinScale m_binScale; |
165 ColumnNormalization m_normalization; // of individual columns | 166 ColumnNormalization m_normalization; // of individual columns |
166 bool m_normalizeVisibleArea; | 167 bool m_normalizeVisibleArea; |
167 bool m_invertVertical; | 168 bool m_invertVertical; |