35 #ifndef OPENMS_VISUAL_SPECTRUM3DCANVAS_H 36 #define OPENMS_VISUAL_SPECTRUM3DCANVAS_H 39 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h> 52 class Spectrum3DOpenGLCanvas;
93 void resizeEvent(QResizeEvent * e);
94 void contextMenuEvent(QContextMenuEvent * e);
96 bool isLegendShown()
const;
99 void showLegend(
bool);
104 virtual void showCurrentLayerPreferences();
107 virtual void saveCurrentLayer(
bool visible);
112 void showCurrentPeaksAs2D();
117 void activateLayer(
Size layer_index);
119 void removeLayer(
Size layer_index);
121 virtual void updateLayer(
Size i);
123 virtual void intensityModeChange_();
128 void currentLayerParamtersChanged_();
133 bool finishAdding_();
136 virtual void update_(
const char * caller_name = 0);
145 virtual void translateLeft_(Qt::KeyboardModifiers m);
147 virtual void translateRight_(Qt::KeyboardModifiers m);
149 virtual void translateForward_();
151 virtual void translateBackward_();
OpenGL Canvas for 3D-visualization of map data.
Definition: Spectrum3DOpenGLCanvas.h:58
Base class for visualization canvas classes.
Definition: SpectrumCanvas.h:96
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
MultiGradient linear_gradient_
stores the linear color gradient for non-log modes
Definition: Spectrum3DCanvas.h:142
Management and storage of parameters / INI files.
Definition: Param.h:75
Canvas for 3D-visualization of peak map data.
Definition: Spectrum3DCanvas.h:67
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:128
ShadeModes
Different shade modes.
Definition: Spectrum3DCanvas.h:82
bool legend_shown_
whether the legend is shown or not
Definition: Spectrum3DCanvas.h:139
Spectrum3DOpenGLCanvas * openglcanvas_
pointer to the SpectrumOpenGLCanvas implementation
Definition: Spectrum3DCanvas.h:101
A gradient of multiple colors and arbitrary distances between colors.
Definition: MultiGradient.h:68