53 std::unique_ptr<LayerStoreData> storeVisibleData(
const RangeAllType& visible_range,
const DataFilters& layer_filters)
const override;
54 std::unique_ptr<LayerStoreData> storeFullData()
const override;
56 std::unique_ptr<Painter1DBase> getPainter1D()
const override;
60 return index < chromatogram_map_->getNrChromatograms();
65 const auto& chrom = getCurrentChrom();
67 chrom_filtered.insert(chrom_filtered.begin(), chrom.RTBegin(partial_range.getMinRT()), chrom.RTEnd(partial_range.getMaxRT()));
68 chrom_filtered.updateRanges();
79 return getChromatogram(current_idx_);
95 QMenu* getContextMenuAnnotation(
Annotation1DItem* annot_item,
bool& need_repaint)
override;
An abstract class acting as an interface for the different 1D annotation items.
Definition: Annotation1DItem.h:61
Definition: LayerData1DChrom.h:42
RangeManager< RangeRT, RangeMZ, RangeIntensity, RangeMobility > RangeAllType
Range which contains all known dimensions.
Definition: RangeManager.h:923
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: LayerData1DChrom.h:63
The representation of a chromatogram.
Definition: MSChromatogram.h:53
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
void updateRanges() override
Update ranges of the underlying data.
Definition: LayerData1DChrom.h:82
Base class for all 1D layers, a special case of LayerData.
Definition: LayerData1DBase.h:53
RangeAllType getRange1D() const override
Definition: LayerData1DChrom.h:72
LayerData1DChrom()
Definition: LayerData1DChrom.h:45
auto & assign(const RangeManager< RangeBasesOther... > &rhs)
Definition: RangeManager.h:612
RangeAllType getRange() const override
Definition: LayerData1DChrom.h:87
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: LayerData1DChrom.h:58
MSChromatogram ChromatogramType
Chromatogram type.
Definition: MSExperiment.h:95
LayerData1DChrom(const LayerDataChrom &base)
Definition: LayerData1DChrom.h:49
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Class that stores the data for one layer of type Chromatogram.
Definition: LayerDataChrom.h:49
DataFilter array providing some convenience functions.
Definition: DataFilters.h:52
Class that stores the data for one layer.
Definition: LayerDataBase.h:194
void updateRanges() override
Update ranges of the underlying data.
Definition: LayerDataChrom.h:71
Index of a peak or feature.
Definition: PeakIndex.h:50
RangeAllType getRange() const override
Definition: LayerDataChrom.h:76
const ExperimentType::ChromatogramType & getCurrentChrom() const
Definition: LayerData1DChrom.h:77