casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
casa::MolecularLine Class Reference

#include <MolecularLine.h>

Inheritance diagram for casa::MolecularLine:

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
 
float getOriginalFrequency () const
 
QString getOriginalUnits () 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 (casacore::Double &xmin, casacore::Double &xmax, casacore::Double &ymin, casacore::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
casa::MolecularLine::MolecularLine ( )
private

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
float casa::MolecularLine::getCenter ( ) const
QString casa::MolecularLine::getLabel ( ) const
void casa::MolecularLine::getMinMax ( casacore::Double xmin,
casacore::Double xmax,
casacore::Double ymin,
casacore::Double ymax 
) const
float casa::MolecularLine::getOriginalFrequency ( ) const
QString casa::MolecularLine::getOriginalUnits ( ) const
float casa::MolecularLine::getPeak ( ) 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 67 of file MolecularLine.h.

QString casa::MolecularLine::chemicalName
private

Definition at line 72 of file MolecularLine.h.

QString casa::MolecularLine::frequencyUnits
private

Definition at line 73 of file MolecularLine.h.

QString casa::MolecularLine::label
private

Definition at line 70 of file MolecularLine.h.

QColor casa::MolecularLine::lineColor
staticprivate

Definition at line 66 of file MolecularLine.h.

float casa::MolecularLine::originalFrequency
private

Definition at line 68 of file MolecularLine.h.

float casa::MolecularLine::peak
private

Definition at line 69 of file MolecularLine.h.

QString casa::MolecularLine::resolvedQNs
private

Definition at line 71 of file MolecularLine.h.


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