ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Member Functions
itk::Accessor::ComplexToModulusPixelAccessor< TInternalType, TExternalType > Class Template Reference

#include <itkComplexToModulusImageAdaptor.h>

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

List of all members.

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)

Detailed Description

template<class TInternalType, class TExternalType>
class itk::Accessor::ComplexToModulusPixelAccessor< TInternalType, TExternalType >

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

ComplexToModulusPixelAccessor 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 41 of file itkComplexToModulusImageAdaptor.h.


Member Typedef Documentation

template<class TInternalType, class TExternalType>
typedef TExternalType itk::Accessor::ComplexToModulusPixelAccessor< TInternalType, TExternalType >::ExternalType

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

Definition at line 46 of file itkComplexToModulusImageAdaptor.h.

template<class TInternalType, class TExternalType>
typedef TInternalType itk::Accessor::ComplexToModulusPixelAccessor< TInternalType, TExternalType >::InternalType

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

Definition at line 50 of file itkComplexToModulusImageAdaptor.h.


Member Function Documentation

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

Definition at line 55 of file itkComplexToModulusImageAdaptor.h.

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

Definition at line 52 of file itkComplexToModulusImageAdaptor.h.


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