Mass++ Common Libraries v2.7.5
 All Classes Namespaces Files Functions Variables Enumerations Macros
OverlappingChromatogram.h
Go to the documentation of this file.
1 
12 #ifndef __KOME_OBJECTS_OVERLAPPING_CHROMATOGRAM_H__
13 #define __KOME_OBJECTS_OVERLAPPING_CHROMATOGRAM_H__
14 
15 
16 #include "Chromatogram.h"
17 
18 #include <vector>
19 
20 
21 namespace kome {
22  namespace objects {
23 
28  class DATA_OBJECTS_CLASS OverlappingChromatogram : public Chromatogram {
29  public:
35 
40  virtual ~OverlappingChromatogram();
41 
42  protected:
44  std::vector< Chromatogram* > m_chroms;
45 
47  std::vector< double > m_dMinX;
49  std::vector< double > m_dMaxX;
51  std::vector< double > m_dMinY;
53  std::vector< double > m_dMaxY;
54 
55  bool *m_bFlags;
56  double *m_dInts;
57  int m_nAllocLen;
58 
59  public:
64  void clearChromatograms();
65 
71  void addChromatogram( Chromatogram* chrom );
72 
78  void removeChromatogram( Chromatogram* chrom );
79 
80  public:
85  void update();
86 
87  protected:
94  int searchChromatogram( Chromatogram* chrom );
95 
96  protected:
102  virtual void onGetXYData( kome::core::XYData* const xyData );
103 
119  virtual void onGetSpectra(
120  DataSet& dataSet,
121  const double startRt,
122  const double endRt,
123  const SearchType startSearch,
124  const SearchType endSearch
125  );
126 
133  virtual double onGetMass( const unsigned int index );
134 
141  virtual int onGetMsStage( const unsigned int index );
142 
149  virtual double onGetPrecursor( const unsigned int index );
150  };
151  }
152 }
153 
154 #endif // __KOME_OBJECTS_OVERLAPPING_CHROMATOGRAM_H__
abstraction class of two dimention coordinate data
Definition: XYData.h:34
interfaces of Chromatogram class
dummy chromatogram class for overlapping draw
SearchType
search type
one or more spectra management class
Definition: DataSet.h:31
chromatogram information management class
Definition: Chromatogram.h:33