63 static void drawDashedLine(
const QPoint& from,
const QPoint& to, QPainter* painter, QColor color);
Class that stores the data for one layer of type PeakMap.
Definition: LayerDataPeak.h:48
ContainerType::const_iterator ConstIterator
Non-mutable iterator.
Definition: MSSpectrum.h:130
A base class for painting all items from a data layer (as supported by class derived from here) onto ...
Definition: Painter1DBase.h:51
virtual void paint(QPainter *, Plot1DCanvas *canvas, int layer_index)=0
Paints items using the given painter onto the canvas.
static void drawDashedLine(const QPoint &from, const QPoint &to, QPainter *painter, QColor color)
static method to draw a dashed line
Painter1D for spectra.
Definition: Painter1DBase.h:71
void paint(QPainter *, Plot1DCanvas *canvas, int layer_index) override
Implementation of base class.
void drawMZAtInterestingPeaks_(QPainter &painter, Plot1DCanvas *canvas, MSSpectrum::ConstIterator vbegin, MSSpectrum::ConstIterator vend)
annotate up to 10 interesting peaks in the range vbegin to @pvend with their m/z values (using deisot...
const LayerDataPeak * layer_
the data to paint
Definition: Painter1DBase.h:85
void drawAnnotations_(QPainter &painter, Plot1DCanvas *canvas)
draw all Annotation1DItems attached to the layer
Painter1DPeak(const LayerDataPeak *parent)
C'tor which remembers the layer to paint.
Canvas for visualization of one or several spectra.
Definition: Plot1DCanvas.h:72
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47