|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkCustomColormapFunction_h
19 #define itkCustomColormapFunction_h
48 template <
typename TScalar,
typename TRGBPixel>
64 using RealType =
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)
ChannelType m_BlueChannel
Function object which maps a scalar value into an RGB colormap value.
Light weight base class for most itk classes.
ChannelType GetRedChannel() const
ChannelType m_GreenChannel
void SetRedChannel(ChannelType red)
void SetBlueChannel(ChannelType blue)
typename Superclass::RealType RealType
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.