|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkCustomColormapFunction_h
19 #define itkCustomColormapFunction_h
48 template <
typename TScalar,
typename TRGBPixel>
62 using typename Superclass::RGBPixelType;
63 using typename Superclass::ScalarType;
64 using typename Superclass::RealType;
69 operator()(
const TScalar &)
const override;
86 m_GreenChannel = green;
92 return m_GreenChannel;
104 return m_BlueChannel;
119 #ifndef ITK_MANUAL_INSTANTIATION
120 # include "itkCustomColormapFunction.hxx"
ChannelType GetGreenChannel() const
void SetGreenChannel(ChannelType green)
Function object which maps a scalar value into an RGB colormap value.
Light weight base class for most itk classes.
ChannelType GetRedChannel() const
void SetRedChannel(ChannelType red)
void SetBlueChannel(ChannelType blue)
std::vector< RealType > ChannelType
ChannelType GetBlueChannel() const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Function object which maps a scalar value into an RGB colormap value.