GRE::LAYER_RASTER::DISPPARM Class Reference

#include <gre/lrraster.h>

Inheritance diagram for GRE::LAYER_RASTER::DISPPARM:
Inheritance graph
[legend]

List of all members.

Classes

class  COLORSCALELABEL
class  DLG
 Dialog for modifying layer display settings. More...
struct  IOPARM

Public Member Functions

 DISPPARM (const DISPPARM &rhs)
 DISPPARM ()
virtual ~DISPPARM ()
bool CanAutoColorMap () const
bool CanColorBalance () const
bool CanContrast () const
bool CanThemeMap () const
bool CanUseColorPalette () const
INT32 FindClosestBand (double wavelength) const
const RVC::OBJECTNAMEGetObjNameColorPalette () const
int GetShadeComponent () const
bool LegendCanDoColorSample () const
bool LegendCanDoColorScale () const
bool LegendCanDoColorThemeScale () const
ERRVALUE LoadColorPalette ()
DISPPARMoperator= (const DISPPARM &rhs)
ERRVALUE SetObject (const RVC::OBJITEM &objitem, bool keepsettings=false)
ERRVALUE SetObjects (const RVC::OBJITEMLIST &objitems, bool keepsettings=false)
bool TestUsesTransparency ()
bool ValidateMask ()

Public Attributes

UINT8 AnisotropicLimit
COLOR_ARRAY colmap
CBPARMS ColorBalance
UINT8 ColorBlendFactor
UINT8 ColorBlendMode
LEGENDPARMS ColorSampleLegend
UINT8 dispmode
IOPARM ioparm [4]
UINT8 LegendSampleArea
UINT8 LegendScaleMinAtTop
UINT16 LegendScaleRangeCount
UINT8 LegendType
bool LoadColMap
UINT8 m_CellLabelPlaces
RVC::OBJECTNAME m_ColorPaletteName
UINT8 m_EnlargeMethod
GRE::BOUNDPARM m_Fence
GRE::BOUNDPARM m_Pedestal
UINT8 m_ReduceMethod
RVC::RASTERTHEMEPARM m_themeparm
RVC::OBJECTNAME m_themeparmname
bool m_UseThemeMap
IOPARM maskioparm
UINT8 MipMapSharpness
INT32 NumBands
INT32 OutTileCols
INT32 OutTileLins
UINT8 PreferredZoom1X
RASTER_FILTER_PARMS RasterFilterParms
double ScaleInterval
bool ScaleIsAuto
MILIST< COLORSCALELABELScaleLabels
double ScaleMax
double ScaleMin
bool ScaleMinOnTop
double ScaleOffset
UINT8 ScalePlaces
double ScaleScale
UINT8 TextureFilterMode
UINT8 Transparency
bool UseColMap
UINT8 UseMask
double xscale
double yscale

Protected Member Functions

virtual const SERIALIZERITEMSerialGetItemDef (SERIALIZER &serializer) const
virtual ERRVALUE SerialRead (SERIALIZER &serializer)
virtual ERRVALUE SerialWrite (SERIALIZER &serializer, const char *tagname=0) const

Constructor & Destructor Documentation

GRE::LAYER_RASTER::DISPPARM::DISPPARM (  ) 

Default constructor.

Reimplemented from GRE::LAYER::DISPPARM.

GRE::LAYER_RASTER::DISPPARM::DISPPARM ( const DISPPARM rhs  )  [inline]
virtual GRE::LAYER_RASTER::DISPPARM::~DISPPARM (  )  [virtual]

Reimplemented from GRE::LAYER::DISPPARM.


Member Function Documentation

bool GRE::LAYER_RASTER::DISPPARM::CanAutoColorMap (  )  const
bool GRE::LAYER_RASTER::DISPPARM::CanColorBalance (  )  const
bool GRE::LAYER_RASTER::DISPPARM::CanContrast (  )  const
bool GRE::LAYER_RASTER::DISPPARM::CanThemeMap (  )  const
bool GRE::LAYER_RASTER::DISPPARM::CanUseColorPalette (  )  const
INT32 GRE::LAYER_RASTER::DISPPARM::FindClosestBand ( double  wavelength  )  const
const RVC::OBJECTNAME& GRE::LAYER_RASTER::DISPPARM::GetObjNameColorPalette (  )  const [inline]
int GRE::LAYER_RASTER::DISPPARM::GetShadeComponent (  )  const

Get component to use for shaded relief.

Returns:
Component index or -1 if none.
bool GRE::LAYER_RASTER::DISPPARM::LegendCanDoColorSample (  )  const
bool GRE::LAYER_RASTER::DISPPARM::LegendCanDoColorScale (  )  const
bool GRE::LAYER_RASTER::DISPPARM::LegendCanDoColorThemeScale (  )  const
ERRVALUE GRE::LAYER_RASTER::DISPPARM::LoadColorPalette (  ) 

Load color palette if needed.

DISPPARM& GRE::LAYER_RASTER::DISPPARM::operator= ( const DISPPARM rhs  )  [inline]
virtual const SERIALIZERITEM* GRE::LAYER_RASTER::DISPPARM::SerialGetItemDef ( SERIALIZER serializer  )  const [protected, virtual]

LAYER::DISPPARM new overridables.

Implements GRE::LAYER::DISPPARM.

virtual ERRVALUE GRE::LAYER_RASTER::DISPPARM::SerialRead ( SERIALIZER serializer  )  [protected, virtual]

Read component from serialization.

This method must be called only after the tag name has been read and is responsible for determining how to deserialize the component elements. When beginning a deserialization, usually the SERIALIZER::Read(tagname,object) method should be used to match the desired tag name which was used in writing. A default implementation is not possible due to multiple inheritance resulting in a different "this" pointer being passed than the actual object, which causes the offset values in the ITEMDEF arrays to be wrong.

Implements SERIALIZABLE.

virtual ERRVALUE GRE::LAYER_RASTER::DISPPARM::SerialWrite ( SERIALIZER serializer,
const char *  tagname = 0 
) const [protected, virtual]

Write object to serialization.

This method must write the tag name provided, using SERIALIZER::PutBegin(). If the tagname is 0 (default) then it must determine the proper tag name to write. After writing the object this method must write the ending tag using SERIALIZER::PutEnd(). When inheriting this interface, the default value of 0 for the tag name must NOT be redefined. (See Meyers, Effective C++, item #38) A default implementation is not possible due to multiple inheritance resulting in a different "this" pointer being passed than the actual object, which causes the offset values in the ITEMDEF arrays to be wrong.

Implements SERIALIZABLE.

ERRVALUE GRE::LAYER_RASTER::DISPPARM::SetObject ( const RVC::OBJITEM objitem,
bool  keepsettings = false 
)

Set to use specified object.

Parameters:
objitem Object to set
keepsettings Retain current display settings
ERRVALUE GRE::LAYER_RASTER::DISPPARM::SetObjects ( const RVC::OBJITEMLIST objitems,
bool  keepsettings = false 
)

Set to use specified object(s).

Parameters:
objitems Objects to set
keepsettings Retain current display settings
bool GRE::LAYER_RASTER::DISPPARM::TestUsesTransparency (  ) 
bool GRE::LAYER_RASTER::DISPPARM::ValidateMask (  ) 

Determine if mask is valid.

Returns:
true if current mask object is valid, false if not

Member Data Documentation

2 - 64

Color palette.

For adjusting color.

Color blending factor for ratio mode.

Color blending mode (for RGBI modes).

Type of "display" being performed (RASTDISPMODE_xxxx).

Sample area.

Put minimum value at top.

Number of range boxes for ColorScaleRanges.

Type of legend.

Load color palette using specified color palette name.

Number of decimal places for cell labels.

Name of color palette object to use / load.

Theme Map.

Name of theme map object to use / load.

0 - 100

Number of bands in hyperspectral mode.

Output "raster" tile size, 0 if not needed.

Set if layer preferred for 1X zoom.

Settings user for raster spatial filtering.

CellValue interval for auto label generation.

True if scale is auto-generated, false if manually edited.

Maximum cell value for color scale legend.

Minimum cell value for color scale legend.

Flips the legend upside down.

Number of decimal places for scale.

Default label will be CellValue * ScaleScale + ScaleOffset.

Layer transparency factor, 0=opaque.

Set if color palette should be used.

Flag: Set if mask should be used.

Scale from object coords to meters if no georef info available.


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

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