26 #ifndef MOLECULARLINE_H_
27 #define MOLECULARLINE_H_
30 #include <qwt_plot_marker.h>
46 virtual int rtti()
const;
55 virtual void draw ( QPainter* painter,
const QwtScaleMap & xMap,
56 const QwtScaleMap & yMap,
const QRect & canvasRect)
const;
57 void draw (QPainter * painter,
int centerPixel,
58 int peakPixel,
int zeroPixel,
int width,
int height )
const;
61 void toStream( QTextStream* stream )
const;
void setCenter(float center)
float getOriginalFrequency() const
QString getOriginalUnits() const
static void setMolecularLineColor(QColor lineColor)
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
bool equalTo(const MolecularLine *const other) const
void toStream(QTextStream *stream) const
virtual void draw(QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &canvasRect) const
void getMinMax(casacore::Double &xmin, casacore::Double &xmax, casacore::Double &ymin, casacore::Double &ymax) const
void setLabel(const QString &label)