Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Slots | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TOPPViewIdentificationViewBehavior Class Reference

Behavior of TOPPView in identification mode. More...

#include <OpenMS/VISUAL/TOPPViewIdentificationViewBehavior.h>

Inheritance diagram for TOPPViewIdentificationViewBehavior:
TOPPViewBehaviorInterface QObject

Public Slots

virtual void showSpectrumAs1D (int index)
 Behavior for showSpectrumAs1D. More...
 
virtual void activate1DSpectrum (int index)
 Behavior for activate1DSpectrum. More...
 
virtual void activate1DSpectrum (std::vector< int, std::allocator< int > > indices)
 Behavior for activate1DSpectrum. More...
 
virtual void deactivate1DSpectrum (int index)
 Behavior for deactivate1DSpectrum. More...
 
virtual void activateBehavior ()
 Slot for behavior activation. More...
 
virtual void deactivateBehavior ()
 Slot for behavior deactivation. More...
 
void setVisibleArea1D (double l, double h)
 
- Public Slots inherited from TOPPViewBehaviorInterface
virtual void showSpectrumAs1D (int index)=0
 Behavior for showSpectrumAs1D. More...
 
virtual void activate1DSpectrum (int index)=0
 Behavior for activate1DSpectrum. More...
 
virtual void activate1DSpectrum (std::vector< int, std::allocator< int > > indices)=0
 
virtual void deactivate1DSpectrum (int index)=0
 Behavior for deactivate1DSpectrum. More...
 
virtual void activateBehavior ()=0
 Slot for behavior activation. More...
 
virtual void deactivateBehavior ()=0
 Slot for behavior deactivation. More...
 

Public Member Functions

 TOPPViewIdentificationViewBehavior (TOPPViewBase *parent)
 Construct the behaviour with its parent. More...
 
- Public Member Functions inherited from TOPPViewBehaviorInterface
virtual ~TOPPViewBehaviorInterface ()
 Destructor. More...
 

Private Types

Type definitions
typedef LayerData::FeatureMapType FeatureMapType
 
typedef LayerData::FeatureMapSharedPtrType FeatureMapSharedPtrType
 
typedef LayerData::ConsensusMapType ConsensusMapType
 
typedef LayerData::ConsensusMapSharedPtrType ConsensusMapSharedPtrType
 
typedef LayerData::ExperimentType ExperimentType
 
typedef LayerData::ExperimentSharedPtrType ExperimentSharedPtrType
 
typedef ExperimentType::SpectrumType SpectrumType
 Peak spectrum type. More...
 

Private Member Functions

void addPrecursorLabels1D_ (const std::vector< Precursor > &pcs)
 Adds labels for the provided precursors to the 1D spectrum. More...
 
void removeTemporaryAnnotations_ (Size spectrum_index)
 Removes the precursor labels for from the specified 1D spectrum. More...
 
void addTheoreticalSpectrumLayer_ (const PeptideHit &ph)
 Adds a theoretical spectrum as set from the preferences dialog for the peptide hit. More...
 
void removeTheoreticalSpectrumLayer_ ()
 removes all layer with theoretical spectrum generated in identification view More...
 
void addPeakAnnotations_ (const std::vector< PeptideIdentification > &ph)
 Adds annotation (compound name, adducts, ppm error) to a peak in 1D spectra. More...
 

Private Attributes

TOPPViewBasetv_
 
std::vector< Annotation1DItem * > temporary_annotations_
 

Detailed Description

Behavior of TOPPView in identification mode.

Member Typedef Documentation

Peak spectrum type.

Constructor & Destructor Documentation

Construct the behaviour with its parent.

Member Function Documentation

virtual void activate1DSpectrum ( int  index)
virtualslot

Behavior for activate1DSpectrum.

virtual void activate1DSpectrum ( std::vector< int, std::allocator< int > >  indices)
virtualslot

Behavior for activate1DSpectrum.

virtual void activateBehavior ( )
virtualslot

Slot for behavior activation.

void addPeakAnnotations_ ( const std::vector< PeptideIdentification > &  ph)
private

Adds annotation (compound name, adducts, ppm error) to a peak in 1D spectra.

void addPrecursorLabels1D_ ( const std::vector< Precursor > &  pcs)
private

Adds labels for the provided precursors to the 1D spectrum.

void addTheoreticalSpectrumLayer_ ( const PeptideHit ph)
private

Adds a theoretical spectrum as set from the preferences dialog for the peptide hit.

virtual void deactivate1DSpectrum ( int  index)
virtualslot

Behavior for deactivate1DSpectrum.

virtual void deactivateBehavior ( )
virtualslot

Slot for behavior deactivation.

void removeTemporaryAnnotations_ ( Size  spectrum_index)
private

Removes the precursor labels for from the specified 1D spectrum.

void removeTheoreticalSpectrumLayer_ ( )
private

removes all layer with theoretical spectrum generated in identification view

void setVisibleArea1D ( double  l,
double  h 
)
slot
virtual void showSpectrumAs1D ( int  index)
virtualslot

Behavior for showSpectrumAs1D.

Referenced by TOPPViewBase::showSpectrumAs1D().

Member Data Documentation

std::vector<Annotation1DItem *> temporary_annotations_
private

Used to check which annotation handles have been added automatically by the identification view. Ownership of the AnnotationItems has the Annotation1DContainer

TOPPViewBase* tv_
private

OpenMS / TOPP release 2.0.0 Documentation generated on Thu Aug 20 2015 01:44:41 using doxygen 1.8.9.1