ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkVectorToRGBPixelAccessor.h>
Give access to a Vector pixel type as if it were a RGBPixel type.
This class is intended to be used as parameter of an ImageAdaptor to make an Vector image appear as being an image of RGB pixel type.
Definition at line 43 of file itkVectorToRGBPixelAccessor.h.
Public Types | |
typedef RGBPixel< T > | ExternalType |
typedef Vector< T, 3 > | InternalType |
typedef VectorToRGBPixelAccessor | Self |
Public Member Functions | |
ExternalType | Get (const InternalType &input) const |
void | Set (InternalType &output, const ExternalType &input) const |
typedef RGBPixel< T > itk::Accessor::VectorToRGBPixelAccessor< T >::ExternalType |
External typedef. It defines the external aspect that this class will exhibit
Definition at line 51 of file itkVectorToRGBPixelAccessor.h.
typedef Vector< T, 3 > itk::Accessor::VectorToRGBPixelAccessor< T >::InternalType |
Internal typedef. It defines the internal real representation of data
Definition at line 55 of file itkVectorToRGBPixelAccessor.h.
typedef VectorToRGBPixelAccessor itk::Accessor::VectorToRGBPixelAccessor< T >::Self |
Standard class typedefs.
Definition at line 47 of file itkVectorToRGBPixelAccessor.h.
|
inline |
Read access to the VectorToRGB component
Definition at line 66 of file itkVectorToRGBPixelAccessor.h.
|
inline |
Write access to the VectorToRGB component
Definition at line 58 of file itkVectorToRGBPixelAccessor.h.