GRE::LEGEND_COLORSCALE Class Reference

Color-Scale legend subclass. More...

#include <gre/legend.h>

Inheritance diagram for GRE::LEGEND_COLORSCALE:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 LEGEND_COLORSCALE (GRE::LAYER *layer)
void SetLabel (const MISTRING &label)
void SetLength (int length)
void SetValues (const COLOR_ARRAY &palette, const CBPARMS &ColorBalance, double MinValue, double MaxValue, bool VerticalMinAtTop)
void SetValues (const COLOR_ARRAY &palette, double MinValue, double MaxValue, bool VerticalMinAtTop)

Detailed Description

Color-Scale legend subclass.


Constructor & Destructor Documentation

GRE::LEGEND_COLORSCALE::LEGEND_COLORSCALE ( GRE::LAYER layer  ) 

Construct legend for layer.

Parameters:
layer Layer legend is for

Member Function Documentation

void GRE::LEGEND_COLORSCALE::SetLabel ( const MISTRING label  ) 

Set optional label.

void GRE::LEGEND_COLORSCALE::SetLength ( int  length  ) 

Set length in pixels.

void GRE::LEGEND_COLORSCALE::SetValues ( const COLOR_ARRAY palette,
const CBPARMS ColorBalance,
double  MinValue,
double  MaxValue,
bool  VerticalMinAtTop 
)

Set legend values with palette and color balance.

This will create or update the single legend "item".

Parameters:
ColorBalance For adjusting color
void GRE::LEGEND_COLORSCALE::SetValues ( const COLOR_ARRAY palette,
double  MinValue,
double  MaxValue,
bool  VerticalMinAtTop 
)

Set legend values with palette.

This will create or update the single legend "item".


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:34:39 2012 for TNTsdk 2012 by  doxygen 1.6.1