ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::Accessor::LabelSelectionPixelAccessor< TInternalType, TExternalType > Class Template Reference

#include <itkLabelSelectionPixelAccessor.h>

Detailed Description

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

Return a binary mask of the selected label.

LabelSelectionPixelAccessor is templated over an internal type and an external type representation. This class cast the input applies the function to it and cast the result according to the types defined as template parameters

Definition at line 40 of file itkLabelSelectionPixelAccessor.h.

Public Types

using ExternalType = TExternalType
 
using InternalType = TInternalType
 

Public Member Functions

TExternalType Get (const TInternalType &input) const
 
void SetAcceptedValue (TInternalType value)
 

Protected Attributes

TInternalType m_AcceptedValue
 

Member Typedef Documentation

◆ ExternalType

template<class TInternalType, class TExternalType>
using itk::Accessor::LabelSelectionPixelAccessor< TInternalType, TExternalType >::ExternalType = TExternalType

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

Definition at line 45 of file itkLabelSelectionPixelAccessor.h.

◆ InternalType

template<class TInternalType, class TExternalType>
using itk::Accessor::LabelSelectionPixelAccessor< TInternalType, TExternalType >::InternalType = TInternalType

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

Definition at line 49 of file itkLabelSelectionPixelAccessor.h.

Member Function Documentation

◆ Get()

template<class TInternalType, class TExternalType>
TExternalType itk::Accessor::LabelSelectionPixelAccessor< TInternalType, TExternalType >::Get ( const TInternalType & input) const
inline

Definition at line 58 of file itkLabelSelectionPixelAccessor.h.

References m_AcceptedValue.

◆ SetAcceptedValue()

template<class TInternalType, class TExternalType>
void itk::Accessor::LabelSelectionPixelAccessor< TInternalType, TExternalType >::SetAcceptedValue ( TInternalType value)
inline

Definition at line 52 of file itkLabelSelectionPixelAccessor.h.

References m_AcceptedValue.

Member Data Documentation

◆ m_AcceptedValue

template<class TInternalType, class TExternalType>
TInternalType itk::Accessor::LabelSelectionPixelAccessor< TInternalType, TExternalType >::m_AcceptedValue
protected

Definition at line 64 of file itkLabelSelectionPixelAccessor.h.

Referenced by Get(), and SetAcceptedValue().


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