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 "../../utils.h"
13 #include "../../exportinmportconfig.h"
14 
15 
16 #pragma once
17 
18 namespace pappso
19 {
20 
22 {
23  DataKind xAxisDataKind = DataKind::unset;
24  DataKind yAxisDataKind = DataKind::unset;
25 
26  std::size_t keyCellCount = 0;
27  std::size_t mzCellCount = 0;
28 
29  double minKeyValue = std::numeric_limits<double>::max();
30  double maxKeyValue = std::numeric_limits<double>::min();
31 
32  double minMzValue = std::numeric_limits<double>::max();
33  double maxMzValue = std::numeric_limits<double>::min();
34 
36 
37  ColorMapPlotConfig(DataKind x_axis_data_kind,
38  DataKind y_axis_data_kind,
39  std::size_t key_cell_count,
40  std::size_t mz_cell_count,
41  double min_key_value,
42  double max_key_value,
43  double min_mz_value,
44  double max_mz_value);
45 
46  QString toString() const;
47 };
48 
49 
50 } // namespace pappso
pappso::ColorMapPlotConfig
Definition: colormapplotconfig.h:22
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
Definition: aa.cpp:39
pappso::DataKind
DataKind
Definition: types.h:171