Pixel Struct Reference

Single pixel spec. More...

#include <raster_image.hh>

Public Member Functions

 Pixel ()
 Pixel (const Pixel &p)
 Pixel (uchar rr, uchar gg, uchar bb)
 Pixel (uchar rgb[3])

Data Fields

uchar r
uchar g
uchar b

Detailed Description

Single pixel spec.

Definition at line 67 of file raster_image.hh.


Constructor & Destructor Documentation

Pixel (  )  [inline]

default constructor

Definition at line 70 of file raster_image.hh.

Pixel ( const Pixel p  )  [inline]

copy-constructor

Definition at line 72 of file raster_image.hh.

Pixel ( uchar  rr,
uchar  gg,
uchar  bb 
) [inline]

initialize with three uchar

Definition at line 74 of file raster_image.hh.

Pixel ( uchar  rgb[3]  )  [inline]

initialize with array

Definition at line 76 of file raster_image.hh.


Field Documentation

uchar b

Definition at line 68 of file raster_image.hh.

uchar g

Definition at line 68 of file raster_image.hh.

uchar r

Definition at line 68 of file raster_image.hh.


The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 20 Jun 2016 for OpenStructure by  doxygen 1.6.1