MultiPeakFitTool Class Reference

#include <MultiPeakFitTool.h>

Inheritance diagram for MultiPeakFitTool:

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 &)

Public Member Functions

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

Protected Slots

void selectPeak (QwtPlotCurve *curve, int point_index)

Private Member Functions

void finalize ()

Private Attributes

QwtPlotCurve * d_curve
MultiPeakFitd_fit
int d_num_peaks
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]


Member Function Documentation

void MultiPeakFitTool::finalize (  )  [private]

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.


Member Data Documentation

QwtPlotCurve* MultiPeakFitTool::d_curve [private]

MultiPeakFit* MultiPeakFitTool::d_fit [private]

int MultiPeakFitTool::d_num_peaks [private]

DataPickerTool* MultiPeakFitTool::d_picker_tool [private]

MultiPeakFit::PeakProfile MultiPeakFitTool::d_profile [private]

int MultiPeakFitTool::d_selected_peaks [private]


The documentation for this class was generated from the following files:
Generated on Mon Oct 15 06:11:43 2007 for QtiPlot by  doxygen 1.5.3