ome-files  0.5.0
Public Member Functions | Public Attributes | List of all members
ome::files::detail::MergeSubchannelVisitor Struct Reference

Merge a single subchannel into a PixelBuffer. More...

#include <ome/files/VariantPixelBuffer.h>

+ Inheritance diagram for ome::files::detail::MergeSubchannelVisitor:
+ Collaboration diagram for ome::files::detail::MergeSubchannelVisitor:

Public Member Functions

 MergeSubchannelVisitor (VariantPixelBuffer &dest, dimension_size_type subC)
 Constructor. More...
 
template<typename T >
void operator() (const T &v)
 Merge subchannel. More...
 

Public Attributes

VariantPixelBufferdest
 Destination pixel buffer.
 
dimension_size_type subC
 Subchannel to copy.
 

Detailed Description

Merge a single subchannel into a PixelBuffer.

Constructor & Destructor Documentation

◆ MergeSubchannelVisitor()

ome::files::detail::MergeSubchannelVisitor::MergeSubchannelVisitor ( VariantPixelBuffer dest,
dimension_size_type  subC 
)
inline

Constructor.

Parameters
destthe destination pixel buffer.
subCthe subchannel to copy.

Member Function Documentation

◆ operator()()

template<typename T >
void ome::files::detail::MergeSubchannelVisitor::operator() ( const T &  v)
inline

Merge subchannel.

Parameters
vthe PixelBuffer to use.

References ome::files::VariantPixelBuffer::vbuffer().


The documentation for this struct was generated from the following file: