ITK  4.6.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Member Functions | List of all members
itk::Accessor::ComplexToImaginaryPixelAccessor< TInternalType, TExternalType > Class Template Reference

#include <itkComplexToImaginaryImageAdaptor.h>

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

Detailed Description

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

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

ComplexToImaginaryPixelAccessor 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.

Template Parameters
TInternalTypeis the type used to represent the pixel internally.
TExternalTypeis the type used to represent the pixel externally.

Definition at line 44 of file itkComplexToImaginaryImageAdaptor.h.

Public Types

typedef TExternalType ExternalType
 
typedef TInternalType InternalType
 

Static Public Member Functions

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

Member Typedef Documentation

template<typename TInternalType, typename TExternalType>
typedef TExternalType itk::Accessor::ComplexToImaginaryPixelAccessor< TInternalType, TExternalType >::ExternalType

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

Definition at line 49 of file itkComplexToImaginaryImageAdaptor.h.

template<typename TInternalType, typename TExternalType>
typedef TInternalType itk::Accessor::ComplexToImaginaryPixelAccessor< TInternalType, TExternalType >::InternalType

Internal typedef. It defines the internal imaginary representation of data.

Definition at line 53 of file itkComplexToImaginaryImageAdaptor.h.

Member Function Documentation

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

Definition at line 58 of file itkComplexToImaginaryImageAdaptor.h.

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

Definition at line 55 of file itkComplexToImaginaryImageAdaptor.h.


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