ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::DefaultConvertPixelTraits< Offset< VDimension > > Class Template Reference

#include <itkDefaultConvertPixelTraits.h>

Detailed Description

template<unsigned int VDimension>
class itk::DefaultConvertPixelTraits< Offset< VDimension > >

Definition at line 139 of file itkDefaultConvertPixelTraits.h.

Public Types

using ComponentType
 
using ComponentType = typename TargetType::OffsetValueType
 
using TargetType = Offset<VDimension>
 

Static Public Member Functions

static ComponentType GetNthComponent (int c, const Offset< VDimension > &pixel)
 
static unsigned int GetNumberOfComponents ()
 
static unsigned int GetNumberOfComponents ()
 
static unsigned int GetNumberOfComponents (const Offset< VDimension > pixel)
 
static ComponentType GetScalarValue (const TargetType &pixel)
 
static void SetNthComponent (int c, Offset< VDimension > &pixel, const ComponentType &v)
 
static void SetNthComponent (int i, TargetType &pixel, const ComponentType &v)
 
static ComponentType GetScalarValue (const Offset< VDimension > &pixel)
 

Member Typedef Documentation

◆ ComponentType [1/2]

using itk::DefaultConvertPixelTraits< Offset< VDimension > >::ComponentType

Determine the pixel data type.

Definition at line 45 of file itkDefaultConvertPixelTraits.h.

◆ ComponentType [2/2]

template<unsigned int VDimension>
using itk::DefaultConvertPixelTraits< Offset< VDimension > >::ComponentType = typename TargetType::OffsetValueType

Definition at line 143 of file itkDefaultConvertPixelTraits.h.

◆ TargetType

template<unsigned int VDimension>
using itk::DefaultConvertPixelTraits< Offset< VDimension > >::TargetType = Offset<VDimension>

Definition at line 142 of file itkDefaultConvertPixelTraits.h.

Member Function Documentation

◆ GetNthComponent()

static ComponentType itk::DefaultConvertPixelTraits< Offset< VDimension > >::GetNthComponent ( int c,
const Offset< VDimension > & pixel )
inlinestatic

Return the nth component of the pixel.

Definition at line 62 of file itkDefaultConvertPixelTraits.h.

◆ GetNumberOfComponents() [1/3]

static unsigned int itk::DefaultConvertPixelTraits< Offset< VDimension > >::GetNumberOfComponents ( )
inlinestatic

Return the number of components per pixel.

Definition at line 49 of file itkDefaultConvertPixelTraits.h.

◆ GetNumberOfComponents() [2/3]

template<unsigned int VDimension>
static unsigned int itk::DefaultConvertPixelTraits< Offset< VDimension > >::GetNumberOfComponents ( )
inlinestatic

Definition at line 145 of file itkDefaultConvertPixelTraits.h.

◆ GetNumberOfComponents() [3/3]

static unsigned int itk::DefaultConvertPixelTraits< Offset< VDimension > >::GetNumberOfComponents ( const Offset< VDimension > pixel)
inlinestatic

Definition at line 55 of file itkDefaultConvertPixelTraits.h.

◆ GetScalarValue() [1/2]

static ComponentType itk::DefaultConvertPixelTraits< Offset< VDimension > >::GetScalarValue ( const Offset< VDimension > & pixel)
inlinestatic

Return a single scalar value from this pixel.

Definition at line 76 of file itkDefaultConvertPixelTraits.h.

◆ GetScalarValue() [2/2]

template<unsigned int VDimension>
static ComponentType itk::DefaultConvertPixelTraits< Offset< VDimension > >::GetScalarValue ( const TargetType & pixel)
inlinestatic

Definition at line 155 of file itkDefaultConvertPixelTraits.h.

◆ SetNthComponent() [1/2]

static void itk::DefaultConvertPixelTraits< Offset< VDimension > >::SetNthComponent ( int c,
Offset< VDimension > & pixel,
const ComponentType & v )
inlinestatic

Set the nth component of the pixel.

Definition at line 69 of file itkDefaultConvertPixelTraits.h.

◆ SetNthComponent() [2/2]

template<unsigned int VDimension>
static void itk::DefaultConvertPixelTraits< Offset< VDimension > >::SetNthComponent ( int i,
TargetType & pixel,
const ComponentType & v )
inlinestatic

Definition at line 150 of file itkDefaultConvertPixelTraits.h.


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