Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.h @ 287:cd2492c5fe45
* Add SingleColourLayer to manage colours for layers that have a single
predominant colour (i.e. most of them).
author | Chris Cannam |
---|---|
date | Thu, 12 Jul 2007 16:14:59 +0000 |
parents | 34bbbcb3c01f |
children | c0b9eec70639 |
comparison
equal
deleted
inserted
replaced
286:7554ae119882 | 287:cd2492c5fe45 |
---|---|
60 size_t &resolution, | 60 size_t &resolution, |
61 SnapType snap) const; | 61 SnapType snap) const; |
62 | 62 |
63 virtual bool isLayerScrollable(const View *v) const; | 63 virtual bool isLayerScrollable(const View *v) const; |
64 | 64 |
65 virtual bool isLayerColourSignificant() const { return true; } | 65 virtual ColourSignificance getLayerColourSignificance() const { |
66 return ColourHasMeaningfulValue; | |
67 } | |
66 | 68 |
67 void setModel(const DenseThreeDimensionalModel *model); | 69 void setModel(const DenseThreeDimensionalModel *model); |
68 | 70 |
69 virtual int getCompletion(View *) const { return m_model->getCompletion(); } | 71 virtual int getCompletion(View *) const { return m_model->getCompletion(); } |
70 | 72 |