12#include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
69 canvas_->setMapper(mapper);
71 projection_onto_X_->setMapper(
DimMapper<2>({mapper.
getDim(DIM::X).getUnit(), DIM_UNIT::INT}));
72 projection_onto_Y_->setMapper(
DimMapper<2>({DIM_UNIT::INT, mapper.
getDim(DIM::Y).getUnit()}));
80 canvas->setDrawMode(Plot1DCanvas::DM_PEAKS);
81 canvas->setIntensityMode(PlotCanvas::IM_PERCENTAGE);
85 canvas->setDrawMode(Plot1DCanvas::DM_CONNECTEDLINES);
86 canvas->setIntensityMode(PlotCanvas::IM_SNAP);
90 set_style(mapper.
getDim(DIM::X).
getUnit(), projection_onto_Y_->canvas());
91 set_style(mapper.
getDim(DIM::Y).
getUnit(), projection_onto_X_->canvas());
A D-dimensional half-open interval.
Definition DRange.h:39
DIM_UNIT getUnit() const
The unit of the dimension.
Definition DimMapper.h:129
Allows dynamical switching (at runtime) between a dimension (RT, m/z, int, IM, etc) and X,...
Definition DimMapper.h:662
const DimBase & getDim(DIM d) const
obtain unit/name for X/Y/Z dimension.
Definition DimMapper.h:801
Class that stores the data for one layer.
Definition LayerDataBase.h:170
The representation of a 1D spectrum.
Definition MSSpectrum.h:44
Management and storage of parameters / INI files.
Definition Param.h:46
Canvas for visualization of one or several spectra.
Definition Plot1DCanvas.h:295
Canvas for 2D-visualization of peak map, feature map and consensus map data.
Definition Plot2DCanvas.h:46
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
DIM_UNIT
Definition CommonEnums.h:20
std::shared_ptr< ExperimentType > ExperimentSharedPtrType
SharedPtr on MSExperiment.
Definition LayerDataBase.h:127