MultiPeakFitTool Class Reference

#include <MultiPeakFitTool.h>

Inheritance diagram for MultiPeakFitTool:

PlotToolInterface PlotToolInterface

List of all members.


Detailed Description

Plot tool for doing multi-peak fitting.

This class can be seen as a user-interface wrapper around MultiPeakFit, providing functionality for visually selecting estimated peak positions and finally executing the fit.

Maybe some other parts of the multi-peak fitting process (namely, specifying the number of peaks and optionally the peak profile) could be moved here as well.

Signals

void statusText (const QString &)
void statusText (const QString &)

Public Member Functions

 MultiPeakFitTool (Graph *graph, ApplicationWindow *app, MultiPeakFit::PeakProfile profile, int num_peaks, const QObject *status_target, const char *status_slot)
 MultiPeakFitTool (Graph *graph, ApplicationWindow *app, MultiPeakFit::PeakProfile profile, int num_peaks, const QObject *status_target, const char *status_slot)
virtual int rtti () const
virtual int rtti () const
virtual ~MultiPeakFitTool ()
virtual ~MultiPeakFitTool ()

Protected Slots

void selectPeak (QwtPlotCurve *curve, int point_index)
void selectPeak (QwtPlotCurve *curve, int point_index)

Private Member Functions

void finalize ()
void finalize ()

Private Attributes

QwtPlotCurve * d_curve
QwtPlotCurve * d_curve
MultiPeakFitd_fit
MultiPeakFitd_fit
QList< QwtPlotMarker * > d_lines
int d_num_peaks
DataPickerToold_picker_tool
DataPickerToold_picker_tool
MultiPeakFit::PeakProfile d_profile
int d_selected_peaks


Constructor & Destructor Documentation

MultiPeakFitTool::MultiPeakFitTool ( Graph graph,
ApplicationWindow app,
MultiPeakFit::PeakProfile  profile,
int  num_peaks,
const QObject *  status_target,
const char *  status_slot 
)

MultiPeakFitTool::~MultiPeakFitTool (  )  [virtual]

References d_fit, and d_picker_tool.

MultiPeakFitTool::MultiPeakFitTool ( Graph graph,
ApplicationWindow app,
MultiPeakFit::PeakProfile  profile,
int  num_peaks,
const QObject *  status_target,
const char *  status_slot 
)

virtual MultiPeakFitTool::~MultiPeakFitTool (  )  [virtual]


Member Function Documentation

void MultiPeakFitTool::finalize (  )  [private]

void MultiPeakFitTool::finalize (  )  [private]

virtual int MultiPeakFitTool::rtti (  )  const [inline, virtual]

virtual int MultiPeakFitTool::rtti (  )  const [inline, virtual]

void MultiPeakFitTool::selectPeak ( QwtPlotCurve *  curve,
int  point_index 
) [protected, slot]

void MultiPeakFitTool::selectPeak ( QwtPlotCurve *  curve,
int  point_index 
) [protected, slot]

void MultiPeakFitTool::statusText ( const QString &   )  [signal]

Emitted whenever a new message should be presented to the user.

You don't have to connect to this signal if you alreay specified a reciever during initialization.

void MultiPeakFitTool::statusText ( const QString &   )  [signal]

Emitted whenever a new message should be presented to the user.

You don't have to connect to this signal if you alreay specified a reciever during initialization.

Referenced by MultiPeakFitTool(), and selectPeak().


Member Data Documentation

QwtPlotCurve* MultiPeakFitTool::d_curve [private]

QwtPlotCurve* MultiPeakFitTool::d_curve [private]

QList<QwtPlotMarker *> MultiPeakFitTool::d_lines [private]

Referenced by finalize(), and MultiPeakFitTool().


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

Generated on Tue Jun 17 08:36:16 2008 for QtiPlot by  doxygen 1.5.5