18 #ifndef __itkNthElementPixelAccessor_h
19 #define __itkNthElementPixelAccessor_h
48 template<
class T,
class TContainer >
64 { output[m_ElementNumber] = input; }
68 {
return static_cast< ExternalType >( input[m_ElementNumber] ); }
71 unsigned int GetElementNumber(
void)
const
72 {
return m_ElementNumber; }
75 void SetElementNumber(
unsigned int nth)
76 { m_ElementNumber = nth; }