VR-Forces 4.10 Class Documentation
 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. More...

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

Public Member Functions

 DtPaperMap_v1 ()
 CTOR. More...
 
 ~DtPaperMap_v1 ()
 DTOR. More...
 
- Public Member Functions inherited from vrvControlToolkit::DtVrvControl_v1
 DtVrvControl_v1 ()
 CTOR. More...
 
 ~DtVrvControl_v1 ()
 DTOR. More...
 
 DtVrvControl_v1 (const DtVrvControl_v1 &orig)
 Copy CTOR. More...
 
DtVrvControl_v1operator= (const DtVrvControl_v1 &orig)
 Assignment operator. More...
 

Public Attributes

DtBool myPaperMap
 If true, hide certain osgEarth layers marked with mask values in 2D or 3D viewing models (such as Plan View vs Stealth) More...
 
- Public Attributes inherited from vrvControlToolkit::DtVrvControl_v1
DtUInt32 myMagicNumber
 Bit pattern that indicates that this is a view control packet. More...
 
DtUInt16 mySize
 The total size of the VC packet, including this header This will be filled in by the specific view control packet constructor. More...
 
DtUInt16 myVersion
 View control packet version. More...
 
DtFloat32 myLibraryVersion
 View control library version. More...
 
DtVrvControlTypeEnum myType
 View control packet type. More...
 

Detailed Description

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

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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)