VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
vrvControlToolkit::DtPaperMap_v1 Struct Reference

DtPaperMap_v1 holds the state of whether the use of layer masks in .earth files. That is, turn on and off the entire paper maps feature. There are 2 ways to configure paper mask features which can affect what is displayed on from the .earth file 1) Using the mapGroup attribute in a visible layer. For example <mapgroup>air,naval,3d</mapgroup> This puts the layer in the air, naval group which can be selected from the Paper Map Settings Toolbar if the paper map feature is enabled 2) Using a mask attribute directly in a layer without specifying a mapgroup Elements that should not be visible in 3D views have mask set like: <GDALImage ... mask="4294950911">...</GDALImage> Elements that should not be be visible in 2D have mask set like: <FeatureModel ... mask="4294959103">...</FeatureModel> The mask settings works on any osgEarth class derived from VisibleLayer The numbers have to be 4294959103 for not being visible in 2D but visible in 3D 4294950911 for not being visible in 3D but visible in 2D 4294959103 = 11111111111111111101111111111111 = FlagPaperMap2DViewOff 4294950911 = 11111111111111111011111111111111 = FlagPaperMap3DViewOff.

Inheritance diagram for vrvControlToolkit::DtPaperMap_v1:
Inheritance graph
[legend]

Public Member Functions

 DtPaperMap_v1 ()
 
 ~DtPaperMap_v1 ()
 
- Public Member Functions inherited from vrvControlToolkit::DtVrvControl_v1
 DtVrvControl_v1 ()
 
 ~DtVrvControl_v1 ()
 
 DtVrvControl_v1 (const DtVrvControl_v1 &orig)
 
DtVrvControl_v1operator= (const DtVrvControl_v1 &orig)
 

Public Attributes

DtBool myPaperMap
 
- Public Attributes inherited from vrvControlToolkit::DtVrvControl_v1
DtUInt32 myMagicNumber
 
DtUInt16 mySize
 
DtUInt16 myVersion
 
DtFloat32 myLibraryVersion
 
DtVrvControlTypeEnum myType
 

Constructor & Destructor Documentation

vrvControlToolkit::DtPaperMap_v1::DtPaperMap_v1 ( )
inline

CTOR.

vrvControlToolkit::DtPaperMap_v1::~DtPaperMap_v1 ( )
inline

DTOR.

Member Data Documentation

DtBool vrvControlToolkit::DtPaperMap_v1::myPaperMap

If true, hide certain osgEarth layers marked with mask values in 2D or 3D viewing models (such as Plan View vs Stealth)


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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)