|
| | LayerData1DChrom () |
| |
| | LayerData1DChrom (const LayerDataChrom &base) |
| |
| 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.
|
| |
| 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 appropriate format (e.g. mzML)
|
| |
| std::unique_ptr< Painter1DBase > | getPainter1D () const override |
| | Obtain a painter which can draw the layer on a canvas.
|
| |
| bool | hasIndex (Size index) const override |
| | Does the layer have at least index items (e.g. spectra, chroms, etc), so a call to setCurrentIndex() is valid?
|
| |
| 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 (usually intensity) from all data points which are within the input range.
|
| |
| RangeAllType | getRange1D () const override |
| |
| const ExperimentType::ChromatogramType & | getCurrentChrom () const |
| |
| void | updateRanges () override |
| | Update ranges of the underlying data.
|
| |
| RangeAllType | getRange () const override |
| |
| QMenu * | getContextMenuAnnotation (Annotation1DItem *annot_item, bool &need_repaint) override |
| | Get a context menu (with lambda actions included) for this 1D layer, when a Annotation1DItem was right-clicked.
|
| |
| PeakIndex | findClosestDataPoint (const RangeAllType &area) const override |
| | Find the closest datapoint within the given range and return a proxy to that datapoint.
|
| |
| Annotation1DItem * | addPeakAnnotation (const PeakIndex &peak_index, const QString &text, const QColor &color) override |
| | Add a Annotation1DPeakItem to getCurrentAnnotations(). The specific type is determined by the derived class (e.g. Peak1D, ChromatogramPeak1D, etc)
|
| |
| | LayerDataChrom () |
| | Default constructor.
|
| |
| | LayerDataChrom (const LayerDataChrom &ld)=default |
| | Copy-ctor.
|
| |
| LayerDataChrom & | operator= (const LayerDataChrom &ld)=delete |
| | no assignment operator (should not be needed)
|
| |
| std::unique_ptr< Painter2DBase > | getPainter2D () const override |
| | Obtain a painter which can draw the layer on a 2D canvas.
|
| |
| std::unique_ptr< LayerData1DBase > | to1DLayer () const override |
| | Create a shallow copy (i.e. shared experimental data using shared_ptr) of the current layer, and make it 1D (i.e. support showing a single spec/chrom etc)
|
| |
| 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.
|
| |
| 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 appropriate format (e.g. mzML)
|
| |
| ProjectionData | getProjection (const DIM_UNIT unit_x, const DIM_UNIT unit_y, const RangeAllType &area) const override |
| |
| PeakIndex | findHighestDataPoint (const RangeAllType &area) const override |
| | Find the datapoint with the highest intensity within the given range and return a proxy to that datapoint.
|
| |
| void | updateRanges () override |
| | Update ranges of the underlying data.
|
| |
| RangeAllType | getRange () const override |
| |
| std::unique_ptr< LayerStatistics > | getStats () const override |
| | Compute layer statistics (via visitor)
|
| |
| PointXYType | peakIndexToXY (const PeakIndex &peak, const DimMapper< 2 > &mapper) const override |
| | Convert a PeakIndex to a XY coordinate (via mapper).
|
| |
| String | getDataArrayDescription (const PeakIndex &peak_index) override |
| | Get name and value of all data-arrays corresponding to the given datapoint.
|
| |
| const ExperimentType::ChromatogramType & | getChromatogram (Size idx) const |
| |
| void | setChromData (ExperimentSharedPtrType p) |
| | Set the current in-memory chrom data.
|
| |
| const ExperimentSharedPtrType & | getChromatogramData () const |
| | Returns a mutable reference to the current chromatogram data.
|
| |
| ExperimentSharedPtrType & | getChromatogramData () |
| | Returns a mutable reference to the current chromatogram data.
|
| |
| void | setOnDiscPeakData (ODExperimentSharedPtrType p) |
| | Set the current on-disc data.
|
| |
| const ODExperimentSharedPtrType & | getOnDiscPeakData () const |
| | Returns a mutable reference to the on-disc data.
|
| |
| OSWDataSharedPtrType & | getChromatogramAnnotation () |
| |
| const OSWDataSharedPtrType & | getChromatogramAnnotation () const |
| |
| void | setChromatogramAnnotation (OSWData &&data) |
| | add annotation from an OSW sqlite file.
|
| |
| | LayerDataBase ()=delete |
| | Default constructor (for virtual inheritance)
|
| |
| | LayerDataBase (const DataType type) |
| | C'tor for child classes.
|
| |
| | LayerDataBase (const LayerDataBase &ld)=default |
| | Copy-C'tor.
|
| |
| LayerDataBase & | operator= (const LayerDataBase &ld)=delete |
| | Assignment operator.
|
| |
| | LayerDataBase (LayerDataBase &&ld)=delete |
| |
| LayerDataBase & | operator= (LayerDataBase &&ld)=delete |
| | Move assignment – deleted, by same argument as for move c'tor.
|
| |
| virtual | ~LayerDataBase ()=default |
| | D'tor.
|
| |
| virtual bool | annotate (const PeptideIdentificationList &identifications, const std::vector< ProteinIdentification > &protein_identifications) |
| |
| float | getMinIntensity () const |
| | Returns the minimum intensity of the internal data, depending on type.
|
| |
| float | getMaxIntensity () const |
| | Returns the maximum intensity of the internal data, depending on type.
|
| |
| const String & | getName () const |
| | The name of the layer, usually the basename of the file.
|
| |
| void | setName (const String &new_name) |
| | Set the name of the layer, usually the basename of the file.
|
| |
| const String & | getNameSuffix () const |
| | get the extra annotation to the layers name, e.g. '[39]' for which chromatogram index is currently shown in 1D
|
| |
| void | setNameSuffix (const String &decorator) |
| | set an extra annotation as suffix to the layers name, e.g. '[39]' for which chromatogram index is currently shown in 1D
|
| |
| String | getDecoratedName () const override |
| | get name augmented with attributes, e.g. '*' if modified
|
| |
| const Annotations1DContainer & | getCurrentAnnotations () const |
| | Returns a const reference to the annotations of the current spectrum (1D view)
|
| |
| Annotations1DContainer & | getCurrentAnnotations () |
| | Returns a mutable reference to the annotations of the current spectrum (1D view)
|
| |
| const Annotations1DContainer & | getAnnotations (Size spectrum_index) const |
| | Returns a const reference to the annotations of the spectrum_index's spectrum (1D view)
|
| |
| Annotations1DContainer & | getAnnotations (Size spectrum_index) |
| | Returns a mutable reference to the annotations of the spectrum_index's spectrum (1D view)
|
| |
| Size | getCurrentIndex () const |
| | Get the index of the current spectrum (1D view)
|
| |
| void | setCurrentIndex (Size index) |
| | Set the index of the current spectrum (1D view) – and prepares annotations.
|
| |
|
| using | RangeAllType = RangeManager< RangeRT, RangeMZ, RangeIntensity, RangeMobility > |
| |
| enum | DataType {
DT_PEAK
, DT_CHROMATOGRAM
, DT_FEATURE
, DT_CONSENSUS
,
DT_IDENT
, DT_UNKNOWN
} |
| |
| enum | Flags {
F_HULL
, F_HULLS
, F_UNASSIGNED
, P_PRECURSORS
,
P_PROJECTIONS
, C_ELEMENTS
, I_PEPTIDEMZ
, I_LABELS
,
SIZE_OF_FLAGS
} |
| | Flags that determine which information is shown. More...
|
| |
| enum | LabelType {
L_NONE
, L_INDEX
, L_META_LABEL
, L_ID
,
L_ID_ALL
, SIZE_OF_LABEL_TYPE
} |
| | Label used in visualization. More...
|
| |
| typedef FeatureMap | FeatureMapType |
| | Features.
|
| |
| typedef std::shared_ptr< FeatureMap > | FeatureMapSharedPtrType |
| | SharedPtr on feature map.
|
| |
| typedef ConsensusMap | ConsensusMapType |
| | consensus features
|
| |
| typedef std::shared_ptr< ConsensusMap > | ConsensusMapSharedPtrType |
| | SharedPtr on consensus features.
|
| |
| typedef AnnotatedMSRun | ExperimentType |
| | Main data type (experiment)
|
| |
| typedef std::shared_ptr< ExperimentType > | ExperimentSharedPtrType |
| | SharedPtr on MSExperiment.
|
| |
| typedef std::shared_ptr< const ExperimentType > | ConstExperimentSharedPtrType |
| |
| typedef std::shared_ptr< OnDiscMSExperiment > | ODExperimentSharedPtrType |
| | SharedPtr on On-Disc MSExperiment.
|
| |
| typedef std::shared_ptr< OSWData > | OSWDataSharedPtrType |
| | SharedPtr on OSWData.
|
| |
| std::bitset< SIZE_OF_FLAGS > | flags |
| | Actual state of each flag.
|
| |
| bool | visible = true |
| | if this layer is visible
|
| |
| DataType | type = DT_UNKNOWN |
| | data type (peak or feature data, etc)
|
| |
| String | filename |
| | file name of the file the data comes from (if available)
|
| |
| Param | param |
| | Layer parameters.
|
| |
| MultiGradient | gradient |
| | Gradient for 2D and 3D views.
|
| |
| DataFilters | filters |
| | Filters to apply before painting.
|
| |
| bool | modifiable = false |
| | Flag that indicates if the layer data can be modified (so far used for features only)
|
| |
| bool | modified = false |
| | Flag that indicates that the layer data was modified since loading it.
|
| |
| LabelType | label = L_NONE |
| | Label type.
|
| |
| int | peptide_id_index = -1 |
| | Selected peptide id and hit index (-1 if none is selected)
|
| |
| int | peptide_hit_index = -1 |
| |
| bool | flipped = false |
| | if this layer is flipped (1d mirror view)
|
| |
| std::vector< QColor > | peak_colors_1d |
| | Peak colors of the currently shown spectrum.
|
| |
| static const std::string | NamesOfLabelType [SIZE_OF_LABEL_TYPE] |
| | Label names.
|
| |
| ExperimentSharedPtrType | chromatogram_map_ = ExperimentSharedPtrType(new ExperimentType()) |
| | chromatogram data
|
| |
| ODExperimentSharedPtrType | on_disc_peaks_ = ODExperimentSharedPtrType(new OnDiscMSExperiment()) |
| | on disc chrom data
|
| |
| OSWDataSharedPtrType | chrom_annotation_ |
| | Chromatogram annotation data.
|
| |
| Size | current_idx_ = 0 |
| | Index of the current spectrum/chromatogram etc (by default, show the first one)
|
| |
| std::vector< Annotations1DContainer > | annotations_1d_ = std::vector<Annotations1DContainer>(1) |
| | Annotations of all spectra of the experiment (1D view)
|
| |