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

#include <itkDefaultConvertPixelTraits.h>

Detailed Description

template<typename VComponent>
class itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >

Definition at line 213 of file itkDefaultConvertPixelTraits.h.

Public Types

using ComponentType
 
using ComponentType = VComponent
 
using TargetType = VariableLengthVector<VComponent>
 

Static Public Member Functions

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

Member Typedef Documentation

◆ ComponentType [1/2]

using itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::ComponentType

Determine the pixel data type.

Definition at line 45 of file itkDefaultConvertPixelTraits.h.

◆ ComponentType [2/2]

template<typename VComponent>
using itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::ComponentType = VComponent

Definition at line 217 of file itkDefaultConvertPixelTraits.h.

◆ TargetType

template<typename VComponent>
using itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::TargetType = VariableLengthVector<VComponent>

Definition at line 216 of file itkDefaultConvertPixelTraits.h.

Member Function Documentation

◆ GetNthComponent() [1/2]

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

Return the nth component of the pixel.

Definition at line 62 of file itkDefaultConvertPixelTraits.h.

◆ GetNthComponent() [2/2]

template<typename VComponent>
static ComponentType itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::GetNthComponent ( int i,
const TargetType & pixel )
inlinestatic

Definition at line 234 of file itkDefaultConvertPixelTraits.h.

◆ GetNumberOfComponents() [1/4]

static unsigned int itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::GetNumberOfComponents ( )
inlinestatic

Return the number of components per pixel.

Definition at line 49 of file itkDefaultConvertPixelTraits.h.

◆ GetNumberOfComponents() [2/4]

template<typename VComponent>
static unsigned int itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::GetNumberOfComponents ( )
inlinestatic

Definition at line 219 of file itkDefaultConvertPixelTraits.h.

◆ GetNumberOfComponents() [3/4]

template<typename VComponent>
static unsigned int itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::GetNumberOfComponents ( const TargetType pixel)
inlinestatic

Definition at line 224 of file itkDefaultConvertPixelTraits.h.

◆ GetNumberOfComponents() [4/4]

static unsigned int itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::GetNumberOfComponents ( const VariableLengthVector< VComponent > pixel)
inlinestatic

Definition at line 55 of file itkDefaultConvertPixelTraits.h.

◆ GetScalarValue() [1/2]

template<typename VComponent>
static ComponentType itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::GetScalarValue ( const TargetType & pixel)
inlinestatic

Definition at line 239 of file itkDefaultConvertPixelTraits.h.

◆ GetScalarValue() [2/2]

static ComponentType itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::GetScalarValue ( const VariableLengthVector< VComponent > & pixel)
inlinestatic

Return a single scalar value from this pixel.

Definition at line 76 of file itkDefaultConvertPixelTraits.h.

◆ SetNthComponent() [1/2]

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

Set the nth component of the pixel.

Definition at line 69 of file itkDefaultConvertPixelTraits.h.

◆ SetNthComponent() [2/2]

template<typename VComponent>
static void itk::DefaultConvertPixelTraits< VariableLengthVector< VComponent > >::SetNthComponent ( int i,
TargetType & pixel,
const ComponentType & v )
inlinestatic

Definition at line 229 of file itkDefaultConvertPixelTraits.h.


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