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

Plot::OneDHistogramImage Template Class Reference

Image of a histogram, with an optional border. More...

#include <histogramimage.h>

Inheritance diagram for Plot::OneDHistogramImage

Inheritance graph

[legend]
Collaboration diagram for Plot::OneDHistogramImage:

Collaboration graph

[legend]
List of all members.

Public Methods

Constructors and Destructors
 OneDHistogramImage ()
 Empty image constructor. More...

template<classHistogram>  OneDHistogramImage<Histogram> (const Histogram &h, bool vertical=false, double size_scale_i=1.0, double aspect_ratio_i=1.0, Bounded::Magnitude bin_fullness_range_i=1.0, int borderwidth=0, const ColorLookup<PixelType>& L=HueColorLookup<PixelType>())
 Constructor taking a single histogram, to plot one dimension. More...


Detailed Description

template<class PixelType = RGBPixel<>, class PixelMatrix = MatrixType<PixelType>::rectangular> template class Plot::OneDHistogramImage

Image of a histogram, with an optional border.

The border is not as important here as it is for the MatrixImage<> class, but it is supported so that images from both classes can be freely intermixed, with all having a uniform border.

Definition at line 31 of file histogramimage.h.


Constructor & Destructor Documentation

template<classPixelType = RGBPixel<>, classPixelMatrix = MatrixType<PixelType>::rectangular>
Plot::OneDHistogramImage<PixelType, PixelMatrix>::OneDHistogramImage<PixelType, PixelMatrix> ( ) [inline]
 

Empty image constructor.

Definition at line 94 of file histogramimage.h.

template<classPixelType, classPixelMatrix>
template<classHistogram>
Plot::OneDHistogramImage< PixelType,PixelMatrix >::OneDHistogramImage<PixelType, PixelMatrix> ( const Histogram & h,
bool vertical = false,
double size_scale_i = 1.0,
double aspect_ratio_i = 1.0,
Bounded::Magnitude bin_fullness_range_i = 1.0,
int borderwidth = 0,
const ColorLookup< PixelType >& L = HueColorLookup<PixelType>() )
 

Constructor taking a single histogram, to plot one dimension.

The aspect ratio is the ratio between the number of bins and the length of the representation to use for the bin fullnesses.

L determines the mapping from a bin number (on a scale 0-1.0) to a color.

Definition at line 117 of file histogramimage.h.


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