Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.h @ 373:0895517bb2d1 1.2-stable
* merge from trunk (1.2 ended up being tracked from trunk, but we may want
this branch for fixes later)
author | Chris Cannam |
---|---|
date | Wed, 27 Feb 2008 10:32:45 +0000 |
parents | c0b9eec70639 |
children |
comparison
equal
deleted
inserted
replaced
337:813170c57b13 | 373:0895517bb2d1 |
---|---|
73 virtual bool getValueExtents(float &, float &, bool &, QString &) const { return false; } | 73 virtual bool getValueExtents(float &, float &, bool &, QString &) const { return false; } |
74 | 74 |
75 virtual PropertyList getProperties() const; | 75 virtual PropertyList getProperties() const; |
76 virtual PropertyType getPropertyType(const PropertyName &) const; | 76 virtual PropertyType getPropertyType(const PropertyName &) const; |
77 virtual QString getPropertyLabel(const PropertyName &) const; | 77 virtual QString getPropertyLabel(const PropertyName &) const; |
78 virtual QString getPropertyIconName(const PropertyName &) const; | |
78 virtual QString getPropertyGroupName(const PropertyName &) const; | 79 virtual QString getPropertyGroupName(const PropertyName &) const; |
79 virtual int getPropertyRangeAndValue(const PropertyName &, | 80 virtual int getPropertyRangeAndValue(const PropertyName &, |
80 int *min, int *max, int *deflt) const; | 81 int *min, int *max, int *deflt) const; |
81 virtual QString getPropertyValueLabel(const PropertyName &, | 82 virtual QString getPropertyValueLabel(const PropertyName &, |
82 int value) const; | 83 int value) const; |
95 bool getNormalizeColumns() const; | 96 bool getNormalizeColumns() const; |
96 | 97 |
97 void setNormalizeVisibleArea(bool n); | 98 void setNormalizeVisibleArea(bool n); |
98 bool getNormalizeVisibleArea() const; | 99 bool getNormalizeVisibleArea() const; |
99 | 100 |
101 void setInvertVertical(bool i); | |
102 bool getInvertVertical() const; | |
103 | |
100 virtual const Model *getSliceableModel() const { return m_model; } | 104 virtual const Model *getSliceableModel() const { return m_model; } |
101 | 105 |
102 virtual void toXml(QTextStream &stream, QString indent = "", | 106 virtual void toXml(QTextStream &stream, QString indent = "", |
103 QString extraAttributes = "") const; | 107 QString extraAttributes = "") const; |
104 | 108 |
114 | 118 |
115 ColourScale m_colourScale; | 119 ColourScale m_colourScale; |
116 int m_colourMap; | 120 int m_colourMap; |
117 bool m_normalizeColumns; | 121 bool m_normalizeColumns; |
118 bool m_normalizeVisibleArea; | 122 bool m_normalizeVisibleArea; |
123 bool m_invertVertical; | |
119 | 124 |
120 void getColumn(size_t col, DenseThreeDimensionalModel::Column &) const; | 125 void getColumn(size_t col, DenseThreeDimensionalModel::Column &) const; |
121 | 126 |
122 virtual int getColourScaleWidth(QPainter &) const; | 127 virtual int getColourScaleWidth(QPainter &) const; |
123 virtual void fillCache(size_t firstBin, size_t lastBin) const; | 128 virtual void fillCache(size_t firstBin, size_t lastBin) const; |