OpenMS
2.8.0
|
Lets the user select two spectra and set the parameters for the spectrum alignment. More...
#include <OpenMS/VISUAL/DIALOGS/SpectrumAlignmentDialog.h>
Public Member Functions | |
SpectrumAlignmentDialog (Plot1DWidget *parent) | |
Constructor. More... | |
~SpectrumAlignmentDialog () override | |
double | getTolerance () const |
bool | isPPM () const |
Int | get1stLayerIndex () |
Returns the index of the selected non-flipped layer. More... | |
Int | get2ndLayerIndex () |
Returns the index of the selected flipped layer. More... | |
Protected Attributes | |
std::vector< UInt > | layer_indices_1_ |
Stores the layer indices of the layers in the left list (non-flipped layers) More... | |
std::vector< UInt > | layer_indices_2_ |
Stores the layer indices of the layers in the right list (flipped layers) More... | |
Private Attributes | |
Ui::SpectrumAlignmentDialogTemplate * | ui_ |
Lets the user select two spectra and set the parameters for the spectrum alignment.
SpectrumAlignmentDialog | ( | Plot1DWidget * | parent | ) |
Constructor.
|
override |
Int get1stLayerIndex | ( | ) |
Returns the index of the selected non-flipped layer.
Referenced by TOPPViewBase::showSpectrumAlignmentDialog().
Int get2ndLayerIndex | ( | ) |
Returns the index of the selected flipped layer.
Referenced by TOPPViewBase::showSpectrumAlignmentDialog().
double getTolerance | ( | ) | const |
Referenced by TOPPViewBase::showSpectrumAlignmentDialog().
bool isPPM | ( | ) | const |
Referenced by TOPPViewBase::showSpectrumAlignmentDialog().
|
protected |
Stores the layer indices of the layers in the left list (non-flipped layers)
|
protected |
Stores the layer indices of the layers in the right list (flipped layers)
|
private |