Behavior of TOPPView in identification mode. More...
#include <OpenMS/VISUAL/TOPPViewIdentificationViewBehavior.h>
Public Slots | |
| virtual void | showSpectrumAs1D (int index) |
| Behavior for showSpectraumAs1D. | |
| virtual void | activate1DSpectrum (int index) |
| Behavior for activate1DSpectrum. | |
| virtual void | activate1DSpectrum (std::vector< int, std::allocator< int > > indices) |
| Behavior for activate1DSpectrum. | |
| virtual void | deactivate1DSpectrum (int index) |
| Behavior for deactivate1DSpectrum. | |
| virtual void | activateBehavior () |
| Slot for behavior activation. | |
| virtual void | deactivateBehavior () |
| Slot for behavior deactivation. | |
| void | setVisibleArea1D (DoubleReal l, DoubleReal h) |
Public Member Functions | |
| TOPPViewIdentificationViewBehavior (TOPPViewBase *parent) | |
| Construct the behaviour with its parent. | |
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. | |
Private Member Functions | |
| void | addPrecursorLabels1D_ (const std::vector< Precursor > &pcs) |
| Adds labels for the provided precursors to the 1D spectrum. | |
| void | removeTemporaryAnnotations_ (Size spectrum_index) |
| Removes the precursor labels for from the specified 1D spectrum. | |
| void | addTheoreticalSpectrumLayer_ (const PeptideHit &ph) |
| Adds a theoretical spectrum as set from the preferences dialog for the peptide hit. | |
| void | removeTheoreticalSpectrumLayer_ () |
| removes all layer with theoretical spectrum generated in identification view | |
Private Attributes | |
| TOPPViewBase * | tv_ |
| std::vector< Annotation1DItem * > | temporary_annotations_ |
Behavior of TOPPView in identification mode.
typedef LayerData::ConsensusMapSharedPtrType ConsensusMapSharedPtrType [private] |
typedef LayerData::ConsensusMapType ConsensusMapType [private] |
typedef LayerData::ExperimentSharedPtrType ExperimentSharedPtrType [private] |
typedef LayerData::ExperimentType ExperimentType [private] |
typedef LayerData::FeatureMapSharedPtrType FeatureMapSharedPtrType [private] |
typedef LayerData::FeatureMapType FeatureMapType [private] |
typedef ExperimentType::SpectrumType SpectrumType [private] |
Peak spectrum type.
| TOPPViewIdentificationViewBehavior | ( | TOPPViewBase * | parent | ) |
Construct the behaviour with its parent.
| virtual void activate1DSpectrum | ( | int | index | ) | [virtual, slot] |
Behavior for activate1DSpectrum.
Implements TOPPViewBehaviorInterface.
| virtual void activate1DSpectrum | ( | std::vector< int, std::allocator< int > > | indices | ) | [virtual, slot] |
Behavior for activate1DSpectrum.
Implements TOPPViewBehaviorInterface.
| virtual void activateBehavior | ( | ) | [virtual, slot] |
Slot for behavior activation.
Implements TOPPViewBehaviorInterface.
| 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 | ) | [virtual, slot] |
Behavior for deactivate1DSpectrum.
Implements TOPPViewBehaviorInterface.
| virtual void deactivateBehavior | ( | ) | [virtual, slot] |
Slot for behavior deactivation.
Implements TOPPViewBehaviorInterface.
| 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 | ( | DoubleReal | l, | |
| DoubleReal | h | |||
| ) | [slot] |
| virtual void showSpectrumAs1D | ( | int | index | ) | [virtual, slot] |
Behavior for showSpectraumAs1D.
Implements TOPPViewBehaviorInterface.
Referenced by TOPPViewBase::showSpectrumAs1D().
std::vector<Annotation1DItem *> temporary_annotations_ [private] |
Used to check which annotation handles have been added automaticaly by the identification view. Ownership of the AnnotationItems has the Annotation1DContainer
TOPPViewBase* tv_ [private] |
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:58 using doxygen 1.7.1 |