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 
40  double minZValue = std::numeric_limits<double>::max();
41  double maxZValue = std::numeric_limits<double>::min();
42 
44 
46 
47  ColorMapPlotConfig(DataKind x_axis_data_kind,
48  DataKind y_axis_data_kind,
49 
50  AxisScale x_axis_scale,
51  AxisScale y_axis_scale,
52  AxisScale z_axis_scale,
53 
54  std::size_t key_cell_count,
55  std::size_t mz_cell_count,
56 
57  double min_key_value,
58  double max_key_value,
59 
60  double min_mz_value,
61  double max_mz_value,
62 
63  double min_z_value,
64  double max_z_value);
65 
66  ColorMapPlotConfig &operator=(const ColorMapPlotConfig &other);
67  QString toString() const;
68 };
69 
70 
71 } // namespace pappso
#define PMSPP_LIB_DECL
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39
AxisScale
Definition: types.h:189
DataKind
Definition: types.h:171