comparison 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
comparison
equal deleted inserted replaced
23:ca57f70b0e48 24:6b794a2af3d9
41 41
42 virtual const ZoomConstraint *getZoomConstraint() const { return m_model; } 42 virtual const ZoomConstraint *getZoomConstraint() const { return m_model; }
43 virtual const Model *getModel() const { return m_model; } 43 virtual const Model *getModel() const { return m_model; }
44 virtual void paint(QPainter &paint, QRect rect) const; 44 virtual void paint(QPainter &paint, QRect rect) const;
45 45
46 virtual int getNearestFeatureFrame(int frame,
47 size_t &resolution,
48 bool snapRight = true) const;
49
46 void setModel(const DenseThreeDimensionalModel *model); 50 void setModel(const DenseThreeDimensionalModel *model);
51
52 virtual int getCompletion() const { return m_model->getCompletion(); }
47 53
48 54
49 /* 55 /*
50 virtual PropertyList getProperties() const; 56 virtual PropertyList getProperties() const;
51 virtual PropertyType getPropertyType(const PropertyName &) const; 57 virtual PropertyType getPropertyType(const PropertyName &) const;