|
ITK
5.1.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkCustomColormapFunction_h
19 #define itkCustomColormapFunction_h
49 template <
typename TScalar,
typename TRGBPixel>
65 using RealType =
typename Superclass::RealType;
70 operator()(
const TScalar &)
const override;
87 m_GreenChannel = green;
93 return m_GreenChannel;
105 return m_BlueChannel;
120 #ifndef ITK_MANUAL_INSTANTIATION
121 # 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.