comparison layer/SliceLayer.h @ 199:45e995ed84d9

* Flesh out feature descriptions for spectrum
author Chris Cannam
date Mon, 05 Feb 2007 16:11:49 +0000
parents c2ed5014d4ff
children 34bbbcb3c01f
comparison
equal deleted inserted replaced
198:c2ed5014d4ff 199:45e995ed84d9
104 104
105 protected: 105 protected:
106 float getXForBin(int bin, int totalBins, float w) const; 106 float getXForBin(int bin, int totalBins, float w) const;
107 int getBinForX(float x, int totalBins, float w) const; 107 int getBinForX(float x, int totalBins, float w) const;
108 108
109 virtual QString getFeatureDescription(View *v, QPoint &,
110 bool includeBinDescription,
111 int &minbin, int &maxbin,
112 int &range) const;
113
109 const DenseThreeDimensionalModel *m_sliceableModel; 114 const DenseThreeDimensionalModel *m_sliceableModel;
110 QColor m_colour; 115 QColor m_colour;
111 int m_colourMap; 116 int m_colourMap;
112 EnergyScale m_energyScale; 117 EnergyScale m_energyScale;
113 SamplingMode m_samplingMode; 118 SamplingMode m_samplingMode;