diff 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
line wrap: on
line diff
--- a/layer/SliceLayer.h	Thu Feb 01 16:54:42 2007 +0000
+++ b/layer/SliceLayer.h	Mon Feb 05 16:11:49 2007 +0000
@@ -106,6 +106,11 @@
     float getXForBin(int bin, int totalBins, float w) const;
     int getBinForX(float x, int totalBins, float w) const;
     
+    virtual QString getFeatureDescription(View *v, QPoint &,
+                                          bool includeBinDescription,
+                                          int &minbin, int &maxbin,
+                                          int &range) const;
+
     const DenseThreeDimensionalModel *m_sliceableModel;
     QColor                            m_colour;
     int                               m_colourMap;