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

Copy a single subchannel from a PixelBuffer. More...

#include <ome/files/VariantPixelBuffer.h>

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

Public Member Functions

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

Public Attributes

VariantPixelBufferdest
 Destination pixel buffer.
 
dimension_size_type subC
 Subchannel to copy.
 

Detailed Description

Copy a single subchannel from a PixelBuffer.

Constructor & Destructor Documentation

◆ CopySubchannelVisitor()

ome::files::detail::CopySubchannelVisitor::CopySubchannelVisitor ( 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::CopySubchannelVisitor::operator() ( const T &  v)
inline

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