38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
51 class Plot3DOpenGLCanvas;
95 bool isLegendShown()
const;
135 void update_(
const char * caller_name =
nullptr)
override;
A gradient of multiple colors and arbitrary distances between colors.
Definition: MultiGradient.h:68
Management and storage of parameters / INI files.
Definition: Param.h:70
Canvas for 3D-visualization of peak map data.
Definition: Plot3DCanvas.h:68
void translateForward_() override
Translation bound to the 'Up' key.
~Plot3DCanvas() override
Destructor.
bool finishAdding_() override
Method that is called when a new layer has been added.
void removeLayer(Size layer_index) override
void currentLayerParamtersChanged_()
Reacts on changed layer parameters.
void showCurrentPeaksAs2D()
Requests to display all spectra in 2D plot.
void showCurrentLayerPreferences() override
Shows the preferences dialog of the active layer.
void translateLeft_(Qt::KeyboardModifiers m) override
Translation bound to the 'Left' key.
bool legend_shown_
whether the legend is shown or not
Definition: Plot3DCanvas.h:138
void intensityModeChange_() override
void activateLayer(Size layer_index) override
void translateRight_(Qt::KeyboardModifiers m) override
Translation bound to the 'Right' key.
void updateLayer(Size i) override
void update_(const char *caller_name=nullptr) override
Updates the displayed data.
void contextMenuEvent(QContextMenuEvent *e) override
Plot3DCanvas(const Param &preferences, QWidget *parent=nullptr)
Constructor.
Plot3DOpenGLCanvas * openglwidget() const
returns the Plot3DOpenGLcanvas
void showLegend(bool)
Shows/hides the legend.
ShadeModes
Different shade modes.
Definition: Plot3DCanvas.h:82
Plot3DOpenGLCanvas * openglcanvas_
pointer to the SpectrumOpenGLCanvas implementation
Definition: Plot3DCanvas.h:100
MultiGradient linear_gradient_
stores the linear color gradient for non-log modes
Definition: Plot3DCanvas.h:141
void resizeEvent(QResizeEvent *e) override
void translateBackward_() override
Translation bound to the 'Down' key.
void saveCurrentLayer(bool visible) override
Saves the current layer data.
OpenGL Canvas for 3D-visualization of map data.
Definition: Plot3DOpenGLCanvas.h:62
Base class for visualization canvas classes.
Definition: PlotCanvas.h:138
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47