libpappsomspp
Library for mass spectrometry
colormapplotconfig.h
Go to the documentation of this file.
1 // Copyright Filippo Rusconi, GPLv3+
2 
3 /////////////////////// StdLib includes
4 #include <limits>
5 
6 
7 /////////////////////// Qt includes
8 #include <QString>
9 
10 
11 /////////////////////// Local includes
12 #include "../../types.h"
13 #include "../../utils.h"
14 #include "../../exportinmportconfig.h"
15 
16 
17 #pragma once
18 
19 namespace pappso
20 {
21 
23 {
24  DataKind xAxisDataKind = DataKind::unset;
25  DataKind yAxisDataKind = DataKind::unset;
26 
27  AxisScale xAxisScale = AxisScale::orig;
28  AxisScale yAxisScale = AxisScale::orig;
29  AxisScale zAxisScale = AxisScale::orig;
30 
31  std::size_t keyCellCount = 0;
32  std::size_t mzCellCount = 0;
33 
34  double minKeyValue = std::numeric_limits<double>::max();
35  double maxKeyValue = std::numeric_limits<double>::min();
36 
37  double minMzValue = std::numeric_limits<double>::max();
38  double maxMzValue = std::numeric_limits<double>::min();
39 
41 
42  ColorMapPlotConfig(DataKind x_axis_data_kind,
43  DataKind y_axis_data_kind,
44 
45  AxisScale x_axis_scale,
46  AxisScale y_axis_scale,
47  AxisScale z_axis_scale,
48 
49  std::size_t key_cell_count,
50  std::size_t mz_cell_count,
51 
52  double min_key_value,
53  double max_key_value,
54 
55  double min_mz_value,
56  double max_mz_value);
57 
58  QString toString() const;
59 };
60 
61 
62 } // namespace pappso
pappso::ColorMapPlotConfig
Definition: colormapplotconfig.h:23
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition: exportinmportconfig.h:14
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39
pappso::DataKind
DataKind
Definition: types.h:192
pappso::AxisScale
AxisScale
Definition: types.h:210
pappso::AxisScale::orig
@ orig
pappso::DataKind::unset
@ unset
not set