SciDAVis  1.D4
Signals | Public Member Functions | Protected Slots | Private Member Functions | Private Attributes
MultiPeakFitTool Class Reference

#include <MultiPeakFitTool.h>

Inheritance diagram for MultiPeakFitTool:
PlotToolInterface

List of all members.

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 RTTI rtti () const
virtual ~MultiPeakFitTool ()
- Public Member Functions inherited from PlotToolInterface
 PlotToolInterface (Graph *graph)
virtual ~PlotToolInterface ()

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

Additional Inherited Members

- Public Types inherited from PlotToolInterface
enum  RTTI {
  DataPicker, ScreenPicker, LineProfile, MultiPeak,
  RangeSelector, TranslateCurve
}
- Protected Attributes inherited from PlotToolInterface
Graphd_graph

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.


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
virtual RTTI MultiPeakFitTool::rtti ( ) const
inlinevirtual
void MultiPeakFitTool::selectPeak ( QwtPlotCurve *  curve,
int  point_index 
)
protectedslot
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
MultiPeakFit* MultiPeakFitTool::d_fit
private
int MultiPeakFitTool::d_num_peaks
private
DataPickerTool* MultiPeakFitTool::d_picker_tool
private
MultiPeakFit::PeakProfile MultiPeakFitTool::d_profile
private

Referenced by MultiPeakFitTool().

int MultiPeakFitTool::d_selected_peaks
private

Referenced by MultiPeakFitTool(), and selectPeak().


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