Give access to the Blue component of a RGBPixel type. More...
#include <itkBluePixelAccessor.h>
Public Types | |
typedef T | ExternalType |
typedef RGBPixel< T > | InternalType |
typedef BluePixelAccessor | Self |
Public Member Functions | |
const ExternalType & | Get (const InternalType &input) const |
bool | operator!= (const Self &other) const |
bool | operator== (const Self &other) const |
void | Set (InternalType &output, const ExternalType &input) const |
Give access to the Blue component of a RGBPixel type.
This class is intended to be used as parameter of an ImageAdaptor to make an RGBPixel image appear as being of scalar type T, showing only the Blue component.
Definition at line 41 of file itkBluePixelAccessor.h.
typedef T itk::BluePixelAccessor< T >::ExternalType |
External typedef. It defines the external aspect that this class will exhibit
Definition at line 49 of file itkBluePixelAccessor.h.
typedef RGBPixel<T> itk::BluePixelAccessor< T >::InternalType |
Internal typedef. It defines the internal real representation of data
Definition at line 53 of file itkBluePixelAccessor.h.
typedef BluePixelAccessor itk::BluePixelAccessor< T >::Self |
Standard class typedefs.
Definition at line 45 of file itkBluePixelAccessor.h.
const ExternalType& itk::BluePixelAccessor< T >::Get | ( | const InternalType & | input | ) | const [inline] |
Read access to the Blue component
Definition at line 60 of file itkBluePixelAccessor.h.
References itk::RGBPixel< TComponent >::GetBlue().
bool itk::BluePixelAccessor< T >::operator!= | ( | const Self & | other | ) | const [inline] |
Definition at line 63 of file itkBluePixelAccessor.h.
bool itk::BluePixelAccessor< T >::operator== | ( | const Self & | other | ) | const [inline] |
Definition at line 67 of file itkBluePixelAccessor.h.
void itk::BluePixelAccessor< T >::Set | ( | InternalType & | output, | |
const ExternalType & | input | |||
) | const [inline] |
Write access to the Blue component
Definition at line 56 of file itkBluePixelAccessor.h.
References itk::RGBPixel< TComponent >::SetBlue().