18 #ifndef itkScalarToRGBPixelFunctor_h
19 #define itkScalarToRGBPixelFunctor_h
43 template<
typename TScalar >
58 m_UseMSBForHashing =
false;
63 m_UseMSBForHashing =
true;
68 m_UseMSBForHashing = value;
73 return m_UseMSBForHashing;
78 m_UseMSBForHashing =
true;
83 m_UseMSBForHashing =
false;
89 unsigned int m_ColorIndex[3];
94 #ifndef ITK_MANUAL_INSTANTIATION
95 #include "itkScalarToRGBPixelFunctor.hxx"
~ScalarToRGBPixelFunctor()
unsigned char RGBComponentType
void UseMSBForHashingOn()
void UseMSBForHashingOff()
void SetUseMSBForHashing(bool value)
Represent Red, Green and Blue components for color images.
bool GetUseMSBForHashing() const
A Function object which maps a scalar value into an RGB pixel value.
RGBPixel< RGBComponentType > RGBPixelType