61 std::unique_ptr<LayerData1DBase>
to1DLayer()
const override;
73 chromatogram_map_->updateRanges();
79 r.
assign(*chromatogram_map_);
83 std::unique_ptr<LayerStatistics>
getStats()
const override;
91 return chromatogram_map_->getChromatogram(idx);
100 chromatogram_map_ = p;
106 return chromatogram_map_;
112 return chromatogram_map_;
124 return on_disc_peaks_;
129 return chrom_annotation_;
134 return chrom_annotation_;
DataFilter array providing some convenience functions.
Definition: DataFilters.h:53
Class that stores the data for one layer.
Definition: LayerDataBase.h:195
Class that stores the data for one layer of type Chromatogram.
Definition: LayerDataChrom.h:50
const ExperimentType::ChromatogramType & getChromatogram(Size idx) const
Definition: LayerDataChrom.h:89
const OSWDataSharedPtrType & getChromatogramAnnotation() const
Definition: LayerDataChrom.h:132
const ExperimentSharedPtrType & getChromatogramData() const
Returns a mutable reference to the current chromatogram data.
Definition: LayerDataChrom.h:104
std::unique_ptr< LayerStatistics > getStats() const override
Compute layer statistics (via visitor)
std::unique_ptr< LayerStoreData > storeFullData() const override
Returns a visitor which contains the the full data of the layer and can write the data to disk in the...
void setOnDiscPeakData(ODExperimentSharedPtrType p)
Set the current on-disc data.
Definition: LayerDataChrom.h:116
PeakIndex findHighestDataPoint(const RangeAllType &area) const override
Find the datapoint with the highest intensity within the given range and return a proxy to that datap...
void setChromatogramAnnotation(OSWData &&data)
add annotation from an OSW sqlite file.
LayerDataChrom(const LayerDataChrom &ld)=default
Copy-ctor.
OSWDataSharedPtrType & getChromatogramAnnotation()
Definition: LayerDataChrom.h:127
std::unique_ptr< LayerData1DBase > to1DLayer() const override
Create a shallow copy (i.e. shared experimental data using shared_ptr) of the current layer,...
const ODExperimentSharedPtrType & getOnDiscPeakData() const
Returns a mutable reference to the on-disc data.
Definition: LayerDataChrom.h:122
PointXYType peakIndexToXY(const PeakIndex &peak, const DimMapper< 2 > &mapper) const override
Convert a PeakIndex to a XY coordinate (via mapper).
ProjectionData getProjection(const DIM_UNIT unit_x, const DIM_UNIT unit_y, const RangeAllType &area) const override
RangeAllType getRange() const override
Definition: LayerDataChrom.h:76
ExperimentSharedPtrType & getChromatogramData()
Returns a mutable reference to the current chromatogram data.
Definition: LayerDataChrom.h:110
LayerDataChrom & operator=(const LayerDataChrom &ld)=delete
no assignment operator (should not be needed)
std::unique_ptr< LayerStoreData > storeVisibleData(const RangeAllType &visible_range, const DataFilters &layer_filters) const override
Returns a visitor which contains the current visible data and can write the data to disk.
OSWDataSharedPtrType chrom_annotation_
Chromatogram annotation data.
Definition: LayerDataChrom.h:148
std::unique_ptr< Painter2DBase > getPainter2D() const override
Obtain a painter which can draw the layer on a 2D canvas.
void updateRanges() override
Update ranges of the underlying data.
Definition: LayerDataChrom.h:71
LayerDataChrom()
Default constructor.
String getDataArrayDescription(const PeakIndex &peak_index) override
Get name and value of all data-arrays corresponding to the given datapoint.
void setChromData(ExperimentSharedPtrType p)
Set the current in-memory chrom data.
Definition: LayerDataChrom.h:98
The representation of a chromatogram.
Definition: MSChromatogram.h:57
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:72
Holds all or partial information from an OSW file.
Definition: OSWData.h:305
Representation of a mass spectrometry experiment on disk.
Definition: OnDiscMSExperiment.h:67
auto & assign(const RangeManager< RangeBasesOther... > &rhs)
Definition: RangeManager.h:612
A more convenient string class.
Definition: String.h:60
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
DIM_UNIT
Definition: CommonEnums.h:46
boost::shared_ptr< OSWData > OSWDataSharedPtrType
SharedPtr on OSWData.
Definition: LayerDataChrom.h:42
Result of computing a projection on X and Y axis in a 2D Canvas; see LayerDataBase::getProjection()
Definition: LayerDataBase.h:77
boost::shared_ptr< ExperimentType > ExperimentSharedPtrType
SharedPtr on MSExperiment.
Definition: LayerDataBase.h:152
boost::shared_ptr< OnDiscMSExperiment > ODExperimentSharedPtrType
SharedPtr on On-Disc MSExperiment.
Definition: LayerDataBase.h:157
boost::shared_ptr< OSWData > OSWDataSharedPtrType
SharedPtr on OSWData.
Definition: LayerDataBase.h:160
Index of a peak or feature.
Definition: PeakIndex.h:51