OpenStructure
Public Member Functions | Data Fields
RasterImage::Pixel Struct Reference

#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() [1/4]

Pixel ( )
inline

default constructor

Definition at line 70 of file raster_image.hh.

◆ Pixel() [2/4]

Pixel ( const Pixel p)
inline

copy-constructor

Definition at line 72 of file raster_image.hh.

◆ Pixel() [3/4]

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

initialize with three uchar

Definition at line 74 of file raster_image.hh.

◆ Pixel() [4/4]

Pixel ( uchar  rgb[3])
inline

initialize with array

Definition at line 76 of file raster_image.hh.

Field Documentation

◆ b

uchar b

Definition at line 68 of file raster_image.hh.

◆ g

uchar g

Definition at line 68 of file raster_image.hh.

◆ r

uchar r

Definition at line 68 of file raster_image.hh.


The documentation for this struct was generated from the following file: