ITK  5.2.0
Insight Toolkit
Public Types | Static Public Member Functions | List of all members
itk::Accessor::ComplexToRealPixelAccessor< TInternalType, TExternalType > Class Template Reference

#include <itkComplexToRealImageAdaptor.h>

+ Inheritance diagram for itk::Accessor::ComplexToRealPixelAccessor< TInternalType, TExternalType >:

Public Types

using ExternalType = TExternalType
 
using InternalType = TInternalType
 

Static Public Member Functions

static TExternalType Get (const TInternalType &input)
 
static void Set (TInternalType &output, const TExternalType &input)
 

Detailed Description

template<typename TInternalType, typename TExternalType>
class itk::Accessor::ComplexToRealPixelAccessor< TInternalType, TExternalType >

Give access to the Real part of a std::complex<> value.

ComplexToRealPixelAccessor is templated over an internal type and an external type representation. The internal type is an std::complex<T> and the external part is a type T. This class casts the input, applies the function to it, and casts the result according to the types defined as template parameters.

Definition at line 42 of file itkComplexToRealImageAdaptor.h.

Member Typedef Documentation

◆ ExternalType

template<typename TInternalType, typename TExternalType>
using itk::Accessor::ComplexToRealPixelAccessor< TInternalType, TExternalType >::ExternalType = TExternalType

External type alias. It defines the external aspect that this class will exhibit.

Definition at line 48 of file itkComplexToRealImageAdaptor.h.

◆ InternalType

template<typename TInternalType, typename TExternalType>
using itk::Accessor::ComplexToRealPixelAccessor< TInternalType, TExternalType >::InternalType = TInternalType

Internal type alias. It defines the internal real representation of data.

Definition at line 52 of file itkComplexToRealImageAdaptor.h.

Member Function Documentation

◆ Get()

template<typename TInternalType, typename TExternalType>
static TExternalType itk::Accessor::ComplexToRealPixelAccessor< TInternalType, TExternalType >::Get ( const TInternalType &  input)
inlinestatic

Definition at line 61 of file itkComplexToRealImageAdaptor.h.

◆ Set()

template<typename TInternalType, typename TExternalType>
static void itk::Accessor::ComplexToRealPixelAccessor< TInternalType, TExternalType >::Set ( TInternalType &  output,
const TExternalType &  input 
)
inlinestatic

Definition at line 55 of file itkComplexToRealImageAdaptor.h.


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