Stimfit 0.12.7
Public Member Functions

Dialog for setting the parameters of a Gaussian function. More...

#include <smalldlgs.h>

Inheritance diagram for wxStfGaussianDlg:
Inheritance graph
[legend]
Collaboration diagram for wxStfGaussianDlg:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 wxStfGaussianDlg (wxWindow *parent, int id=wxID_ANY, wxString title=wxT("Settings for Gaussian function"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION)
 Constructor.
double Width () const
 Get the width of the Gaussian.
double Center () const
 Get the center of the Gaussian.
double Amp () const
 Get the amplitude of the Gaussian.
virtual void EndModal (int retCode)
 Called upon ending a modal dialog.

Detailed Description

Dialog for setting the parameters of a Gaussian function.


Constructor & Destructor Documentation

wxStfGaussianDlg::wxStfGaussianDlg ( wxWindow parent,
int  id = wxID_ANY,
wxString  title = wxT("Settings for Gaussian function"),
wxPoint  pos = wxDefaultPosition,
wxSize  size = wxDefaultSize,
int  style = wxCAPTION 
)

Constructor.

Parameters:
parentPointer to parent window.
idWindow id.
titleDialog title.
posInitial position.
sizeInitial size.
styleDialog style.

Member Function Documentation

double wxStfGaussianDlg::Amp ( ) const [inline]

Get the amplitude of the Gaussian.

Returns:
The amplitude of the Gaussian.
double wxStfGaussianDlg::Center ( ) const [inline]

Get the center of the Gaussian.

Returns:
The center of the Gaussian.
virtual void wxStfGaussianDlg::EndModal ( int  retCode) [virtual]

Called upon ending a modal dialog.

Parameters:
retCodeThe dialog button id that ended the dialog (e.g. wxID_OK)
double wxStfGaussianDlg::Width ( ) const [inline]

Get the width of the Gaussian.

Returns:
The width of the Gaussian.

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