Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
ElevDrawOptions.h
1 //
2 // ElevDrawOptions.h
3 //
4 // Copyright (c) 2003-2007 Virtual Terrain Project
5 // Free for all uses, see license.txt for details.
6 //
7 
8 #ifndef ElevDrawOptions_H
9 #define ElevDrawOptions_H
10 
11 #include "vtdata/Content.h"
12 
13 #define TAG_SHOW_ELEVATION "ShowElevation"
14 #define TAG_SHADING_QUICK "ShadingQuick"
15 #define TAG_SHADING_DOT "ShadingDot"
16 #define TAG_CAST_SHADOWS "CastShadows"
17 #define TAG_DO_MASK "DoMask"
18 #define TAG_CAST_ANGLE "CastAngle"
19 #define TAG_CAST_DIRECTION "CastDirection"
20 #define TAG_AMBIENT "Ambient"
21 #define TAG_GAMMA "Gamma"
22 #define TAG_COLOR_MAP_FILE "ColorMapFile"
23 
25 {
26 public:
28  bool operator != (const ElevDrawOptions &val);
29  void SetFromTags(const vtTagArray &tags);
30  void SetToTags(vtTagArray &tags);
31 
32  bool m_bShowElevation;
33  bool m_bShadingQuick;
34  bool m_bShadingDot;
35  bool m_bCastShadows;
36  bool m_bDoMask;
37  int m_iCastAngle;
38  int m_iCastDirection;
39  float m_fAmbient;
40  float m_fGamma;
41  vtString m_strColorMapFile;
42 };
43 
44 #endif // ElevDrawOptions_H