Scope
|
#include <PixelmapperBasic.h>
Inherited by scope::PixelmapperFrameBiDi, scope::PixelmapperFrameResonanceHW, scope::PixelmapperFrameResonanceSW, and scope::PixelmapperFrameSaw.
Public Member Functions | |
PixelmapperBasic (const ScannerType &_scanner, const ScannerVectorType &_type) | |
virtual | ~PixelmapperBasic () |
virtual void | SetCurrentFrame (ScopeMultiImagePtr const _current_frame) |
virtual void | SetParameters (parameters::ScannerVectorFrameBasic *const _svparameters) |
virtual void | SetLookupVector (std::shared_ptr< const std::vector< std::size_t >> const _lookup) |
virtual PixelmapperResult | LookupChunk (DaqChunkPtr const _chunk, const uint16_t &_currentavgcount) |
virtual PixelmapperResult | LookupChunk (DaqChunkResonancePtr const _chunk, const uint16_t &_currentavgcount) |
Static Public Member Functions | |
static std::unique_ptr< PixelmapperBasic > | Factory (const ScannerType &_scanner, const ScannerVectorType &_type) |
Protected Attributes | |
const ScannerVectorTypeHelper::Mode | type |
ScopeMultiImagePtr | current_frame |
parameters::ScannerVectorFrameBasic * | svparameters |
std::shared_ptr< const std::vector< std::size_t > > | lookup |
std::vector< std::size_t >::const_iterator | lastlookup |
Parent class for pixel mappers.
Definition at line 32 of file PixelmapperBasic.h.
scope::PixelmapperBasic::PixelmapperBasic | ( | const ScannerType & | _scanner, |
const ScannerVectorType & | _type | ||
) |
Initializes.
[in] | _scanner | Type of builting scanner |
[in] | _type | Type of underlying scanner vector, set when derived class calls base constructor. Used to generate a fitting parameters set via parameters::ScannerVectorFrameBasic::Factory. |
Definition at line 14 of file PixelmapperBasic.cpp.
|
virtual |
We need a virtual destructor here, so that derived types get correctly destroyed.
Definition at line 21 of file PixelmapperBasic.cpp.
|
static |
A static factor method for pixelmappers.
Definition at line 25 of file PixelmapperBasic.cpp.
|
virtual |
Sets pointer to the current frame to be mapped into.
Definition at line 48 of file PixelmapperBasic.cpp.
|
virtual |
Set current parameters.
Definition at line 57 of file PixelmapperBasic.cpp.
|
virtual |
Sets the vectors for lookup.
Definition at line 52 of file PixelmapperBasic.cpp.
|
virtual |
Different flavors of mapping a chunk.
Reimplemented in scope::PixelmapperFrameSaw, scope::PixelmapperFrameBiDi, and scope::PixelmapperFrameResonanceHW.
Definition at line 61 of file PixelmapperBasic.cpp.
|
protected |
Type/scan mode of this pixelmapper.
Definition at line 36 of file PixelmapperBasic.h.
|
protected |
pointer to the current frame to be mapped into
Definition at line 39 of file PixelmapperBasic.h.
|
protected |
current scanner vector parameter set (needs to be pointer for dynamic_cast in derived classes and because the parameters object is localized in ScopeController)
Definition at line 42 of file PixelmapperBasic.h.
|
protected |
for position lookup
Definition at line 45 of file PixelmapperBasic.h.
|
protected |
last position in lookup where we looked up last time
Definition at line 48 of file PixelmapperBasic.h.