gml_TColor_LRG_FFF Class Reference

#include <gml_LRGColor.h>

Inherits gml_TColor_LRG< Float32, Float32 >.

Collaboration diagram for gml_TColor_LRG_FFF:

Collaboration graph
[legend]
List of all members.

Detailed Description

Floating-point variant of gml_TColor_LRG.


Public Member Functions

 gml_TColor_LRG_FFF (const UInt8 r, const UInt8 g, const UInt8 b)
 Convert a 24-bit RGB triplet into LRG and fill in the object.
 gml_TColor_LRG_FFF (const void *const ptr)
 Fill the structure from data in memory.
void Print ()
 Dump a representation of the pixel to stdout: channels in hex and in 8-bit per channel hex format.
void Convert (UInt8 &r, UInt8 &g, UInt8 &b)
 Convert the LRG data in this object to a 24 bit RGB triplet.
UInt16 Distance (const gml_TColor_LRG_FFF other)
 Compute the 16-bit distance to another LRG pixel. Depending on __GML_LRG_USE_EUCLIDIAN_DISTANCE, the euclidian distance in the (Cr,Cg) plane is used, or the city block distance.

Static Public Member Functions

static Float32 sChannelMax ()
 max channel value

Member Function Documentation

void Print (  )  [inline]

Dump a representation of the pixel to stdout: channels in hex and in 8-bit per channel hex format.

Warning:
no newline appended !

Reimplemented from gml_TColor_LRG< Float32, Float32 >.


The documentation for this class was generated from the following file:
Generated on Tue Jun 12 14:03:28 2007 for gml by Doxygen 1.5.2.