1
0
Fork 0
mirror of https://github.com/gwm17/Specter.git synced 2024-11-23 02:38:52 -05:00
Commit Graph

67 Commits

Author SHA1 Message Date
Gordon McCann 8ea527c69f Added in a test server for debugging online connections. Fixed numerous errors in CompassOnlineSource and PhysicsEventBuilder. Now passes simple test, should be ready for full connection to CoMPASS. Also added Timer for profiling (eventually). 2022-04-11 09:41:24 -04:00
Gordon McCann bed9b0fc1e Fixed janky FileDialog, now has properly implemented state control. 2022-04-02 21:45:12 -04:00
Gordon McCann e27d29e919 Created Core subdirectory in src and made relevant changes to includes 2022-03-31 15:43:49 -04:00
Gordon McCann b46df04c00 Several big changes. Biggest change: Added in Summary spectra!! Fully integrated into system. Changed spectrum and cut type identification to avoid extra string comps. Cut checking now handled differently, hopefully more efficiently (needs profiling). Renamed Resources to Assets to avoid Xcode weirdness 2022-03-31 15:23:45 -04:00
Gordon McCann 6837418ffa Added some much needed functionality to parameters. Can now bind with a default histogram, set parameters after default construction 2022-03-18 09:22:29 -04:00
Gordon McCann 34b448f850 Added descriptive comments to rest of code 2022-03-17 17:34:59 -04:00
Gordon McCann e930448180 Structure overhaul. Revert to static linking, otherwise ImGui becomes really messy when making a new panel in the NavProject. Add a new example add-on panel for SPS, mass table. 2022-03-08 22:44:13 -05:00
Gordon McCann 2c4af3a0e0 Finished adding in initial comments 2022-03-06 15:17:54 -05:00
Gordon McCann 060183e26f Started commenting code properly. Core done. 2022-02-27 22:20:38 -05:00
Gordon McCann b805cf9292 Fixed a small bug in the RemoveSpectrum line. Added exporting for histograms to .csv files. 2022-02-26 23:38:54 -05:00
Gordon McCann eb19c8a603 Also remove all OpenGL specific custom rendering stuff. 2022-02-24 18:20:29 -05:00
Gordon McCann f48a0207a8 Removed unused rendering code. Thanks to the awesome power of ImPlot and ImGui, it will likely never need a full custom render pipeline for any practical reason 2022-02-24 18:19:32 -05:00
Gordon McCann d93ba5b97e Fixed serialization such that all existing spectra and cuts are wiped out before loading new file. Removed a few logs that are no longer relevant 2022-02-23 20:54:53 -05:00
Gordon McCann e27d537788 Added colorbar and adjustable color scale to zoomed in 2D histograms 2022-02-22 20:11:08 -05:00
Gordon McCann 41dedeef25 Hotfix: accidentally removed check on whether parameter value was in bounds for a histogram, replaced the check for both 1d and 2d 2022-02-21 21:14:35 -05:00
Gordon McCann 5f716b74e6 Major overall of internal resource management. Unify maps of histos, cuts, and params to one single static SpectrumManager. Change a bunch of stuff to reflect this 2022-02-20 22:19:33 -05:00
Gordon McCann d1412560ff Minor cleanup of leftover prints 2022-02-19 15:00:44 -05:00
Gordon McCann d1636839db Fixed small bug in the CompassRun class where uninitialized m_startIndex would max 2022-02-19 14:13:10 -05:00
Gordon McCann 6dd5f7f1c6 Major overhaul of the Physics side. Isolate CAEN classes, create NavData. Re-name HitSort to PhysicsEventBuilder. 2022-02-19 11:30:46 -05:00
Gordon McCann e9700170e7 Small bugfix to the centering of text in the integral region 2022-02-15 21:18:03 -05:00
Gordon McCann 5b1dbb02f2 Switched default font 2022-02-12 20:32:57 -05:00
Gordon McCann 7d9eb141af Squash MSVC linker warnings on dll import/export. Make some casts explict to avoid compiler warnings. 2022-02-12 19:50:48 -05:00
Gordon McCann e049927049 Removed viewport functionality for now, due to linux issues. Added in basic stats for histogram regions 2022-02-12 16:25:49 -05:00
Gordon McCann 1aa7a41596 Added Clear and ClearAll Buttons and functionality to histograms. 2022-02-05 23:26:33 -05:00
Gordon McCann e8166cdbcd Added intial test classes to NavProject for use with SPS data. After brief testing, obv issue that analysis speed tied to rendering rate. Reverted to multi-threaded case, albeit with layer style 2022-02-05 13:20:45 -05:00
Gordon McCann ec401030e1 Fixed some semantics to reduce warnings from strings in ImGui widgets. HistogramMap now has a nullResult member 2022-02-03 16:18:24 -05:00
Gordon McCann 8c6fce5220 Added Font Awesome icons, as well as icon header library. Editor now has icons for various actions 2022-01-29 20:15:13 -05:00
Gordon McCann 3049ee7025 Fixed some string concat cases in panels and EditorLayer 2022-01-27 21:50:11 -05:00
Gordon McCann 695c647d71 Added port functionality to source events. Minor bug fixes for path display on FileDialog 2022-01-27 17:08:15 -05:00
Gordon McCann 3573bd5de4 Fixed some minor issues with semantics and header locations for asio 2022-01-26 11:45:34 -05:00
Gordon McCann 6219b3006e Cleaned up application class some 2022-01-23 22:32:39 -05:00
Gordon McCann ab374ef4e8 Fixed logic for updating histograms and checking cuts. Implemented small test on single parameter. Validated 2022-01-23 21:32:30 -05:00
Gordon McCann 343424ead7 Added removal dialogs for both spectra and cuts. Lightly tested. 2022-01-23 20:45:31 -05:00
Gordon McCann 37e10eae1f Added in SourceDialog as well as event callback for detach. Should be mostly functional now (except for non-standard ports) 2022-01-23 17:36:21 -05:00
Gordon McCann de5fc21ccc Added asio submodule for socket and created CompassOnlineSource. Needs testing. Some refinement to come for the source classes I think 2022-01-23 13:48:14 -05:00
Gordon McCann 5177908c02 Added SpectrumSerializer class as well as minor bug fixes to the open/save dialog 2022-01-22 20:05:08 -05:00
Gordon McCann 1f7e1a49ae Updated rendering pipeline so that, eventually, there will be full functionality. Not actively used 2022-01-22 15:45:37 -05:00
Gordon McCann fe775ceb77 Now can add cuts by drawing on a zoomed histogram. SpectrumPanel code will probably need a cleanup, as the render function is now quite busy 2022-01-20 21:32:00 -05:00
Gordon McCann ee28fef0c4 Fixed CutMap and ParameterMap to also use their underlying parameter structs in creation. Started cut UI 2022-01-20 17:15:02 -05:00
Gordon McCann f047b8450c Update to header to reflect changes 2022-01-19 22:46:39 -05:00
Gordon McCann 88502eec77 Added SpectrumDialog to Editor. Fixed histogram classes to use parameter struct as construction input. 2022-01-19 22:45:14 -05:00
Gordon McCann ccaae99472 Switched to single threaded application. Reduce complexity, until proven needed 2022-01-18 22:13:55 -05:00
Gordon McCann 66e1065394 Cuts now implemented, drawn and applied to histograms 2022-01-17 16:42:12 -05:00
Gordon McCann a2a01e568b Cuts mostly implemented. Finishing touches coming shortly 2022-01-17 14:28:23 -05:00
Gordon McCann 87b2041e8f Beginnings of cuts 2022-01-17 11:09:00 -05:00
Gordon McCann 3e6a429bb9 Editor now in a semi-usable state, with spectrum panel, spectrum list, file dialog 2022-01-16 23:53:51 -05:00
Gordon McCann 74ae4818ab Added in feature to zoom in on a specific plot with double click 2022-01-13 17:29:43 -05:00
Gordon McCann f91a3dce69 Editor now can display plots, list available spectra with info. Made HistogramMap fully thread safe, and minimized amount of cross-thread calls. 2022-01-12 21:37:20 -05:00
Gordon McCann 530d0bf8e3 Beginning development of UI 2022-01-10 17:31:55 -05:00
Gordon McCann 3f7ba739a4 Replaced std::bind and std::function to reduce code overhead. Simplified EventDispatcher templating 2022-01-09 17:13:09 -05:00