refinery
RAW file processor
Public Member Functions

refinery::LABPixel< T > Struct Template Reference

A 3-color pixel with L, A and B values. More...

#include <refinery/image.h>

Inheritance diagram for refinery::LABPixel< T >:
Inheritance graph
[legend]
Collaboration diagram for refinery::LABPixel< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LABPixel ()
 Empty constructor.
template<typename U >
 LABPixel (const U(&rhs)[3])
 Constructor.
template<typename U >
 LABPixel (const LABPixel< U > &rhs)
 Copy constructor.
const T & l () const
 The luminance value.
const T & a () const
 The A value.
const T & b () const
 The B value.
T & l ()
 A mutable reference to the luminance value.
T & a ()
 A mutable reference to the A value.
T & b ()
 A mutable reference to the B value.

Detailed Description

template<typename T>
struct refinery::LABPixel< T >

A 3-color pixel with L, A and B values.

This is simply a Pixel with some convenience accessors.

Template Parameters:
TType of each color value.

Definition at line 224 of file image.h.


Constructor & Destructor Documentation

template<typename T>
template<typename U >
refinery::LABPixel< T >::LABPixel ( const U(&)  rhs[3]) [inline]

Constructor.

Parameters:
[in]rhs3-element array to copy into this type.
Template Parameters:
UType of the input array (usually inferred).

Definition at line 236 of file image.h.

template<typename T>
template<typename U >
refinery::LABPixel< T >::LABPixel ( const LABPixel< U > &  rhs) [inline]

Copy constructor.

Parameters:
[in]rhsAnother 3-color Pixel.
Template Parameters:
UValueType from the input Pixel (usually inferred).

Definition at line 243 of file image.h.


The documentation for this struct was generated from the following file:
 All Classes Functions Variables Typedefs Enumerations Enumerator