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

Plot::OneDHistogramImage< PixelType, PixelMatrix > Class Template Reference

#include <histogramimage.h>

Inheritance diagram for Plot::OneDHistogramImage< PixelType, PixelMatrix >:

Inheritance graph
[legend]
Collaboration diagram for Plot::OneDHistogramImage< PixelType, PixelMatrix >:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

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.

Public Methods

Constructors and Destructors
 OneDHistogramImage ()
 Empty image constructor.

template<class Histogram>  OneDHistogramImage (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 >(), const PixelType &bordercolor=default_border, const PixelType &bg_=default_bg, const PixelType &fg_=default_fg)
 Constructor taking a single histogram, to plot one dimension.


Constructor & Destructor Documentation

template<class PixelType, class PixelMatrix>
template<class Histogram>
Plot::OneDHistogramImage< PixelType, PixelMatrix >::OneDHistogramImage const Histogram &    h,
bool    vertical_i = 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>(),
const PixelType &    bordercolor = default_border,
const PixelType &    bg_ = default_bg,
const PixelType &    fg_ = default_fg
 

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 124 of file histogramimage.h.

References Plot::OneDHistogramImage< PixelType, PixelMatrix >::num_bins.


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