OpenMS  2.8.0
Public Member Functions | Protected Attributes | Private Attributes | List of all members
SpectrumAlignmentDialog Class Reference

Lets the user select two spectra and set the parameters for the spectrum alignment. More...

#include <OpenMS/VISUAL/DIALOGS/SpectrumAlignmentDialog.h>

Inheritance diagram for SpectrumAlignmentDialog:
[legend]
Collaboration diagram for SpectrumAlignmentDialog:
[legend]

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< UIntlayer_indices_1_
 Stores the layer indices of the layers in the left list (non-flipped layers) More...
 
std::vector< UIntlayer_indices_2_
 Stores the layer indices of the layers in the right list (flipped layers) More...
 

Private Attributes

Ui::SpectrumAlignmentDialogTemplate * ui_
 

Detailed Description

Lets the user select two spectra and set the parameters for the spectrum alignment.

Constructor & Destructor Documentation

◆ SpectrumAlignmentDialog()

Constructor.

◆ ~SpectrumAlignmentDialog()

~SpectrumAlignmentDialog ( )
override

Member Function Documentation

◆ get1stLayerIndex()

Int get1stLayerIndex ( )

Returns the index of the selected non-flipped layer.

Referenced by TOPPViewBase::showSpectrumAlignmentDialog().

◆ get2ndLayerIndex()

Int get2ndLayerIndex ( )

Returns the index of the selected flipped layer.

Referenced by TOPPViewBase::showSpectrumAlignmentDialog().

◆ getTolerance()

double getTolerance ( ) const

◆ isPPM()

bool isPPM ( ) const

Member Data Documentation

◆ layer_indices_1_

std::vector<UInt> layer_indices_1_
protected

Stores the layer indices of the layers in the left list (non-flipped layers)

◆ layer_indices_2_

std::vector<UInt> layer_indices_2_
protected

Stores the layer indices of the layers in the right list (flipped layers)

◆ ui_

Ui::SpectrumAlignmentDialogTemplate* ui_
private