libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
pappso::IntegrationScopeBase Class Reference

#include <integrationscopebase.h>

Inheritance diagram for pappso::IntegrationScopeBase:
pappso::IntegrationScope pappso::IntegrationScopeRhomb pappso::IntegrationScopeRect

Public Member Functions

 IntegrationScopeBase ()
 IntegrationScopeBase (const IntegrationScopeBase &other)
virtual ~IntegrationScopeBase ()
virtual IntegrationScopeBaseclone () const
virtual IntegrationScopeBaseoperator= (const IntegrationScopeBase &other)
virtual bool getPoint (QPointF &point) const
virtual bool getPoints (std::vector< QPointF > &points) const
virtual IntegrationScopeFeatures getLeftMostPoint (QPointF &point) const
virtual IntegrationScopeFeatures getLeftMostPoints (std::vector< QPointF > &points) const
virtual IntegrationScopeFeatures getLeftMostTopPoint (QPointF &point) const
virtual IntegrationScopeFeatures getLeftMostBottomPoint (QPointF &point) const
virtual IntegrationScopeFeatures getRightMostPoint (QPointF &point) const
virtual IntegrationScopeFeatures getRightMostPoints (std::vector< QPointF > &points) const
virtual IntegrationScopeFeatures getRightMostTopPoint (QPointF &point) const
virtual IntegrationScopeFeatures getRightMostBottomPoint (QPointF &point) const
virtual IntegrationScopeFeatures getTopMostPoint (QPointF &point) const
virtual IntegrationScopeFeatures getTopMostPoints (std::vector< QPointF > &points) const
virtual IntegrationScopeFeatures getBottomMostPoint (QPointF &point) const
virtual IntegrationScopeFeatures getBottomMostPoints (std::vector< QPointF > &points) const
virtual IntegrationScopeFeatures getRhombHorizontalSize (double &size) const
virtual IntegrationScopeFeatures getRhombVerticalSize (double &size) const
virtual IntegrationScopeFeatures getWidth (double &width) const
virtual IntegrationScopeFeatures getHeight (double &height) const
virtual bool range (Enums::Axis axis, double &start, double &end) const
virtual void setDataKindX (Enums::DataKind data_kind)
virtual bool getDataKindX (Enums::DataKind &data_kind)
virtual void setDataKindY (Enums::DataKind data_kind)
virtual bool getDataKindY (Enums::DataKind &data_kind)
virtual bool is1D () const
virtual bool is2D () const
virtual bool isRectangle () const
virtual bool isRhomboid () const
virtual bool transpose ()
virtual bool contains (const QPointF &point) const
virtual QString toString () const
virtual void reset ()

Detailed Description

Definition at line 60 of file integrationscopebase.h.

Constructor & Destructor Documentation

◆ IntegrationScopeBase() [1/2]

◆ IntegrationScopeBase() [2/2]

pappso::IntegrationScopeBase::IntegrationScopeBase ( const IntegrationScopeBase & other)

Definition at line 26 of file integrationscopebase.cpp.

27{
28 Q_UNUSED(other)
29
30 // qDebug() << "Constructing" << this;
31}

References IntegrationScopeBase().

◆ ~IntegrationScopeBase()

pappso::IntegrationScopeBase::~IntegrationScopeBase ( )
virtual

Definition at line 33 of file integrationscopebase.cpp.

34{
35 // qDebug() << "Destructing" << this;
36}

Member Function Documentation

◆ clone()

◆ contains()

bool pappso::IntegrationScopeBase::contains ( const QPointF & point) const
virtual

Reimplemented in pappso::IntegrationScope, pappso::IntegrationScopeRect, and pappso::IntegrationScopeRhomb.

Definition at line 223 of file integrationscopebase.cpp.

224{
225 return false;
226}

◆ getBottomMostPoint()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getBottomMostPoint ( QPointF & point) const
virtual

◆ getBottomMostPoints()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getBottomMostPoints ( std::vector< QPointF > & points) const
virtual

Reimplemented in pappso::IntegrationScopeRhomb.

Definition at line 133 of file integrationscopebase.cpp.

134{
136}

References pappso::FAILURE.

◆ getDataKindX()

bool pappso::IntegrationScopeBase::getDataKindX ( Enums::DataKind & data_kind)
virtual

Reimplemented in pappso::IntegrationScope, pappso::IntegrationScopeRect, and pappso::IntegrationScopeRhomb.

Definition at line 181 of file integrationscopebase.cpp.

182{
183 return false;
184}

◆ getDataKindY()

bool pappso::IntegrationScopeBase::getDataKindY ( Enums::DataKind & data_kind)
virtual

Reimplemented in pappso::IntegrationScopeRect, and pappso::IntegrationScopeRhomb.

Definition at line 187 of file integrationscopebase.cpp.

188{
189 return false;
190}

◆ getHeight()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getHeight ( double & height) const
virtual

Reimplemented in pappso::IntegrationScopeRect, and pappso::IntegrationScopeRhomb.

Definition at line 145 of file integrationscopebase.cpp.

146{
148}

References pappso::FAILURE.

◆ getLeftMostBottomPoint()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getLeftMostBottomPoint ( QPointF & point) const
virtual

Reimplemented in pappso::IntegrationScopeRhomb.

Definition at line 85 of file integrationscopebase.cpp.

References pappso::FAILURE.

◆ getLeftMostPoint()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getLeftMostPoint ( QPointF & point) const
virtual

Reimplemented in pappso::IntegrationScope, and pappso::IntegrationScopeRhomb.

Definition at line 67 of file integrationscopebase.cpp.

References pappso::FAILURE.

◆ getLeftMostPoints()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getLeftMostPoints ( std::vector< QPointF > & points) const
virtual

Reimplemented in pappso::IntegrationScopeRhomb.

Definition at line 73 of file integrationscopebase.cpp.

References pappso::FAILURE.

◆ getLeftMostTopPoint()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getLeftMostTopPoint ( QPointF & point) const
virtual

Reimplemented in pappso::IntegrationScopeRhomb.

Definition at line 79 of file integrationscopebase.cpp.

References pappso::FAILURE.

◆ getPoint()

bool pappso::IntegrationScopeBase::getPoint ( QPointF & point) const
virtual

Reimplemented in pappso::IntegrationScope, and pappso::IntegrationScopeRhomb.

Definition at line 55 of file integrationscopebase.cpp.

56{
57 return false;
58}

◆ getPoints()

bool pappso::IntegrationScopeBase::getPoints ( std::vector< QPointF > & points) const
virtual

Reimplemented in pappso::IntegrationScopeRhomb.

Definition at line 61 of file integrationscopebase.cpp.

62{
63 return false;
64}

◆ getRhombHorizontalSize()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getRhombHorizontalSize ( double & size) const
virtual

Reimplemented in pappso::IntegrationScopeRhomb.

Definition at line 151 of file integrationscopebase.cpp.

152{
154}

References pappso::FAILURE.

◆ getRhombVerticalSize()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getRhombVerticalSize ( double & size) const
virtual

Reimplemented in pappso::IntegrationScopeRhomb.

Definition at line 157 of file integrationscopebase.cpp.

158{
160}

References pappso::FAILURE.

◆ getRightMostBottomPoint()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getRightMostBottomPoint ( QPointF & point) const
virtual

Reimplemented in pappso::IntegrationScopeRhomb.

Definition at line 109 of file integrationscopebase.cpp.

110{
112}

References pappso::FAILURE.

◆ getRightMostPoint()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getRightMostPoint ( QPointF & point) const
virtual

Reimplemented in pappso::IntegrationScope, and pappso::IntegrationScopeRhomb.

Definition at line 91 of file integrationscopebase.cpp.

References pappso::FAILURE.

◆ getRightMostPoints()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getRightMostPoints ( std::vector< QPointF > & points) const
virtual

Reimplemented in pappso::IntegrationScopeRhomb.

Definition at line 97 of file integrationscopebase.cpp.

98{
100}

References pappso::FAILURE.

◆ getRightMostTopPoint()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getRightMostTopPoint ( QPointF & point) const
virtual

Reimplemented in pappso::IntegrationScopeRhomb.

Definition at line 103 of file integrationscopebase.cpp.

104{
106}

References pappso::FAILURE.

◆ getTopMostPoint()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getTopMostPoint ( QPointF & point) const
virtual

◆ getTopMostPoints()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getTopMostPoints ( std::vector< QPointF > & points) const
virtual

Reimplemented in pappso::IntegrationScopeRhomb.

Definition at line 121 of file integrationscopebase.cpp.

122{
124}

References pappso::FAILURE.

◆ getWidth()

IntegrationScopeFeatures pappso::IntegrationScopeBase::getWidth ( double & width) const
virtual

Reimplemented in pappso::IntegrationScope, and pappso::IntegrationScopeRhomb.

Definition at line 139 of file integrationscopebase.cpp.

140{
142}

References pappso::FAILURE.

◆ is1D()

bool pappso::IntegrationScopeBase::is1D ( ) const
virtual

Reimplemented in pappso::IntegrationScope, pappso::IntegrationScopeRect, and pappso::IntegrationScopeRhomb.

Definition at line 193 of file integrationscopebase.cpp.

194{
195 return false;
196}

◆ is2D()

bool pappso::IntegrationScopeBase::is2D ( ) const
virtual

Reimplemented in pappso::IntegrationScope, pappso::IntegrationScopeRect, and pappso::IntegrationScopeRhomb.

Definition at line 199 of file integrationscopebase.cpp.

200{
201 return false;
202}

◆ isRectangle()

bool pappso::IntegrationScopeBase::isRectangle ( ) const
virtual

Reimplemented in pappso::IntegrationScope, pappso::IntegrationScopeRect, and pappso::IntegrationScopeRhomb.

Definition at line 205 of file integrationscopebase.cpp.

206{
207 return false;
208}

◆ isRhomboid()

bool pappso::IntegrationScopeBase::isRhomboid ( ) const
virtual

Reimplemented in pappso::IntegrationScope, pappso::IntegrationScopeRect, and pappso::IntegrationScopeRhomb.

Definition at line 211 of file integrationscopebase.cpp.

212{
213 return false;
214}

◆ operator=()

IntegrationScopeBase & pappso::IntegrationScopeBase::operator= ( const IntegrationScopeBase & other)
virtual

Reimplemented in pappso::IntegrationScope, and pappso::IntegrationScopeRhomb.

Definition at line 45 of file integrationscopebase.cpp.

46{
47 Q_UNUSED(other);
48 if(&other == this)
49 return *this;
50
51 return *this;
52}

References IntegrationScopeBase().

Referenced by pappso::IntegrationScope::operator=().

◆ range()

bool pappso::IntegrationScopeBase::range ( Enums::Axis axis,
double & start,
double & end ) const
virtual

Reimplemented in pappso::IntegrationScope, pappso::IntegrationScopeRect, and pappso::IntegrationScopeRhomb.

Definition at line 163 of file integrationscopebase.cpp.

166{
167 return false;
168}

◆ reset()

void pappso::IntegrationScopeBase::reset ( )
virtual

◆ setDataKindX()

void pappso::IntegrationScopeBase::setDataKindX ( Enums::DataKind data_kind)
virtual

◆ setDataKindY()

void pappso::IntegrationScopeBase::setDataKindY ( Enums::DataKind data_kind)
virtual

Reimplemented in pappso::IntegrationScopeRect, and pappso::IntegrationScopeRhomb.

Definition at line 176 of file integrationscopebase.cpp.

177{
178}

◆ toString()

QString pappso::IntegrationScopeBase::toString ( ) const
virtual

Reimplemented in pappso::IntegrationScope, pappso::IntegrationScopeRect, and pappso::IntegrationScopeRhomb.

Definition at line 229 of file integrationscopebase.cpp.

230{
231 return QString();
232}

◆ transpose()

bool pappso::IntegrationScopeBase::transpose ( )
virtual

Reimplemented in pappso::IntegrationScope, pappso::IntegrationScopeRect, and pappso::IntegrationScopeRhomb.

Definition at line 217 of file integrationscopebase.cpp.

218{
219 return false;
220}

The documentation for this class was generated from the following files: