#include <MolecularLine.h>
List of all members.
Public Member Functions |
| MolecularLine (float center, float peak, const QString &name, const QString &chemicalName, const QString &resolvedQNs, const QString &frequencyUnits, float originalFrequency) |
virtual int | rtti () const |
void | setCenter (float center) |
float | getCenter () const |
void | setPeak (float peak) |
float | getPeak () const |
void | setLabel (const QString &label) |
QString | getLabel () const |
virtual void | draw (QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &canvasRect) const |
void | draw (QPainter *painter, int centerPixel, int peakPixel, int zeroPixel, int width, int height) const |
void | getMinMax (Double &xmin, Double &xmax, Double &ymin, Double &ymax) const |
bool | equalTo (const MolecularLine *const other) const |
void | toStream (QTextStream *stream) const |
virtual | ~MolecularLine () |
Static Public Member Functions |
static void | setMolecularLineColor (QColor lineColor) |
Private Member Functions |
| MolecularLine () |
void | init () |
Private Attributes |
float | center |
float | originalFrequency |
float | peak |
QString | label |
QString | resolvedQNs |
QString | chemicalName |
QString | frequencyUnits |
Static Private Attributes |
static QColor | lineColor |
Detailed Description
Definition at line 39 of file MolecularLine.h.
Constructor & Destructor Documentation
casa::MolecularLine::MolecularLine |
( |
float |
center, |
|
|
float |
peak, |
|
|
const QString & |
name, |
|
|
const QString & |
chemicalName, |
|
|
const QString & |
resolvedQNs, |
|
|
const QString & |
frequencyUnits, |
|
|
float |
originalFrequency |
|
) |
| |
Member Function Documentation
virtual void casa::MolecularLine::draw |
( |
QPainter * |
painter, |
|
|
const QwtScaleMap & |
xMap, |
|
|
const QwtScaleMap & |
yMap, |
|
|
const QRect & |
canvasRect |
|
) |
| const [virtual] |
void casa::MolecularLine::draw |
( |
QPainter * |
painter, |
|
|
int |
centerPixel, |
|
|
int |
peakPixel, |
|
|
int |
zeroPixel, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| const |
Member Data Documentation
The documentation for this class was generated from the following file: