comparison layer/SpectrogramLayer.h @ 28:202d1dca67d2

* Rationalise the local feature identification API in Layer subclasses * Add segmentation mode to TimeInstantLayer
author Chris Cannam
date Mon, 06 Feb 2006 17:24:52 +0000
parents dcdb21b62dbb
children 9f55af9676b4
comparison
equal deleted inserted replaced
27:38fe0ea9e46e 28:202d1dca67d2
51 virtual int getVerticalScaleWidth(QPainter &) const; 51 virtual int getVerticalScaleWidth(QPainter &) const;
52 virtual void paintVerticalScale(QPainter &paint, QRect rect) const; 52 virtual void paintVerticalScale(QPainter &paint, QRect rect) const;
53 53
54 virtual QString getFeatureDescription(QPoint &) const; 54 virtual QString getFeatureDescription(QPoint &) const;
55 55
56 virtual int getNearestFeatureFrame(int frame, 56 virtual bool snapToFeatureFrame(int &frame,
57 size_t &resolution, 57 size_t &resolution,
58 bool snapRight = true) const; 58 SnapType snap) const;
59 59
60 void setModel(const DenseTimeValueModel *model); 60 void setModel(const DenseTimeValueModel *model);
61 61
62 virtual PropertyList getProperties() const; 62 virtual PropertyList getProperties() const;
63 virtual PropertyType getPropertyType(const PropertyName &) const; 63 virtual PropertyType getPropertyType(const PropertyName &) const;