Stimfit
0.13.15
|
Dialog for event-detection settings. More...
#include <eventdlg.h>
Public Member Functions | |
wxStfEventDlg (wxWindow *parent, const std::vector< stf::SectionPointer > &templateSections, bool isExtract, int id=wxID_ANY, wxString title=wxT("Event detection settings"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION) | |
Constructor. | |
double | GetThreshold () const |
Get the event detection threshold. | |
stf::extraction_mode | GetMode () const |
Indicates the selected extraction algorithm. | |
int | GetMinDistance () const |
Get the minimal distance between events. | |
int | GetTemplate () const |
Get the selected template. | |
virtual void | EndModal (int retCode) |
Called upon ending a modal dialog. |
Dialog for event-detection settings.
Definition at line 33 of file eventdlg.h.
wxStfEventDlg::wxStfEventDlg | ( | wxWindow * | parent, |
const std::vector< stf::SectionPointer > & | templateSections, | ||
bool | isExtract, | ||
int | id = wxID_ANY , |
||
wxString | title = wxT("Event detection settings") , |
||
wxPoint | pos = wxDefaultPosition , |
||
wxSize | size = wxDefaultSize , |
||
int | style = wxCAPTION |
||
) |
Constructor.
parent | Pointer to parent window. |
templateSections | A vector of pointers to sections that contain fits which might be used as a template. |
isExtract | true if events are to be detected for later extraction (rather than just plotting the detection criterion or |
id | Window id. |
title | Dialog title. |
pos | Initial position. |
size | Initial size. |
style | Dialog style. |
virtual void wxStfEventDlg::EndModal | ( | int | retCode | ) | [virtual] |
Called upon ending a modal dialog.
retCode | The dialog button id that ended the dialog (e.g. wxID_OK) |
int wxStfEventDlg::GetMinDistance | ( | ) | const [inline] |
Get the minimal distance between events.
Definition at line 90 of file eventdlg.h.
stf::extraction_mode wxStfEventDlg::GetMode | ( | ) | const [inline] |
Indicates the selected extraction algorithm.
Definition at line 85 of file eventdlg.h.
int wxStfEventDlg::GetTemplate | ( | ) | const [inline] |
Get the selected template.
Definition at line 95 of file eventdlg.h.
double wxStfEventDlg::GetThreshold | ( | ) | const [inline] |
Get the event detection threshold.
Definition at line 80 of file eventdlg.h.