35 #ifndef OPENMS_VISUAL_LAYERDATA_H    36 #define OPENMS_VISUAL_LAYERDATA_H    39 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>    50 #include <boost/shared_ptr.hpp>    92     std::bitset<SIZE_OF_FLAGS> 
flags;
   148       peaks(new ExperimentType()),
   255              this->
getPeakData()->metaValueExists(
"is_chromatogram") &&
   256              this->
getPeakData()->getMetaValue(
"is_chromatogram").toBool();
   262       this->
getPeakData()->setMetaValue(
"is_chromatogram", 
"true");
   270         this->
getPeakData()->removeMetaValue(
"is_chromatogram");
 Flags
Flags that determine which information is shown. 
Definition: LayerData.h:79
 
const Annotations1DContainer & getAnnotations(Size spectrum_index) const
Returns a const reference to the annotations of the current spectrum (1d view) 
Definition: LayerData.h:219
 
boost::shared_ptr< FeatureMap > FeatureMapSharedPtrType
SharedPtr on feature map. 
Definition: LayerData.h:112
 
void removePeakAnnotationsFromPeptideHit(const std::vector< Annotation1DItem *> &selected_annotations)
remove peak annotations in the given list from the currently active PeptideHit 
 
Consensus features: Show elements. 
Definition: LayerData.h:86
 
static const std::string NamesOfLabelType[SIZE_OF_LABEL_TYPE]
Label names. 
Definition: LayerData.h:106
 
Features: Convex hulls of single mass traces. 
Definition: LayerData.h:82
 
FeatureMapSharedPtrType features
feature data 
Definition: LayerData.h:329
 
std::bitset< SIZE_OF_FLAGS > flags
Actual state of each flag. 
Definition: LayerData.h:92
 
Features: Overall convex hull. 
Definition: LayerData.h:81
 
Definition: LayerData.h:88
 
A more convenient string class. 
Definition: String.h:57
 
LabelType label
Label type. 
Definition: LayerData.h:318
 
PeakMap ExperimentType
Main data type (experiment) 
Definition: LayerData.h:121
 
const ExperimentType::SpectrumType & getCurrentSpectrum() const
Returns a const reference to the current spectrum (1d view) 
 
void synchronizePeakAnnotations()
 
DataType
Dataset types. 
Definition: LayerData.h:68
 
bool modified
Flag that indicates that the layer data was modified since loading it. 
Definition: LayerData.h:315
 
A container for features. 
Definition: FeatureMap.h:94
 
FeatureMapSharedPtrType & getFeatureMap()
Returns a const reference to the current feature data. 
Definition: LayerData.h:165
 
void remove_chromatogram_flag()
Definition: LayerData.h:266
 
ExperimentType::SpectrumType & getCurrentSpectrum()
Returns a mutable reference to the current spectrum (1d view) 
Definition: LayerData.h:231
 
All peptide hits of the first identification run are used. 
Definition: LayerData.h:101
 
A container for consensus elements. 
Definition: ConsensusMap.h:72
 
Undefined data type indicating an error. 
Definition: LayerData.h:75
 
Peptide identification data. 
Definition: LayerData.h:74
 
Main OpenMS namespace. 
Definition: FeatureDeconvolution.h:47
 
Annotations1DContainer & getCurrentAnnotations()
Returns a mutable reference to the annotations of the current spectrum (1d view) 
Definition: LayerData.h:213
 
boost::shared_ptr< ExperimentType > ExperimentSharedPtrType
SharedPtr on MSExperiment. 
Definition: LayerData.h:124
 
bool chromatogram_flag_set() const
Check whether the current layer is a chromatogram. 
Definition: LayerData.h:252
 
Chromatogram data. 
Definition: LayerData.h:73
 
std::vector< Annotations1DContainer > annotations_1d
Annotations of all spectra of the experiment (1D view) 
Definition: LayerData.h:309
 
const ExperimentSharedPtrType & getChromatogramData() const
Returns a const reference to the current chromatogram data. 
Definition: LayerData.h:195
 
const ExperimentSharedPtrType & getPeakData() const
Returns a const reference to the current peak data. 
Definition: LayerData.h:183
 
ExperimentSharedPtrType & getPeakData()
Returns a mutable reference to the current peak data. 
Definition: LayerData.h:189
 
The 'label' meta information is used. 
Definition: LayerData.h:99
 
String name
layer name 
Definition: LayerData.h:291
 
bool flipped
if this layer is flipped (1d mirror view) 
Definition: LayerData.h:285
 
ExperimentSharedPtrType & getChromatogramData()
Returns a mutable reference to the current chromatogram data. 
Definition: LayerData.h:201
 
const Annotations1DContainer & getCurrentAnnotations() const
Returns a const reference to the annotations of the current spectrum (1d view) 
Definition: LayerData.h:207
 
ExperimentSharedPtrType chromatograms
chromatogram data 
Definition: LayerData.h:338
 
Param param
Layer parameters. 
Definition: LayerData.h:300
 
The representation of a 1D spectrum. 
Definition: MSSpectrum.h:67
 
const FeatureMapSharedPtrType & getFeatureMap() const
Returns a const reference to the current feature data. 
Definition: LayerData.h:159
 
Feature data. 
Definition: LayerData.h:71
 
Annotations1DContainer & getAnnotations(Size spectrum_index)
Returns a mutable reference to the annotations of the current spectrum (1d view) 
Definition: LayerData.h:225
 
Representation of a peptide hit. 
Definition: PeptideHit.h:55
 
boost::shared_ptr< ConsensusMap > ConsensusMapSharedPtrType
SharedPtr on consensus features. 
Definition: LayerData.h:118
 
Consensus feature data. 
Definition: LayerData.h:72
 
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
 
ConsensusMapSharedPtrType & getConsensusMap()
Returns current consensus map (mutable) 
Definition: LayerData.h:177
 
String filename
file name of the file the data comes from (if available) 
Definition: LayerData.h:294
 
Size current_spectrum_
Index of the current spectrum. 
Definition: LayerData.h:341
 
void set_chromatogram_flag()
Definition: LayerData.h:260
 
ExperimentSharedPtrType peaks
peak data 
Definition: LayerData.h:335
 
ConsensusMap ConsensusMapType
consensus features 
Definition: LayerData.h:115
 
Management and storage of parameters / INI files. 
Definition: Param.h:75
 
In-Memory representation of a mass spectrometry experiment. 
Definition: MSExperiment.h:82
 
Peaks: Show projections. 
Definition: LayerData.h:85
 
bool modifiable
Flag that indicates if the layer data can be modified (so far used for features only) ...
Definition: LayerData.h:312
 
int peptide_hit_index
Definition: LayerData.h:322
 
Peaks: Mark precursor peaks of MS/MS scans. 
Definition: LayerData.h:84
 
void setCurrentSpectrumIndex(Size index)
Set the index of the current spectrum. 
Definition: LayerData.h:243
 
int peptide_id_index
Selected peptide id and hit index (-1 if none is selected) 
Definition: LayerData.h:321
 
size_t Size
Size type e.g. used as variable which can hold result of size() 
Definition: Types.h:128
 
std::vector< PeptideIdentification > peptides
peptide identifications 
Definition: LayerData.h:297
 
const ConsensusMapSharedPtrType & getConsensusMap() const
Returns a const reference to the consensus feature data. 
Definition: LayerData.h:171
 
DataFilters filters
Filters to apply before painting. 
Definition: LayerData.h:306
 
LayerData()
Default constructor. 
Definition: LayerData.h:129
 
DataType type
data type (peak or feature data) 
Definition: LayerData.h:288
 
LabelType
Label used in visualization. 
Definition: LayerData.h:95
 
The best peptide hit of the first identification run is used. 
Definition: LayerData.h:100
 
Spectrum profile or centroided data. 
Definition: LayerData.h:70
 
DataFilter array providing some convenience functions. 
Definition: DataFilters.h:51
 
A gradient of multiple colors and arbitrary distances between colors. 
Definition: MultiGradient.h:68
 
The element number is used. 
Definition: LayerData.h:98
 
MultiGradient gradient
Gradient for 2D and 3D views. 
Definition: LayerData.h:303
 
Size getCurrentSpectrumIndex() const
Get the index of the current spectrum. 
Definition: LayerData.h:237
 
Container for annotations to content of Spectrum1DCanvas. 
Definition: Annotations1DContainer.h:54
 
No label is displayed. 
Definition: LayerData.h:97
 
ConsensusMapSharedPtrType consensus
consensus feature data 
Definition: LayerData.h:332
 
Features: Unassigned peptide hits. 
Definition: LayerData.h:83
 
bool visible
if this layer is visible 
Definition: LayerData.h:282
 
Definition: LayerData.h:102
 
Class that stores the data for one layer. 
Definition: LayerData.h:62
 
void updatePeptideHitAnnotations_(PeptideHit &hit)
updates the PeakAnnotations in the current PeptideHit with manually changed annotations ...
 
Identifications: m/z source. 
Definition: LayerData.h:87
 
FeatureMap FeatureMapType
Features. 
Definition: LayerData.h:109