#include <itkGreenPixelAccessor.h>
Public Types | |
typedef T | ExternalType |
typedef RGBPixel< T > | InternalType |
typedef GreenPixelAccessor | 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 |
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 Green component.
Definition at line 42 of file itkGreenPixelAccessor.h.
typedef T itk::GreenPixelAccessor< T >::ExternalType |
External typedef. It defines the external aspect that this class will exhibit
Definition at line 50 of file itkGreenPixelAccessor.h.
typedef RGBPixel<T> itk::GreenPixelAccessor< T >::InternalType |
Internal typedef. It defines the internal real representation of data
Definition at line 54 of file itkGreenPixelAccessor.h.
typedef GreenPixelAccessor itk::GreenPixelAccessor< T >::Self |
Standard class typedefs.
Definition at line 46 of file itkGreenPixelAccessor.h.
const ExternalType& itk::GreenPixelAccessor< T >::Get | ( | const InternalType & | input | ) | const [inline] |
Read access to the Green component
Definition at line 61 of file itkGreenPixelAccessor.h.
References itk::RGBPixel< TComponent >::GetGreen().
bool itk::GreenPixelAccessor< T >::operator!= | ( | const Self & | other | ) | const [inline] |
Definition at line 64 of file itkGreenPixelAccessor.h.
bool itk::GreenPixelAccessor< T >::operator== | ( | const Self & | other | ) | const [inline] |
Definition at line 69 of file itkGreenPixelAccessor.h.
void itk::GreenPixelAccessor< T >::Set | ( | InternalType & | output, | |
const ExternalType & | input | |||
) | const [inline] |
Write access to the Green component
Definition at line 57 of file itkGreenPixelAccessor.h.
References itk::RGBPixel< TComponent >::SetGreen().