GRE::LAYER::DISPPARM Class Reference

Shared display parameters common to most layer types. More...

#include <gre/layer.h>

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

List of all members.

Public Member Functions

bool IsPedestalSet ()
int LoadSubObject (const RVC::OBJECT &ParentObj, RVC::DISPPARMUSAGE usage=RVC::DISPPARMUSAGE_Unspecified)
DISPPARMoperator= (const DISPPARM &rhs)
void SetMayUseTransparency ()
void SetPedestal (const bool pedestal)
ERRVALUE Validate ()

Public Attributes

COLOR ActiveColor
COLOR BaseColor
UINT8 DataTipSearchDist
UINT32 dispflags
COLOR HighlightColor
bool m_bManagePointSymbols
bool m_bManageTextLabels
double m_MaxScaleRegion
POLYSTYLE m_RegionStyle
bool m_ShowRegionZoomedOut
double MaxScaleVisible
double MinScaleVisible
UINT8 NoGeoreference
UINT8 NumComponents
UINT8 NumObjects
COLOR WireframeColor
double zinit
double zlast
double zoffset
double zscale

Protected Member Functions

 DISPPARM (const DISPPARM &rhs)
 DISPPARM ()
virtual ~DISPPARM ()

Private Member Functions

virtual const SERIALIZERITEMSerialGetItemDef (SERIALIZER &serializer) const =0
virtual ERRVALUE v_SetObjItem (const RVC::OBJITEM &objitem, bool replace)
virtual ERRVALUE v_Validate ()

Detailed Description

Shared display parameters common to most layer types.


Constructor & Destructor Documentation

GRE::LAYER::DISPPARM::DISPPARM (  )  [protected]
GRE::LAYER::DISPPARM::DISPPARM ( const DISPPARM rhs  )  [inline, protected]

Copy constructor.

virtual GRE::LAYER::DISPPARM::~DISPPARM (  )  [protected, virtual]

Member Function Documentation

bool GRE::LAYER::DISPPARM::IsPedestalSet (  )  [inline]

Is 3D pedestal set on / off.

int GRE::LAYER::DISPPARM::LoadSubObject ( const RVC::OBJECT ParentObj,
RVC::DISPPARMUSAGE  usage = RVC::DISPPARMUSAGE_Unspecified 
)

Load dispparm via SerialRead from subobject.

Returns:
TRUE if loaded, FALSE if no subobject, < 0 if error.
Parameters:
ParentObj Parent 'object'
usage Usage, unspecified to determine automatically
DISPPARM& GRE::LAYER::DISPPARM::operator= ( const DISPPARM rhs  )  [inline]

Assignment operator.

virtual const SERIALIZERITEM* GRE::LAYER::DISPPARM::SerialGetItemDef ( SERIALIZER serializer  )  const [private, pure virtual]
void GRE::LAYER::DISPPARM::SetMayUseTransparency (  )  [inline]

Set transparency usage to "indeterminant".

void GRE::LAYER::DISPPARM::SetPedestal ( const bool  pedestal  )  [inline]

Set 3D pedestal on / off.

virtual ERRVALUE GRE::LAYER::DISPPARM::v_SetObjItem ( const RVC::OBJITEM objitem,
bool  replace 
) [private, virtual]
virtual ERRVALUE GRE::LAYER::DISPPARM::v_Validate (  )  [private, virtual]
ERRVALUE GRE::LAYER::DISPPARM::Validate (  ) 

Validate dispparm, adjusting if possible.

Reimplemented in GRE::LAYER_MAPGRID::DISPPARM, and GRE::LAYER_TEXT::DISPPARM.


Member Data Documentation

Active element color.

Pedestal base color in 3D.

DataTip search distance in pixels.

Display flags - DISPFLAG_xxxx...

Highlight color.

If true, use LABELPLACEMENT for point symbols.

If true, use LABELPLACEMENT for text labels.

Maximum scale for showing region if zoomed out past MaxScaleVisible.

Style for region.

Show region if zoomed out past MaxScaleVisible.

Maximum scale at which this layer is visible.

Minimum scale at which this layer is visible.

Don't use georeference subobject.

Number of components.

Number of objects.

Wireframe color in non-stereo mode.

Minimum Z value for surface or layer (unscaled) (XXX move to layer.

Maximum Z value for surface or layer (unscaled) (XXX move to layer.

Offset for surface or above surface if layer.

Scaling for surface or Z coordinate.


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

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