-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBMApp.h
60 lines (56 loc) · 1.32 KB
/
BMApp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#pragma once
#include <string> // std::string, std::stod
#include <list> // std::string, std::stod
#include <vector> // std::string, std::stod
#if defined(_WIN32) || defined(_WIN64)
#include <direct.h>
#endif
#include "constants.h"
#include "Receiver.h"
#include "BathyData.h"
#include "BathyGraph.h"
#include "LayerGraph.h"
#include "Graphics.h"
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
struct SAppContext;
class BMApp
{
public:
BMApp();
~BMApp();
bool init();
bool refresh_app();
int handle_inputs();
bool update_cam();
bool save_screenshot();
bool clear();
bool load_config();
int active_mode;
std::string last_opened_file;
Graphics GF;
BathyGraph *main_bm_node;
BathyGraph *secondary_bm_node;
//LayerGraph *main_layer;
ICameraSceneNode* main_cam;
vector3df cursor_location;
float cam_distance_from_surface;
irr::core::vector3df cam_rotation;
std::vector<ILightSceneNode*> lights;
int active_tool;
float dbathymetry_change_value;
float bathymetry_change_value;
float bathymetry_change_value_max;
float max_depth_scale;
int bathymetry_change_range;
int bathymetry_change_range_max;
int bathymetry_change_range_min;
bool lock_land_mask;
float zoom_min_dist;
float zoom_max_dist;
stringw help_text_keys;
};