Scope
PixelmapperFrameResonanceSW.h
1 #pragma once
2 
3 #include "PixelmapperBasic.h"
4 
5 // Forward declarations
6 namespace scope {
7  class DaqChunkResonance;
8  typedef std::shared_ptr<DaqChunkResonance> DaqChunkResonancePtr;
9  class ScopeMultiImageResonanceSW;
10  typedef std::shared_ptr<ScopeMultiImageResonanceSW> ScopeMultiImageResonanceSWPtr;
11 }
12 
13 namespace scope {
14 
17 
18 protected:
20  ScopeMultiImageResonanceSWPtr current_frame;
21 
23  ScopeMultiImageResonanceSWPtr current_averaged_frame;
24 
26  bool firstchunk;
27 
28 public:
30 
32  PixelmapperResult LookupChunk(DaqChunkResonancePtr const _chunk, const uint16_t& _currentavgcount) override;
33 
35  void SetCurrentAveragedFrame(ScopeMultiImageResonanceSWPtr const _current_averaged_frame);
36 };
37 
38 }
ScopeMultiImageResonanceSWPtr current_frame
pointer to the current frame to be mapped into (for SW resonance mapping, different type than the one...
Maps acquired pixels into an image analysing the resonance scanner sync signal, takes care of return ...
Parent class for pixel mappers.
void SetCurrentAveragedFrame(ScopeMultiImageResonanceSWPtr const _current_averaged_frame)
Sets pointer to the current averaged (displayed) frame to be mapped into.
ScopeMultiImageResonanceSWPtr current_averaged_frame
pointer to the current averaged frame to be mapped into
PixelmapperResult LookupChunk(DaqChunkResonancePtr const _chunk, const uint16_t &_currentavgcount) override
Maps a chunk.
bool firstchunk
true only for mapping first chunk