Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.h @ 357:3e538a90e9b8
* Add ability to invert a colour 3d plot in the vertical axis
author | Chris Cannam |
---|---|
date | Mon, 04 Feb 2008 13:35:43 +0000 |
parents | 8f01867cc191 |
children | e5800f4490c4 |
comparison
equal
deleted
inserted
replaced
356:bff85425228c | 357:3e538a90e9b8 |
---|---|
96 bool getNormalizeColumns() const; | 96 bool getNormalizeColumns() const; |
97 | 97 |
98 void setNormalizeVisibleArea(bool n); | 98 void setNormalizeVisibleArea(bool n); |
99 bool getNormalizeVisibleArea() const; | 99 bool getNormalizeVisibleArea() const; |
100 | 100 |
101 void setInvertVertical(bool i); | |
102 bool getInvertVertical() const; | |
103 | |
101 virtual const Model *getSliceableModel() const { return m_model; } | 104 virtual const Model *getSliceableModel() const { return m_model; } |
102 | 105 |
103 virtual void toXml(QTextStream &stream, QString indent = "", | 106 virtual void toXml(QTextStream &stream, QString indent = "", |
104 QString extraAttributes = "") const; | 107 QString extraAttributes = "") const; |
105 | 108 |
115 | 118 |
116 ColourScale m_colourScale; | 119 ColourScale m_colourScale; |
117 int m_colourMap; | 120 int m_colourMap; |
118 bool m_normalizeColumns; | 121 bool m_normalizeColumns; |
119 bool m_normalizeVisibleArea; | 122 bool m_normalizeVisibleArea; |
123 bool m_invertVertical; | |
120 | 124 |
121 void getColumn(size_t col, DenseThreeDimensionalModel::Column &) const; | 125 void getColumn(size_t col, DenseThreeDimensionalModel::Column &) const; |
122 | 126 |
123 virtual int getColourScaleWidth(QPainter &) const; | 127 virtual int getColourScaleWidth(QPainter &) const; |
124 virtual void fillCache(size_t firstBin, size_t lastBin) const; | 128 virtual void fillCache(size_t firstBin, size_t lastBin) const; |