![]()  | 
  
    OpenMS
    
     
   | 
  
Painter1D for spectra. More...
#include <OpenMS/VISUAL/Painter1DBase.h>
Public Member Functions | |
| Painter1DPeak (const LayerData1DPeak *parent) | |
| C'tor which remembers the layer to paint.  More... | |
| void | paint (QPainter *, Plot1DCanvas *canvas, int layer_index) override | 
| Implementation of base class.  More... | |
  Public Member Functions inherited from Painter1DBase | |
| virtual | ~Painter1DBase ()=default | 
| void | drawAnnotations_ (const LayerData1DBase *layer, QPainter &painter, Plot1DCanvas *canvas) const | 
Protected Member Functions | |
| void | drawMZAtInterestingPeaks_ (QPainter &painter, Plot1DCanvas *canvas, MSSpectrum::ConstIterator v_begin, MSSpectrum::ConstIterator v_end) const | 
annotate up to 10 interesting peaks in the range vbegin to vend with their m/z values (using deisotoping and intensity filtering)  More... | |
Protected Attributes | |
| const LayerData1DPeak * | layer_ | 
| the data to paint  More... | |
Additional Inherited Members | |
  Static Public Member Functions inherited from PainterBase | |
| static ShapeIcon | toShapeIcon (const String &icon) | 
| static void | drawDashedLine (const QPoint &from, const QPoint &to, QPainter *painter, const QColor &color) | 
| static method to draw a dashed line  More... | |
| static void | drawCross (const QPoint &position, QPainter *painter, const int size=8) | 
draw a cross at position, using a certain size (= width = height) of the cross  More... | |
| static void | drawCaret (const QPoint &position, QPainter *painter, const int size=8) | 
draw a caret '^' at position, using a certain size (= width) of the caret  More... | |
| static void | drawDiamond (const QPoint &position, QPainter *painter, const int size=8) | 
draw an unfilled diamond at position, using a certain size (= width = height) of the diamond  More... | |
| static void | drawIcon (const QPoint &pos, const QRgb &color, const ShapeIcon icon, Size s, QPainter &p) | 
| draws squares, circles etc  More... | |
| static QPainterPath | getOpenArrow (int arrow_width) | 
| An arrow head which is open, i.e. '>'.  More... | |
| static QPainterPath | getClosedArrow (int arrow_width) | 
| An arrow head which is closed, i.e. a triangle.  More... | |
| static QRectF | drawLineWithArrows (QPainter *painter, const QPen &pen, const QPoint &start, const QPoint &end, const QPainterPath &arrow_start=QPainterPath(), const QPainterPath &arrow_end=QPainterPath()) | 
Painter1D for spectra.
| Painter1DPeak | ( | const LayerData1DPeak * | parent | ) | 
C'tor which remembers the layer to paint.
      
  | 
  protected | 
annotate up to 10 interesting peaks in the range vbegin to vend with their m/z values (using deisotoping and intensity filtering) 
      
  | 
  overridevirtual | 
Implementation of base class.
Implements Painter1DBase.
      
  | 
  protected | 
the data to paint