Skip to content

Commit 10feae2

Browse files
committed
updated readme for more information, fixed trapezoidal map bugs, added approx algorithm for finding hotspot which should be faster in theory, updated config, added main_window for getting config.txt, removed a lot of the entry cpp's complexity, added error handling.
1 parent 9b7c243 commit 10feae2

File tree

19 files changed

+570
-306
lines changed

19 files changed

+570
-306
lines changed
15.8 KB
Loading

.github/images/large_example.png

6.34 KB
Loading

.github/images/mouse_buttons.png

7.03 KB
Loading

README.md

Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,47 @@
11
Everything here incorporates the [Trajectory-Hotspots](https://github.com/NHLStenden-ISAL/Trajectory_Hotspots) library
22
as a submodule. The visualization is based on the algorithms used in the library.
33

4+
---
5+
## Installation
6+
7+
1. [Download Latest Version](https://github.com/BardoBard/Trajectory-Hotspots-Visualization/releases/latest) and unzip.
8+
2. Add path to your Trajectory.txt with options to the Config.txt file.
9+
3. Run the executable from the unzipped folder and give location of Config.txt file as argument.
10+
11+
---
12+
413
# Trajectory-Hotspots-Visualization
514

615
Visualizes trajectories and their hotspots in 2D.
716

8-
Simple example:
17+
### Examples:
18+
19+
<img src=".github/images/simple_example.png" alt="simple_example" style="margin-right: 9%;" width="45%" title="Trajectory"/> <img src=".github/images/large_example.png" alt="simple_example" width="45%" title="Trajectory"/>
920

10-
<img src=".github/images/simple_example.png" alt="simple_example" width="300vw" title="Trajectory"/>
21+
---
1122

1223
# Trajectory-Hotspots-Benchmark
1324

1425
Benchmarking tool for the Trajectory-Hotspots library. The benchmarking tool is
1526

16-
## Installation
17-
18-
- [Download Latest Version](https://github.com/BardoBard/Trajectory-Hotspots-Visualization/releases/latest) and unzip.
19-
- Add path to your trajectories with options to the Config.txt file.
20-
- Run the executable from the unzipped folder and give location of Config.txt file as argument.
27+
---
2128

2229
## Buttons
2330

31+
Keyboard:
32+
33+
---
34+
![keyboard_buttons.png](.github/images/keyboard_buttons.png)
35+
36+
Mouse:
37+
2438
---
25-
| Button | Usage |
26-
|------------|--------------------------------|
27-
| Arrow Keys | Move camera |
28-
| T | Toggle text on/off |
29-
| MouseWheel | Zoom in/out |
30-
| Mouse Drag | Move camera |
31-
| +- | Increase/Decrease Camera speed |
32-
| Esc | Close application |
39+
40+
![mouse_buttons.png](.github/images/mouse_buttons.png)
3341
---
3442

3543
## Clone
44+
3645
clone with submodules
3746

3847
```bash
@@ -44,7 +53,7 @@ the [website](https://vcpkg.io/en/getting-started.html).
4453

4554
#### Install:
4655

47-
install might take a while
56+
install might take a while
4857

4958
```bash
5059
vcpkg install qt5
@@ -56,7 +65,9 @@ vcpkg integrate install
5665

5766
## Dependencies
5867

59-
- QT5 (5.15.11)
60-
- CGAL (5.6)
61-
- OpenGl (2022-12-04#3)
62-
- Nanobench (4.3.11)
68+
| Dependency | Version |
69+
|------------|--------------|
70+
| CGAL | 5.6 |
71+
| CGAL[QT] | - |
72+
| OpenGl | 2022-12-04#3 |
73+
| Nanobench | 4.3.11 |

Trajectory-Hotspots-Benchmark/pch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
//parser
2525
#include <Trajectory-Hotspots-Parser/file_parser.h>
2626

27-
#include "window.h"
27+
#include "Window/window.h"
2828
#include "Trajectory-Hotspots-Wrappers/drawable_trajectory.h"

0 commit comments

Comments
 (0)