Scope
scope::ScannerVectorFrameResonanceBiDi Class Reference

#include <ScannerVectorFrameResonanceBiDi.h>

Inherits scope::ScannerVectorFrameBasic.

Public Member Functions

 ScannerVectorFrameResonanceBiDi (const ScannerVectorFillType &_filltype)
 
void SetScannderdelay (const uint32_t &_scannerdelaysamples) override
 
- Public Member Functions inherited from scope::ScannerVectorFrameBasic
 ScannerVectorFrameBasic (const ScannerVectorType &_type, const ScannerVectorFillType &_filltype)
 
virtual ~ScannerVectorFrameBasic ()
 
virtual void SetParameters (parameters::Daq *const _daqparameters, parameters::ScannerVectorFrameBasic *const _svparameters, parameters::SCOPE_FPUZCONTROL_T *const _zparameters)
 
virtual void SetPockels (const double &_pockelsval)
 
virtual void SetZoom (const double &_zoom)
 
virtual std::shared_ptr< const std::vector< int16_t > > GetInterleavedVector () const
 
virtual std::shared_ptr< const std::vector< size_t > > GetLookupVector () const
 
virtual parameters::ScannerVectorFrameBasicGetSVParameters () const
 
ScannerVectorFillType FillType () const
 

Protected Member Functions

void UpdateVector () override
 
void FillY ()
 
void FillP ()
 

Protected Attributes

std::shared_ptr< std::vector< int16_t > > vecresonanceptr
 
- Protected Attributes inherited from scope::ScannerVectorFrameBasic
const ScannerVectorTypeHelper::Mode type
 
const ScannerVectorFillTypeHelper::Mode filltype
 
parameters::Daqdaqparameters
 
parameters::ScannerVectorFrameBasicsvparameters
 
parameters::SCOPE_FPUZCONTROL_T * zparameters
 
std::shared_ptr< std::vector< int16_t > > vecptr
 
std::shared_ptr< std::vector< std::size_t > > lookup
 
int32_t lookup_rotation
 

Additional Inherited Members

- Static Public Member Functions inherited from scope::ScannerVectorFrameBasic
static std::unique_ptr< ScannerVectorFrameBasicFactory (const ScannerVectorType &_type, const ScannerVectorFillType &_filltype)
 
- Protected Types inherited from scope::ScannerVectorFrameBasic
typedef std::vector< int16_t >::iterator iterator
 

Detailed Description

Calculates scanner, fast z, and pockels control voltages for a bidirectional frame scan with a resonance scanner.

Definition at line 8 of file ScannerVectorFrameResonanceBiDi.h.

Constructor & Destructor Documentation

scope::ScannerVectorFrameResonanceBiDi::ScannerVectorFrameResonanceBiDi ( const ScannerVectorFillType _filltype)
  • Parameters
    [in]_filltypetype of vector fill, see GetInterleavedVector for details

Definition at line 6 of file ScannerVectorFrameResonanceBiDi.cpp.

Member Function Documentation

void scope::ScannerVectorFrameResonanceBiDi::UpdateVector ( )
overrideprotectedvirtual

Calculate the scanner vector based on the current parameters.

Reimplemented from scope::ScannerVectorFrameBasic.

Definition at line 10 of file ScannerVectorFrameResonanceBiDi.cpp.

void scope::ScannerVectorFrameResonanceBiDi::FillY ( )
protected

Fill the samples for the y scanner axis.

Definition at line 20 of file ScannerVectorFrameResonanceBiDi.cpp.

void scope::ScannerVectorFrameResonanceBiDi::FillP ( )
protected

Fill the samples for the Pockels cell (cutoff&retrace blanking for x and y)

Definition at line 61 of file ScannerVectorFrameResonanceBiDi.cpp.

void scope::ScannerVectorFrameResonanceBiDi::SetScannderdelay ( const uint32_t &  _scannerdelaysamples)
inlineoverridevirtual

Dummy override, no scannerdelay for resonance scanners.

Parameters
[in]_scannerdelaysamplesthe scannerdelay in samples

Reimplemented from scope::ScannerVectorFrameBasic.

Definition at line 31 of file ScannerVectorFrameResonanceBiDi.h.

Member Data Documentation

std::shared_ptr<std::vector<int16_t> > scope::ScannerVectorFrameResonanceBiDi::vecresonanceptr
protected

the actual scanner vector (if fullframevector) with x, y, fast z, Pockels either interleaved (for fullframevector) or first x,p interleaved and then y,z interleaved (for not fullframevector).

Definition at line 14 of file ScannerVectorFrameResonanceBiDi.h.


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