18 #ifndef itkCustomColormapFunction_h
19 #define itkCustomColormapFunction_h
44 template<
typename TScalar,
typename TRGBPixel >
64 virtual RGBPixelType operator()(
const TScalar &) const ITK_OVERRIDE;
78 m_GreenChannel = green;
83 return m_GreenChannel;
110 #ifndef ITK_MANUAL_INSTANTIATION
111 #include "itkCustomColormapFunction.hxx"
Light weight base class for most itk classes.
Function object which maps a scalar value into an RGB colormap value.
CustomColormapFunction Self
ChannelType m_BlueChannel
SmartPointer< Self > Pointer
void SetGreenChannel(ChannelType green)
Function object which maps a scalar value into an RGB colormap value.
ChannelType GetGreenChannel() const
NumericTraits< ScalarType >::RealType RealType
ChannelType GetBlueChannel() const
Superclass::ScalarType ScalarType
ColormapFunction< TScalar, TRGBPixel > Superclass
Superclass::RealType RealType
Superclass::RGBPixelType RGBPixelType
void SetBlueChannel(ChannelType blue)
ChannelType m_GreenChannel
~CustomColormapFunction() override
SmartPointer< const Self > ConstPointer
std::vector< RealType > ChannelType
ChannelType GetRedChannel() const