Commit Graph

99 Commits

Author SHA1 Message Date
Ylva Selling
3ef357f56e Get the vector of browsers by reference instead of as a pointer 2021-05-10 09:20:11 +02:00
Ylva Selling
4126be2604 Sort the images on image name 2021-05-10 09:19:00 +02:00
Ylva Selling
a456b68b20 Make it more efficient to get the vector of browsers 2021-05-07 14:37:52 +02:00
Ylva Selling
03dbbd1352 Lower the cap on zooming so it looks better 2021-05-07 14:37:15 +02:00
Ylva Selling
317a62cb90 Add comment to explain why data handler is created dynamically 2021-05-07 14:02:11 +02:00
Ylva Selling
c882cdd3a3 Add selection functionality to send index from and to GUI and move capping of scroll too browser 2021-05-07 11:50:13 +02:00
Ylva Selling
e73656b1d9 Rotate camera if selected image is outside of screen 2021-05-07 10:52:45 +02:00
Ylva Selling
ed027c9224 Add camera animation rotation to look at coordinate 2021-05-07 10:08:06 +02:00
Ylva Selling
a58d29b0ce Make coordinate conversion functions more modular 2021-05-07 09:54:05 +02:00
Ylva Selling
2472d07c1c Send cartesian equatorial J2000 coords to GUI for better calculation of distance sort 2021-05-06 15:30:01 +02:00
Ylva Selling
16e83fdcdd Bugfix of crashing when scrolling too fast - add cap of update of scroll callback 2021-05-06 15:29:06 +02:00
Ylva Selling
9514fda861 Send window FOV and direction to GUI 2021-05-06 13:50:54 +02:00
Ylva Selling
6a2a6b5481 Add animation to target and FOV when an image is clicked 2021-05-06 10:00:41 +02:00
Ylva Selling
124fbef26f Add locking functionality to target 2021-05-04 10:50:30 +02:00
Ylva Selling
2eecb08bcf Add random colored borders to browsers and targets that are sufficiently bright, and add function to pass them to GUI 2021-05-04 09:14:35 +02:00
Ylva Selling
70642b0a55 Fine tune the zooming function 2021-04-30 15:06:44 +02:00
Ylva Selling
72d931e68d Remove duplicate of translate function 2021-04-30 09:34:48 +02:00
Ylva Selling
dc0dcd2eb7 Add utility files 2021-04-30 09:26:33 +02:00
Ylva Selling
dcbd74ab7a Fix offset bug by changing how the target direction is calculated. Move calculations to utility file 2021-04-30 09:24:34 +02:00
Ylva Selling
b7c4d94df0 Use doubles for coordinates and some bugfixes 2021-04-26 14:26:39 +02:00
Ylva Selling
e05a980254 Add a circle which shows where on the sky an image points at 2021-04-21 13:41:41 +02:00
Ylva Selling
cbe038e7d4 Fix bug with field of view by changing all FOVs to VFOV instead of HFOV 2021-04-21 10:59:41 +02:00
Ylva Selling
05a8580edc Add functionality to send credits and target data to GUI 2021-04-19 14:30:49 +02:00
Ylva Selling
a9b73fa352 Remove unneccessary while loop 2021-04-15 16:22:32 +02:00
Ylva Selling
5653823522 Make it possible to send coordinates to GUI as well as code clean up and conversion of RA from hours to degrees upon data loading 2021-04-14 13:20:58 +02:00
Ylva Selling
f6e4c33db3 Set the FOV with respect to the image's zoom level 2021-04-13 15:54:38 +02:00
Ylva Selling
7e81a05bf0 Make target move to look at image coordinate when clicked in GUI 2021-04-13 15:42:51 +02:00
Ylva Selling
fadf20435d Move conversion function to target and add some utility functions to target and browser 2021-04-09 15:04:19 +02:00
Ylva Selling
03cb84c0e2 Add amount of data to Image and make image sending process more efficient 2021-04-09 15:03:18 +02:00
Ylva Selling
4e358fe122 Restructure code for parsing xml to make it more readable 2021-04-08 11:18:23 +02:00
Ylva Selling
a84e8ee48b Bugfix for parsing the xml. Now all images (only with non-empty urls though) are loaded. 2021-04-08 09:58:47 +02:00
Ylva Selling
67a39652d5 Make it possible to select images in GUI and thereby loading them into WWT, and bugfix for parsing xml 2021-04-08 09:35:46 +02:00
Ylva Selling
3f68ea9b4d Send over image name and url to GUI api 2021-04-07 16:15:19 +02:00
Ylva Selling
794902d5cb Merge branch 'thesis/2021/skybrowser' of https://github.com/OpenSpace/OpenSpace into thesis/2021/skybrowser 2021-04-06 15:11:25 +02:00
Ylva Selling
b8d1c33eed Add Lua function to send the image thumbnail url:s to the api 2021-04-06 15:11:14 +02:00
Ester Lindgren
8ffee81e64 Merge resolve 2021-04-06 08:48:37 +02:00
Ester Lindgren
c234b69436 Add function to drag and change view within browser 2021-04-06 08:44:42 +02:00
Ylva Selling
f99f3e88a9 Move the WWT data handling to class WWTDataHandler and add pointer in module 2021-03-31 17:03:30 +02:00
Ylva Selling
b95d6e5b94 Change rapidxmlparser to tinyxml2 and add more extensive xml parsing and image loading 2021-03-31 16:41:38 +02:00
Ylva Selling
b88d58edbb Merge branch 'thesis/2021/skybrowser' of https://github.com/OpenSpace/OpenSpace into thesis/2021/skybrowser 2021-03-30 08:31:20 +02:00
Ylva Selling
d4e944f73f Add webgui to cmake include dependencies 2021-03-30 08:29:57 +02:00
Ylva Selling
ec138b6897 Add function to save URL to file, parse to XML tree and insert into vector as images 2021-03-30 08:28:32 +02:00
Ylva Selling
0b85180bb5 Add rapid xml parser 2021-03-30 08:24:22 +02:00
Ester Lindgren
19aa6895fd Set fixed width of square target border 2021-03-29 09:57:55 +02:00
Ylva Selling
d72080b2f6 Merge branch 'thesis/2021/skybrowser' of https://github.com/OpenSpace/OpenSpace into thesis/2021/skybrowser 2021-03-29 08:27:53 +02:00
Ylva Selling
bb5042cd50 Create functions to display WWT images 2021-03-29 08:27:40 +02:00
Ester Lindgren
7ec1da10f1 Merge resolve 2021-03-23 17:07:00 +01:00
Ester Lindgren
18e5916a04 Set the crosshair of target to have fixed linewidth 2021-03-23 16:46:52 +01:00
Ylva Selling
74609230b6 Make browser and target highlight when the mouse is hovering on them 2021-03-23 15:01:40 +01:00
Ylva Selling
6ff0e6475a Ensure target and browser always are visible together by using the enabled flag 2021-03-23 09:51:15 +01:00