Commit Graph

72 Commits

Author SHA1 Message Date
denizdiktas bf4edb99f6 move verification code to a separate class (Verification) 2023-08-16 11:45:27 +03:00
denizdiktas 1015f04679 minor refactor: redefined new_faces as member variable 2023-08-16 11:09:31 +03:00
denizdiktas 544942e8ab refactor: moved triangulation code to a separate class 2023-08-15 20:53:19 +03:00
denizdiktas 60a9ce2e1b Added: country selection 2023-08-15 12:31:30 +03:00
denizdiktas 88b2e91ac1 bug fixed: sphere ray intersection 2023-08-15 11:12:19 +03:00
denizdiktas b028dca7f8 started working on sphere-line intersection in GUI 2023-08-14 19:39:58 +03:00
denizdiktas 3b8aa1d2fc reverted back to each country having a unique color (a little dimmed) 2023-08-14 11:06:42 +03:00
denizdiktas 08a695bba8 reduced color-set (neighboring countries got different colors from a minimal set of colors 2023-08-13 21:20:55 +03:00
denizdiktas d97d364cfc can render each country in different color now 2023-08-13 18:17:05 +03:00
denizdiktas ee279d4302 grouped triangles by countries 2023-08-13 18:01:25 +03:00
denizdiktas f1faa51541 added copyright notices 2023-08-12 16:49:02 +03:00
denizdiktas 2493be17e3 added a single global static Geom_traits object in Aos.cpp for all operations 2023-08-12 16:26:53 +03:00
denizdiktas 0c3ab6d10a code cleanup 2023-08-12 16:18:13 +03:00
denizdiktas 66d0ef8c80 incorporated json reader from globe project 2023-08-12 14:40:15 +03:00
denizdiktas a4c56c9f3d added: 2 flags when recording the faces and code to check the smallest country 2023-08-11 15:34:04 +03:00
denizdiktas 93811dfe4a added: source and target attributes to each edge in json format 2023-08-11 13:12:06 +03:00
denizdiktas 64bafda02f added anti z-fighting capability to smooth-shader 2023-08-10 12:57:17 +03:00
denizdiktas 72547412db solved the triangulation error 2023-08-10 12:33:03 +03:00
denizdiktas dbd95118e3 initiali triangle visualization (triangles outside of the polygon are rendered as well) 2023-08-10 11:54:39 +03:00
denizdiktas f80b980242 added: initial triangulation code 2023-08-10 10:11:50 +03:00
denizdiktas 249b41236d modified file format 2023-08-08 11:03:48 +03:00
denizdiktas 16863d7148 modified the arr-saving function 2023-08-01 13:18:55 +03:00
denizdiktas 5ba1864147 working on JSON-loading 2023-07-30 16:42:42 +03:00
denizdiktas 1995b8b61f corrections for saving the json file 2023-07-28 13:24:42 +03:00
denizdiktas ddaa233443 minor refactor 2023-07-28 12:06:37 +03:00
denizdiktas c2f323b55a saving the vertices and edges for now (intermediate commit) 2023-07-24 17:18:54 +03:00
denizdiktas 39504e536c Added: JSON parser (with example) 2023-07-24 12:27:30 +03:00
denizdiktas db132c30f8 commented out shapefile 2023-07-23 13:30:42 +03:00
denizdiktas f5f0995a62 Finished: code to identify the newly created faces: previous approach changed. Newly added faces are shown in red 2023-07-18 17:42:26 +03:00
denizdiktas 9014f8833e Initial implementation of checking the newly created faces during the arrangement construction 2023-07-17 17:54:24 +03:00
denizdiktas a43389da33 bug fix: confirmed that the previous opengl error was due to the inactive OpenGL context. Fixed it by moving the update function into paintGL(). This causes a delay when updating the approximation, will probably need multithreaded solution (low-priority / future work) 2023-07-17 13:00:51 +03:00
denizdiktas 13111f4b9e Added: Message_manager to notify changes in zoom (trying to recompute the country boundaries results in strange OpenGL problems) 2023-07-17 11:47:42 +03:00
denizdiktas 92c6c1794f Added: Timer class to time the computation of the approximation of country borders 2023-07-14 12:30:46 +03:00
denizdiktas f7b1d1675a Refactor: moved commonly calculated values in the manipulators up to the base class 2023-07-14 11:50:58 +03:00
denizdiktas 70247a17ab clean-up 2023-07-13 19:35:10 +03:00
denizdiktas 8bbb43c10e Refactor: camera manipulator for zoom moved to its own class 2023-07-13 19:21:36 +03:00
denizdiktas 96c81a0794 Refactor: camera manipulator bpa moved to its own class by deriving from camera_manip 2023-07-13 18:44:18 +03:00
denizdiktas b800d9a7f5 Refactor: moved basic gui-handling in Camera_manip_rot into Camera_manip 2023-07-12 19:21:18 +03:00
denizdiktas e7db9ce172 Refactor: moved camera rotation-manipulator to its own class 2023-07-12 18:18:20 +03:00
denizdiktas 78cead66e2 minor refactor 2023-07-12 17:28:34 +03:00
denizdiktas 19bb136f38 Refactor: moved shapefile reader to its own class 2023-07-12 11:36:23 +03:00
denizdiktas 2d2174d2cc Added: code to check for problematic nodes in Africa region and verify the redundant node in Antarctica 2023-07-11 21:34:15 +03:00
denizdiktas 824d9890c5 minor refactor 2023-07-10 20:38:27 +03:00
denizdiktas 83d22ace80 node-collapsing (very basic) 2023-07-10 20:12:51 +03:00
denizdiktas 258b40a7d7 Working on identifying the vertex problems 2023-07-10 15:52:04 +03:00
denizdiktas ea0604eddc Implemented: defining polygons with node-ids 2023-07-08 13:29:41 +03:00
denizdiktas daf548c58c refactor 2023-07-07 17:35:53 +03:00
denizdiktas 7ba83df90a Added: identification curve in the scene 2023-07-07 14:56:05 +03:00
denizdiktas 9f98df3d16 Refactor 2023-07-05 12:35:18 +03:00
denizdiktas d5c4d3fd64 Implemented: check for problematic arc in Antarctica (looks like it is repeating 2 points in the south pole so that they can be seen in the projected planar coordinates when the coordinates are wrapped along the x-axis (longitude) 2023-07-04 14:36:21 +03:00