casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
casa::MolecularLine Class Reference

#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 
)
virtual casa::MolecularLine::~MolecularLine ( ) [virtual]

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
bool casa::MolecularLine::equalTo ( const MolecularLine *const  other) const
QString casa::MolecularLine::getLabel ( ) const
void casa::MolecularLine::getMinMax ( Double xmin,
Double xmax,
Double ymin,
Double ymax 
) const
void casa::MolecularLine::init ( ) [private]
virtual int casa::MolecularLine::rtti ( ) const [virtual]
void casa::MolecularLine::setCenter ( float  center)
void casa::MolecularLine::setLabel ( const QString &  label)
static void casa::MolecularLine::setMolecularLineColor ( QColor  lineColor) [static]
void casa::MolecularLine::setPeak ( float  peak)
void casa::MolecularLine::toStream ( QTextStream *  stream) const

Member Data Documentation

float casa::MolecularLine::center [private]

Definition at line 65 of file MolecularLine.h.

Definition at line 70 of file MolecularLine.h.

Definition at line 71 of file MolecularLine.h.

QString casa::MolecularLine::label [private]

Definition at line 68 of file MolecularLine.h.

QColor casa::MolecularLine::lineColor [static, private]

Definition at line 64 of file MolecularLine.h.

Definition at line 66 of file MolecularLine.h.

float casa::MolecularLine::peak [private]

Definition at line 67 of file MolecularLine.h.

Definition at line 69 of file MolecularLine.h.


The documentation for this class was generated from the following file: