Scope
scope::ScopeMultiImageResonanceSW Class Reference

#include <ScopeMultiImageResonanceSW.h>

Inherits scope::ScopeMultiImage.

Public Member Functions

 ScopeMultiImageResonanceSW (const uint32_t &_area=0, const size_t &_nochannels=1, const uint32_t &_lines=256, const uint32_t &_linewidth=256)
 
void InitializeCurrentLineData (const uint32_t &_size)
 
Several accessor methods
bool LastForthline (const size_t &_chan) const
 
uint32_t LastImagePos (const size_t &_chan) const
 
uint32_t LastL (const size_t &_chan) const
 
uint32_t LastX (const size_t &_chan) const
 
std::vector< std::vector< uint16_t > > * CurrentLineData () const
 
Several mutator methods
void SetLastImagepos (const size_t &_chan, const uint32_t &_value)
 
void SetLastForthline (const size_t &_chan, const bool &_value)
 
void SetLastL (const size_t &_chan, const uint32_t &_value)
 
void SetLastX (const size_t &_chan, const uint32_t &_value)
 
- Public Member Functions inherited from scope::ScopeMultiImage
 ScopeMultiImage (const uint32_t &_area=0, const size_t &_nochannels=1, const uint32_t &_lines=256, const uint32_t &_linewidth=256)
 
void FillRandom ()
 
uint32_t Area () const
 
size_t Channels () const
 
uint32_t Lines () const
 
uint32_t Linewidth () const
 
uint32_t Pixels () const
 
uint16_t GetPixel (const size_t &_ch, const uint32_t &_x, const uint32_t &_y) const
 
std::vector< uint16_t > GetMultiPixel (const uint32_t &_x, const uint32_t &_y) const
 
ScopeImageU16Ptr GetChannel (const size_t &chan) const
 
uint32_t GetAvgCount () const
 
uint32_t GetAvgMax () const
 
uint32_t GetImageNumber () const
 
bool IsCompleteFrame () const
 
bool IsCompleteAvg () const
 
double PercentComplete () const
 
void SetChannel (const size_t &_chan, ScopeImageU16Ptr const _newimg)
 
void SetAvgCount (const uint32_t &_avg_count)
 
void SetAvgMax (const uint32_t &_avg_max)
 
void SetImageNumber (const uint32_t &_imagenumber)
 
void SetCompleteFrame (const bool &_complete)
 
void SetCompleteAvg (const bool &_complete)
 
void SetPercentComplete (const double &_percent)
 

Protected Attributes

std::vector< uint32_t > lastimagepos
 
std::vector< bool > lastforthline
 
std::vector< uint32_t > lastl
 
std::vector< uint32_t > lastx
 
std::vector< std::vector< uint16_t > > currentlinedata
 
- Protected Attributes inherited from scope::ScopeMultiImage
const uint32_t area
 
const size_t nochannels
 
const uint32_t lines
 
const uint32_t linewidth
 
std::vector< ScopeImageU16Ptr > channels
 
uint32_t avg_count
 
uint32_t avg_max
 
bool complete_avg
 
uint32_t imagenumber
 
bool complete_frame
 
double percent_complete
 

Detailed Description

A multichannel image.

Definition at line 14 of file ScopeMultiImageResonanceSW.h.

Constructor & Destructor Documentation

scope::ScopeMultiImageResonanceSW::ScopeMultiImageResonanceSW ( const uint32_t &  _area = 0,
const size_t &  _nochannels = 1,
const uint32_t &  _lines = 256,
const uint32_t &  _linewidth = 256 
)

Initializes and generate blank images for each channel.

Definition at line 7 of file ScopeMultiImageResonanceSW.cpp.

Member Function Documentation

void scope::ScopeMultiImageResonanceSW::SetLastImagepos ( const size_t &  _chan,
const uint32_t &  _value 
)
inline

Sets last the position in the current frame that was last mapped (for software mapping resonance scanner mode)

Definition at line 53 of file ScopeMultiImageResonanceSW.h.

void scope::ScopeMultiImageResonanceSW::SetLastForthline ( const size_t &  _chan,
const bool &  _value 
)
inline

Sets boolean indicating the direction of the last line (for software mapping resonance scanner mode)

Definition at line 56 of file ScopeMultiImageResonanceSW.h.

void scope::ScopeMultiImageResonanceSW::SetLastL ( const size_t &  _chan,
const uint32_t &  _value 
)
inline

Sets last line (for software mapping resonance scanner mode)

Definition at line 59 of file ScopeMultiImageResonanceSW.h.

void scope::ScopeMultiImageResonanceSW::SetLastX ( const size_t &  _chan,
const uint32_t &  _value 
)
inline

Sets last x (for software mapping resonance scanner mode)

Definition at line 62 of file ScopeMultiImageResonanceSW.h.

void scope::ScopeMultiImageResonanceSW::InitializeCurrentLineData ( const uint32_t &  _size)
inline

Initializes currentlinedata (for software mapping resonance scanner mode)

Definition at line 66 of file ScopeMultiImageResonanceSW.h.

Member Data Documentation

std::vector<uint32_t> scope::ScopeMultiImageResonanceSW::lastimagepos
protected

position in the image that was filled with a value last time (for software mapping resonance scanner mode)

Definition at line 19 of file ScopeMultiImageResonanceSW.h.

std::vector<bool> scope::ScopeMultiImageResonanceSW::lastforthline
protected

direction of the line that was filled last time (for software mapping resonance scanner mode)

Definition at line 22 of file ScopeMultiImageResonanceSW.h.

std::vector<uint32_t> scope::ScopeMultiImageResonanceSW::lastl
protected

line of the image that was being processed last time (for software mapping resonance scanner mode)

Definition at line 25 of file ScopeMultiImageResonanceSW.h.

std::vector<uint32_t> scope::ScopeMultiImageResonanceSW::lastx
protected

x position in the image that was being processed last time (for software mapping resonance scanner mode)

Definition at line 28 of file ScopeMultiImageResonanceSW.h.

std::vector<std::vector<uint16_t> > scope::ScopeMultiImageResonanceSW::currentlinedata
protected

intermediate vector for storing the backward line (for software mapping resonance scanner mode)

Definition at line 31 of file ScopeMultiImageResonanceSW.h.


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