Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Plot::Pixel Class Reference

#include <pixel.h>

Inheritance diagram for Plot::Pixel:

Inheritance graph
[legend]
List of all members.

Detailed Description

Abstract base class for a square image pixel, possibly transparent.

Definition at line 27 of file pixel.h.

Public Types

typedef Bounded::Integer<
unsigned char > 
IComponent
 Integer Bounded number for a Pixel.

typedef Bounded::Float< float,
1, 0, Bounded::Crop< Bounded::LargeFloat > > 
FComponent
 Floating-point Bounded number for a Pixel.

typedef Bounded::Float< float,
1, 0, Bounded::Wrap< Bounded::LargeFloat > > 
HueComponent
 Circularly-wrapping Bounded number for the Hue.


Public Methods

 Pixel ()
 Default constructor; pixel remains transparent.

 Pixel (bool visible)
 Constructor for a possibly non-transparent pixel.

 Pixel (const Pixel &other)
 Copy constructor.

bool istransparent ()
 Returns whether the pixel is transparent.

void show ()
 Makes this pixel visible.

void hide ()
 Makes this pixel transparent.


The documentation for this class was generated from the following file:
Generated on Mon Jan 20 02:37:43 2003 for RF-LISSOM by doxygen1.3-rc2