10 typedef std::shared_ptr<const ScopeMultiImage> ScopeMultiImageCPtr;
36 ScopeOverlay(
const uint32_t& _lines = 0,
const uint32_t& _linewidth = 0);
41 virtual void Create(ScopeMultiImageCPtr
const _multi,
const std::vector<ColorProps>& _color_props);
44 void ToD2Bitmap(ID2D1Bitmap*
const _d2bitmap)
const;
47 void Resize(
const uint32_t& _lines,
const uint32_t& _linewidth);
50 uint32_t
Lines()
const;
void ToD2Bitmap(ID2D1Bitmap *const _d2bitmap) const
uint32_t Linewidth() const
virtual void Create(ScopeMultiImageCPtr const _multi, const std::vector< ColorProps > &_color_props)
Creates an overlay from a multi image with the specified color properties per channel.
std::vector< BGRA8Pixel > overlay
vector with pixeldata
uint32_t lines
number of lines, y resolution
Overlay of several gray-scale/uint16_t channels into one BGRA8 image.
uint32_t linewidth
width of a line, x resolution
The BGRA8Pixel struct and various related helpers for color conversions.
ScopeOverlay(const uint32_t &_lines=0, const uint32_t &_linewidth=0)
overlay will be initialized with 0s
void Resize(const uint32_t &_lines, const uint32_t &_linewidth)
std::mutex mutex
mutex for protection