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

Plot::Pixel Class Reference

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

#include <pixel.h>

Inheritance diagram for Plot::Pixel

Inheritance graph

[legend]
List of all members.

Public Types

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

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

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


Public Methods

 Pixel ()
 Default constructor; pixel remains transparent. More...

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

 Pixel (const Pixel& other)
 Copy constructor. More...

bool istransparent ()
 Returns whether the pixel is transparent. More...

void show ()
 Makes this pixel visible. More...

void hide ()
 Makes this pixel transparent. More...


Detailed Description

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

Definition at line 25 of file pixel.h.


Member Typedef Documentation

typedef Bounded::Float< float,1,0,Bounded::Crop<Bounded::LargeFloat> > Plot::Pixel::FComponent
 

Floating-point Bounded number for a Pixel.

Definition at line 49 of file pixel.h.

typedef Bounded::Float< float,1,0,Bounded::Wrap<Bounded::LargeFloat> > Plot::Pixel::HueComponent
 

Circularly-wrapping Bounded number for the Hue.

Definition at line 52 of file pixel.h.

typedef Bounded::Integer<unsigned char> Plot::Pixel::IComponent
 

Integer Bounded number for a Pixel.

Definition at line 46 of file pixel.h.


Constructor & Destructor Documentation

Plot::Pixel::Pixel ( )
 

Default constructor; pixel remains transparent.

Definition at line 28 of file pixel.h.

Plot::Pixel::Pixel ( bool visible )
 

Constructor for a possibly non-transparent pixel.

Definition at line 31 of file pixel.h.

Plot::Pixel::Pixel ( const Pixel & other )
 

Copy constructor.

Definition at line 34 of file pixel.h.


Member Function Documentation

void Plot::Pixel::hide ( ) [inline]
 

Makes this pixel transparent.

Definition at line 43 of file pixel.h.

bool Plot::Pixel::istransparent ( ) [inline]
 

Returns whether the pixel is transparent.

Definition at line 37 of file pixel.h.

void Plot::Pixel::show ( ) [inline]
 

Makes this pixel visible.

Definition at line 40 of file pixel.h.


The documentation for this class was generated from the following file:
Generated at Mon Aug 21 00:31:21 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000