libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
integrationscopebase.cpp
Go to the documentation of this file.
1// Copyright 2021 Filippo Rusconi
2// GPLv3+
3
4
5/////////////////////// StdLib includes
6#include <limits>
7#include <cmath>
8
9
10/////////////////////// Qt includes
11#include <QDebug>
12
13
14/////////////////////// Local includes
16
17
18namespace pappso
19{
20
22 : QObject(parent_p)
23{
24 // qDebug() << "Constructing" << this;
25}
26
28 QObject *parent_p)
29 : QObject(parent_p)
30{
31 // qDebug() << "Constructing" << this;
32}
33
35{
36 // qDebug() << "Destructing" << this;
37}
38
39
40bool
41IntegrationScopeBase::getPoint([[maybe_unused]] QPointF &point) const
42{
43 return false;
44}
45
46bool
47IntegrationScopeBase::getPoints([[maybe_unused]] std::vector<QPointF> &points) const
48{
49 return false;
50}
51
53IntegrationScopeBase::getLeftMostPoint([[maybe_unused]] QPointF &point) const
54{
56}
57
59IntegrationScopeBase::getLeftMostPoints([[maybe_unused]] std::vector<QPointF> &points) const
60{
62}
63
65IntegrationScopeBase::getLeftMostTopPoint([[maybe_unused]] QPointF &point) const
66{
68}
69
71IntegrationScopeBase::getLeftMostBottomPoint([[maybe_unused]] QPointF &point) const
72{
74}
75
77IntegrationScopeBase::getRightMostPoint([[maybe_unused]] QPointF &point) const
78{
80}
81
83IntegrationScopeBase::getRightMostPoints([[maybe_unused]] std::vector<QPointF> &points) const
84{
86}
87
89IntegrationScopeBase::getRightMostTopPoint([[maybe_unused]] QPointF &point) const
90{
92}
93
95IntegrationScopeBase::getRightMostBottomPoint([[maybe_unused]] QPointF &point) const
96{
98}
99
101IntegrationScopeBase::getTopMostPoint([[maybe_unused]] QPointF &point) const
102{
104}
105
107IntegrationScopeBase::getTopMostPoints([[maybe_unused]] std::vector<QPointF> &points) const
108{
110}
111
113IntegrationScopeBase::getBottomMostPoint([[maybe_unused]] QPointF &point) const
114{
116}
117
119IntegrationScopeBase::getBottomMostPoints([[maybe_unused]] std::vector<QPointF> &points) const
120{
122}
123
125IntegrationScopeBase::getWidth([[maybe_unused]] double &width) const
126{
128}
129
131IntegrationScopeBase::getHeight([[maybe_unused]] double &height) const
132{
134}
135
137IntegrationScopeBase::getRhombHorizontalSize([[maybe_unused]] double &size) const
138{
140}
141
143IntegrationScopeBase::getRhombVerticalSize([[maybe_unused]] double &size) const
144{
146}
147
148bool
150 [[maybe_unused]] double &start,
151 [[maybe_unused]] double &end) const
152{
153 return false;
154}
155
156void
158{
159}
160
161void
163{
164}
165
166bool
168{
169 return false;
170}
171
172bool
174{
175 return false;
176}
177
178bool
180{
181 return false;
182}
183
184bool
186{
187 return false;
188}
189
190bool
192{
193 return false;
194}
195
196bool
198{
199 return false;
200}
201
202bool
204{
205 return false;
206}
207
208bool
209IntegrationScopeBase::contains([[maybe_unused]] const QPointF &point) const
210{
211 return false;
212}
213
214QString
216{
217 return QString();
218}
219
220void
224
225} // namespace pappso
virtual IntegrationScopeFeatures getBottomMostPoint(QPointF &point) const
virtual bool range(Enums::Axis axis, double &start, double &end) const
virtual void setDataKindY(Enums::DataKind data_kind)
virtual IntegrationScopeFeatures getLeftMostPoints(std::vector< QPointF > &points) const
virtual IntegrationScopeFeatures getWidth(double &width) const
virtual IntegrationScopeFeatures getLeftMostPoint(QPointF &point) const
virtual IntegrationScopeFeatures getHeight(double &height) const
virtual bool contains(const QPointF &point) const
virtual IntegrationScopeFeatures getRightMostTopPoint(QPointF &point) const
virtual IntegrationScopeFeatures getRightMostPoint(QPointF &point) const
virtual IntegrationScopeFeatures getBottomMostPoints(std::vector< QPointF > &points) const
virtual IntegrationScopeFeatures getTopMostPoint(QPointF &point) const
virtual void setDataKindX(Enums::DataKind data_kind)
virtual bool getDataKindX(Enums::DataKind &data_kind)
virtual bool getPoints(std::vector< QPointF > &points) const
virtual bool getDataKindY(Enums::DataKind &data_kind)
virtual IntegrationScopeFeatures getRightMostBottomPoint(QPointF &point) const
virtual IntegrationScopeFeatures getRhombHorizontalSize(double &size) const
virtual IntegrationScopeFeatures getLeftMostBottomPoint(QPointF &point) const
virtual IntegrationScopeFeatures getRhombVerticalSize(double &size) const
virtual IntegrationScopeFeatures getRightMostPoints(std::vector< QPointF > &points) const
virtual IntegrationScopeFeatures getTopMostPoints(std::vector< QPointF > &points) const
virtual bool getPoint(QPointF &point) const
IntegrationScopeBase(QObject *parent_p=nullptr)
virtual IntegrationScopeFeatures getLeftMostTopPoint(QPointF &point) const
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition aa.cpp:39