casa
$Rev:20696$
|
#include <ProfileTaskFacilitator.h>
Public Member Functions | |
ProfileTaskFacilitator () | |
virtual | ~ProfileTaskFacilitator () |
virtual void | setUnits (QString units)=0 |
virtual void | setRange (double start, double end)=0 |
virtual void | reset ()=0 |
virtual void | setCanvas (QtCanvas *pixelCanvas) |
virtual void | setTaskMonitor (ProfileTaskMonitor *monitor) |
virtual void | setCurveName (const QString &curveName) |
virtual void | addCurveName (const QString &curveName) |
virtual void | setDisplayYUnits (const QString &units) |
virtual void | setImageYUnits (const QString &units) |
virtual void | setLogger (LogIO *log) |
virtual void | plotMainCurve () |
virtual QString | getFileName () |
virtual void | logWarning (String msg) |
virtual void | postStatus (String status) |
virtual Vector< Float > | getXValues () const |
virtual Vector< Float > | getYValues () const |
virtual Vector< Float > | getZValues () const |
virtual QString | getYUnit () const |
virtual QString | getYUnitPrefix () const |
virtual String | getXAxisUnit () const |
virtual const ImageInterface < Float > * | getImage (const QString &name="") const |
virtual const String | getPixelBox () const |
bool | isOptical () |
void | setOptical (bool optical) |
virtual void | clear () |
void | setCollapseVals (const Vector< Float > &spcVals) |
virtual void | pixelsChanged (int pixX, int pixY) |
Protected Member Functions | |
bool | isValidChannelRangeValue (QString str, const QString &endStr) |
void | findChannelRange (float startVal, float endVal, const Vector< Float > &specValues, Int &channelStartIndex, Int &channelEndIndex) |
Protected Attributes | |
QtCanvas * | pixelCanvas |
ProfileTaskMonitor * | taskMonitor |
LogIO * | logger |
Private Attributes | |
bool | optical |
QDoubleValidator * | validator |
Definition at line 50 of file ProfileTaskFacilitator.h.
virtual casa::ProfileTaskFacilitator::~ProfileTaskFacilitator | ( | ) | [virtual] |
virtual void casa::ProfileTaskFacilitator::addCurveName | ( | const QString & | curveName | ) | [virtual] |
Reimplemented in casa::SpecFitSettingsWidgetRadio.
virtual void casa::ProfileTaskFacilitator::clear | ( | ) | [virtual] |
Reimplemented in casa::SpecFitSettingsWidgetRadio, casa::SpecFitSettingsWidgetOptical, and casa::MomentSettingsWidgetOptical.
void casa::ProfileTaskFacilitator::findChannelRange | ( | float | startVal, |
float | endVal, | ||
const Vector< Float > & | specValues, | ||
Int & | channelStartIndex, | ||
Int & | channelEndIndex | ||
) | [protected] |
virtual QString casa::ProfileTaskFacilitator::getFileName | ( | ) | [virtual] |
virtual const ImageInterface<Float>* casa::ProfileTaskFacilitator::getImage | ( | const QString & | name = "" | ) | const [virtual] |
virtual const String casa::ProfileTaskFacilitator::getPixelBox | ( | ) | const [virtual] |
virtual String casa::ProfileTaskFacilitator::getXAxisUnit | ( | ) | const [virtual] |
virtual Vector<Float> casa::ProfileTaskFacilitator::getXValues | ( | ) | const [virtual] |
virtual QString casa::ProfileTaskFacilitator::getYUnit | ( | ) | const [virtual] |
virtual QString casa::ProfileTaskFacilitator::getYUnitPrefix | ( | ) | const [virtual] |
virtual Vector<Float> casa::ProfileTaskFacilitator::getYValues | ( | ) | const [virtual] |
virtual Vector<Float> casa::ProfileTaskFacilitator::getZValues | ( | ) | const [virtual] |
bool casa::ProfileTaskFacilitator::isValidChannelRangeValue | ( | QString | str, |
const QString & | endStr | ||
) | [protected] |
virtual void casa::ProfileTaskFacilitator::logWarning | ( | String | msg | ) | [virtual] |
virtual void casa::ProfileTaskFacilitator::pixelsChanged | ( | int | pixX, |
int | pixY | ||
) | [virtual] |
Reimplemented in casa::SpecFitSettingsWidgetRadio.
virtual void casa::ProfileTaskFacilitator::plotMainCurve | ( | ) | [virtual] |
virtual void casa::ProfileTaskFacilitator::postStatus | ( | String | status | ) | [virtual] |
virtual void casa::ProfileTaskFacilitator::reset | ( | ) | [pure virtual] |
virtual void casa::ProfileTaskFacilitator::setCanvas | ( | QtCanvas * | pixelCanvas | ) | [virtual] |
Reimplemented in casa::SpecFitSettingsWidgetRadio.
void casa::ProfileTaskFacilitator::setCollapseVals | ( | const Vector< Float > & | spcVals | ) |
virtual void casa::ProfileTaskFacilitator::setCurveName | ( | const QString & | curveName | ) | [virtual] |
Reimplemented in casa::SpecFitSettingsWidgetRadio.
virtual void casa::ProfileTaskFacilitator::setDisplayYUnits | ( | const QString & | units | ) | [virtual] |
Reimplemented in casa::SpecFitSettingsWidgetRadio.
virtual void casa::ProfileTaskFacilitator::setImageYUnits | ( | const QString & | units | ) | [virtual] |
Reimplemented in casa::SpecFitSettingsWidgetRadio.
virtual void casa::ProfileTaskFacilitator::setLogger | ( | LogIO * | log | ) | [virtual] |
void casa::ProfileTaskFacilitator::setOptical | ( | bool | optical | ) |
virtual void casa::ProfileTaskFacilitator::setRange | ( | double | start, |
double | end | ||
) | [pure virtual] |
virtual void casa::ProfileTaskFacilitator::setTaskMonitor | ( | ProfileTaskMonitor * | monitor | ) | [virtual] |
virtual void casa::ProfileTaskFacilitator::setUnits | ( | QString | units | ) | [pure virtual] |
LogIO* casa::ProfileTaskFacilitator::logger [protected] |
Definition at line 94 of file ProfileTaskFacilitator.h.
bool casa::ProfileTaskFacilitator::optical [private] |
Definition at line 97 of file ProfileTaskFacilitator.h.
QtCanvas* casa::ProfileTaskFacilitator::pixelCanvas [protected] |
Definition at line 92 of file ProfileTaskFacilitator.h.
Definition at line 93 of file ProfileTaskFacilitator.h.
QDoubleValidator* casa::ProfileTaskFacilitator::validator [private] |
Definition at line 98 of file ProfileTaskFacilitator.h.