#include <itkRGBAPixel.h>
Inheritance diagram for itk::RGBAPixel< TComponent >:
This class is templated over the representation used for each component.
The following syntax for assigning an index is allowed/suggested:
RGBAPixel<float> pixel; pixel = 1.0f, 0.0f, .5f, .8; RGBAPixel<char> pixelArray[2]; pixelArray[0] = 255, 255, 255, 230; pixelArray[1] = 255, 255, 244, 255;
Since RGBAPixel is a subclass of Array, you can access its components as: pixel[0], pixel[1], pixel[2], pixel[3]
Definition at line 52 of file itkRGBAPixel.h.
|
Convenience typedefs. Definition at line 60 of file itkRGBAPixel.h. Referenced by itk::RGBAPixel< TComponent >::RGBAPixel(). |
|
Define the component type. Definition at line 63 of file itkRGBAPixel.h. Referenced by itk::RGBAPixel< TComponent >::GetAlpha(), itk::RGBAPixel< TComponent >::GetBlue(), itk::RGBAPixel< TComponent >::GetGreen(), itk::RGBAPixel< TComponent >::GetNumberOfComponents(), and itk::RGBAPixel< TComponent >::GetRed(). |
|
Standard class typedefs. Definition at line 56 of file itkRGBAPixel.h. |
|
Definition at line 57 of file itkRGBAPixel.h. |
|
Default constructor has nothing to do. Definition at line 66 of file itkRGBAPixel.h. References itk::FixedArray< TComponent, 4 >::Fill(). |
|
Default constructor has nothing to do. Definition at line 67 of file itkRGBAPixel.h. References itk::FixedArray< TComponent, 4 >::Fill(). |
|
Pass-through constructor for the Array base class. Definition at line 72 of file itkRGBAPixel.h. References itk::RGBAPixel< TComponent >::BaseArray. |
|
Pass-through constructor for the Array base class. Definition at line 73 of file itkRGBAPixel.h. |
|
Get the Alpha component. Definition at line 127 of file itkRGBAPixel.h. References itk::RGBAPixel< TComponent >::ComponentType. |
|
Get the Blue component. Definition at line 124 of file itkRGBAPixel.h. References itk::RGBAPixel< TComponent >::ComponentType, and itk::FixedArray< TComponent, 4 >::operator[](). |
|
Get the Green component. Definition at line 121 of file itkRGBAPixel.h. References itk::RGBAPixel< TComponent >::ComponentType, and itk::FixedArray< TComponent, 4 >::operator[](). |
|
Get Luminance out of RGB |
|
Return the value for the Nth component. Definition at line 85 of file itkRGBAPixel.h. |
|
Return the number of componentsxquery-rep. Definition at line 82 of file itkRGBAPixel.h. References itk::RGBAPixel< TComponent >::ComponentType, and itk::FixedArray< TComponent, 4 >::operator[](). |
|
Get the Red component. Definition at line 118 of file itkRGBAPixel.h. References itk::RGBAPixel< TComponent >::ComponentType, and itk::FixedArray< TComponent, 4 >::operator[](). |
|
Return the value for the Nth component. Definition at line 89 of file itkRGBAPixel.h. |
|
Pass-through assignment operator for the Array base class. |
|
Pass-through assignment operator for the Array base class. |
|
Set the four components. Definition at line 114 of file itkRGBAPixel.h. |
|
Set the Alpha component. Definition at line 111 of file itkRGBAPixel.h. References itk::FixedArray< TComponent, 4 >::operator[](). |
|
Set the Blue component. Definition at line 108 of file itkRGBAPixel.h. References itk::FixedArray< TComponent, 4 >::operator[](). |
|
Set the Green component. Definition at line 105 of file itkRGBAPixel.h. References itk::FixedArray< TComponent, 4 >::operator[](). |
|
Set the Nth component to v. Definition at line 98 of file itkRGBAPixel.h. |
|
Set the Red component. Definition at line 102 of file itkRGBAPixel.h. References itk::FixedArray< TComponent, 4 >::operator[](). |