Mercurial > hg > svgui
diff layer/LayerFactory.h @ 193:57c2350a8c40
* Add slice layers (so you can display a slice of a colour 3d plot as if it were
a spectrum)
* Make spectrum layer a subclass of slice layer
author | Chris Cannam |
---|---|
date | Fri, 26 Jan 2007 16:59:57 +0000 |
parents | 9e6b3e239b9d |
children | 46faec7aae12 |
line wrap: on
line diff
--- a/layer/LayerFactory.h Wed Jan 24 17:14:24 2007 +0000 +++ b/layer/LayerFactory.h Fri Jan 26 16:59:57 2007 +0000 @@ -37,6 +37,7 @@ Text, Colour3DPlot, Spectrum, + Slice, // Layers with different initial parameters MelodicRangeSpectrogram, @@ -60,6 +61,8 @@ QString getLayerPresentationName(LayerType type); + bool isLayerSliceable(const Layer *); + void setModel(Layer *layer, Model *model); Model *createEmptyModel(LayerType type, Model *baseModel);