Main Page | Modules | Class List | Directories | File List | Class Members | File Members

Gan_Pixel Struct Reference
[Access Individual Pixels of an Image]

Structure definition for image pixel of any format or type. More...

#include <gandalf/image/pixel.h>

List of all members.

Public Attributes

Gan_ImageFormat format
 format of image: grey-level, RGB colour etc.
Gan_Type type
 type of pixel values: unsigned char, float etc.
union {
   union {
      unsigned char   uc
      short   s
      unsigned short   us
      int   i
      unsigned int   ui
      double   d
      float   f
      Gan_Bool   b
      void *   p
      gan_uint8   ui8
      gan_uint16   ui16
      gan_uint32   ui32
   }   gl
 grey level
   union {
      Gan_GLAPixel_uc   uc
      Gan_GLAPixel_s   s
      Gan_GLAPixel_us   us
      Gan_GLAPixel_i   i
      Gan_GLAPixel_ui   ui
      Gan_GLAPixel_d   d
      Gan_GLAPixel_f   f
      Gan_GLAPixel_ui8   ui8
      Gan_GLAPixel_ui16   ui16
      Gan_GLAPixel_ui32   ui32
   }   gla
 grey level with alpha channel
   union {
      Gan_RGBPixel_uc   uc
      Gan_RGBPixel_s   s
      Gan_RGBPixel_us   us
      Gan_RGBPixel_i   i
      Gan_RGBPixel_ui   ui
      Gan_RGBPixel_d   d
      Gan_RGBPixel_f   f
      Gan_RGBPixel_ui8   ui8
      Gan_RGBPixel_ui16   ui16
      Gan_RGBPixel_ui32   ui32
   }   rgb
 RGB colour.
   union {
      Gan_RGBAPixel_uc   uc
      Gan_RGBAPixel_s   s
      Gan_RGBAPixel_us   us
      Gan_RGBAPixel_i   i
      Gan_RGBAPixel_ui   ui
      Gan_RGBAPixel_d   d
      Gan_RGBAPixel_f   f
      Gan_RGBAPixel_ui8   ui8
      Gan_RGBAPixel_ui16   ui16
      Gan_RGBAPixel_ui32   ui32
   }   rgba
 RGB colour with alpha channel.
   union {
      Gan_Vector2_f   f
      Gan_Vector2   d
      Gan_Vector2_s   s
      Gan_Vector2_i   i
   }   vfield2D
 2D vector field
   union {
      Gan_Vector3_f   f
      Gan_Vector3   d
      Gan_Vector3_s   s
      Gan_Vector3_i   i
   }   vfield3D
 3D vector field
data
 nested union defining pixel types


Detailed Description

Structure definition for image pixel of any format or type.


The documentation for this struct was generated from the following file:
Generated on Sat May 21 23:52:51 2005 by  doxygen 1.4.3