VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtTerrainContentsInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
13 #include <vrvUtil/DtUnicode.h>
14 
15 namespace makVrv
16 {
21  {
22 
23  public:
24  enum LayerType
25  {
28  OceanLayer
29  };
30 
31  public:
32 
34  virtual void addItem(int id, LayerType layerType, const DtUnicode& name, bool visualized ) = 0;
35 
37  virtual void removeItem(int id) = 0;
38 
41  virtual void clear() = 0;
42 
46  virtual void setAddOceanButtonState( bool enabled ) = 0;
47 
50  virtual void setOceanHeight( double height, const DtUnicode& units, int decimals, double maxHeight ) = 0;
51 
53  virtual void setLodRange( double range, const DtUnicode& units, int decimals, double maxRange, double minStep ) = 0;
54 
57  boost::signal<void (int)> signal_remove;
58 
61  boost::signal<void ( float )> signal_oceanHeightChanged;
62 
65  boost::signal<void ( float )> signal_lodRangeChanged;
66 
67  const static double theMaxOceanHeightInMeters;
68  const static double theMaxOceanLODElevationInMeters;
69 
70  };
71 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)