diff layer/Colour3DPlotLayer.h @ 24:6b794a2af3d9

* Add Chromagram plugin, and make a number of fixes to the dense 3d model and colour 3d plot class to accommodate it * Add pitch-conversion methods in base/Pitch * Commit previously overlooked Command.cpp
author Chris Cannam
date Wed, 01 Feb 2006 14:49:49 +0000
parents 0183ebb725ca
children dcdb21b62dbb
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.h	Tue Jan 31 17:19:45 2006 +0000
+++ b/layer/Colour3DPlotLayer.h	Wed Feb 01 14:49:49 2006 +0000
@@ -43,8 +43,14 @@
     virtual const Model *getModel() const { return m_model; }
     virtual void paint(QPainter &paint, QRect rect) const;
 
+    virtual int getNearestFeatureFrame(int frame, 
+				       size_t &resolution,
+				       bool snapRight = true) const;
+
     void setModel(const DenseThreeDimensionalModel *model);
 
+    virtual int getCompletion() const { return m_model->getCompletion(); }
+
 
 /*
     virtual PropertyList getProperties() const;