#include <itkRGBToVectorPixelAccessor.h>
Give access to a RGBPixel as if it were a Vector type.
This class is intended to be used as parameter of an ImageAdaptor to make an RGBPixel image appear as being an image of Vector pixel type.
Definition at line 41 of file itkRGBToVectorPixelAccessor.h.
Public Types | |
using | ExternalType = Vector<T, 3> |
using | InternalType = RGBPixel<T> |
using | Self = RGBToVectorPixelAccessor |
Public Member Functions | |
ExternalType | Get (const InternalType &input) const |
void | Set (InternalType &output, const ExternalType &input) const |
using itk::Accessor::RGBToVectorPixelAccessor< T >::ExternalType = Vector<T, 3> |
External type alias. It defines the external aspect that this class will exhibit
Definition at line 49 of file itkRGBToVectorPixelAccessor.h.
using itk::Accessor::RGBToVectorPixelAccessor< T >::InternalType = RGBPixel<T> |
Internal type alias. It defines the internal real representation of data
Definition at line 53 of file itkRGBToVectorPixelAccessor.h.
using itk::Accessor::RGBToVectorPixelAccessor< T >::Self = RGBToVectorPixelAccessor |
Standard class type aliases.
Definition at line 45 of file itkRGBToVectorPixelAccessor.h.
|
inlinenodiscard |
Read access to the RGBToVector component
Definition at line 66 of file itkRGBToVectorPixelAccessor.h.
References itk::FixedArray< TValue, VLength >::GetDataPointer().
|
inline |
Write access to the RGBToVector component
Definition at line 57 of file itkRGBToVectorPixelAccessor.h.