56 std::unique_ptr<LayerStoreData> storeVisibleData(
const RangeAllType& visible_range,
const DataFilters& layer_filters)
const override;
57 std::unique_ptr<LayerStoreData> storeFullData()
const override;
59 std::unique_ptr<Painter1DBase> getPainter1D()
const override;
63 return index < peak_map_->size();
68 const auto& spec = getCurrentSpectrum();
70 spec_filtered.insert(spec_filtered.begin(), spec.MZBegin(partial_range.getMinMZ()), spec.MZEnd(partial_range.getMaxMZ()));
71 spec_filtered.updateRanges();
92 QMenu* getContextMenuAnnotation(
Annotation1DItem* annot_item,
bool& need_repaint)
override;
101 void synchronizePeakAnnotations();
104 void removePeakAnnotationsFromPeptideHit(
const std::vector<Annotation1DItem*>& selected_annotations);
107 void updatePeptideHitAnnotations_(
PeptideHit& hit);
An abstract class acting as an interface for the different 1D annotation items.
Definition: Annotation1DItem.h:61
const ExperimentType::SpectrumType & getCurrentSpectrum() const
Definition: LayerData1DPeak.h:75
RangeManager< RangeRT, RangeMZ, RangeIntensity, RangeMobility > RangeAllType
Range which contains all known dimensions.
Definition: RangeManager.h:920
RangeAllType getRange1D() const override
Definition: LayerData1DPeak.h:86
Class that stores the data for one layer of type PeakMap.
Definition: LayerDataPeak.h:54
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Base class for all 1D layers, a special case of LayerData.
Definition: LayerData1DBase.h:53
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
auto & assign(const RangeManager< RangeBasesOther... > &rhs)
Definition: RangeManager.h:612
const ExperimentType::SpectrumType & getSpectrum(Size spectrum_idx) const
Definition: LayerDataPeak.h:101
Representation of a peptide hit.
Definition: PeptideHit.h:55
LayerData1DPeak(const LayerDataPeak &base)
Definition: LayerData1DPeak.h:51
LayerData1DPeak()
Definition: LayerData1DPeak.h:46
RangeAllType getRangeForArea(const RangeAllType partial_range) const override
Given a partial_range for the current 1D layer (e.g. an m/z range), fill in the other dimensions (usu...
Definition: LayerData1DPeak.h:66
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
void updateRanges() override
Update ranges of the underlying data.
Definition: LayerData1DPeak.h:81
void updateRanges() override
Update ranges of the underlying data.
Definition: LayerDataPeak.h:80
DataFilter array providing some convenience functions.
Definition: DataFilters.h:52
bool hasIndex(Size index) const override
Does the layer have at least index items (e.g. spectra, chroms, etc), so a call to setCurrentIndex() ...
Definition: LayerData1DPeak.h:61
Class that stores the data for one layer.
Definition: LayerDataBase.h:194
Definition: LayerData1DPeak.h:43
Index of a peak or feature.
Definition: PeakIndex.h:50
MSSpectrum SpectrumType
Definition: MzDataHandler.h:60