17 Aug, 2021
3 commits
16 Aug, 2021
1 commit
12 Aug, 2021
1 commit
09 Aug, 2021
1 commit
-
* add add_object_orientation_disk and add_addobjectArrow functions, add orientation disk and projection arrow actors * add getCenter and getNormal functions, create locator and add self.peel_centers and self.peel_normals variables, add to calculate normals and centers when calling getPeelActor (new peel) * add GetPeelCenters and Initlocator_viewer and corresponding publisher call * add in OnLinkBrain and TractographyPanel class (OnSelectPeelingDepth) call to get peel centers and normals and initiator) * remove print on GetPeelCenters and Initlocator_viewer * add objectArrowlocation to calculate coil norms and directions * Add UpdateObjectArrowOrientation and Getcellintersection - getcellintersection function calculates the intersection between the coil normal and the peel center -calculates the angle between the coil normal and the normal of the center of the intersected cell -shows the coil projected with arrow and disk -Color of the disk and arrow change according to the value of the angle between the normal of the coil and the peel center mesh intersected. -updateobjectarroworientation is used to show and update the position of the projected arrow and disk * add comments, removed not used code on class def, modify currentPeel as local variable * modify getPeelActor removing input currentPeel * add affine_vtk matrix as input to getPeelActor, add change position of curent peel * add case when not intersection found in getcellintersection function * add remove arrow and disk actor only when intersecting with the peel * add comments to getcellintersection function, remove TODO * add comment to getcellintersection * add transformpeelposition function * add setvisibility to arrow and disk actor on OnNavigationStatus * add tangent lines for debuggint at getcellintersection function * add coil_dir from coordinates from tracker to objectArrowlocation * modify visibility of disk and coil projection arrow, to be shown when coil is not shown * comment tangent lines for debuggin on getcellintersection * modify names of functions to invesalius naming convention * correct mispelling error when calling GetCellIntersection * add angle threshold for projectio arrow in constansts * add angle threshold for arrow projection in constants * change size of disk and arrow in coil projection * add normal lines for debugging arrow projection * Modify function names to invensalius convention * add condition for track if peel is loaded or not * fix removing arrow and disk projection when distance is larger than set value, removing normal lines for debugging * clean comments * add self.peel_loaded to vis_components * Modify UpdatePeelVisualization to pass peel_loaded from navigation class * change color disk and arrow
06 Aug, 2021
1 commit
-
-ENH: stop navigation to perform ICP -FIX: remove ICP thread to avoid vtk freezing
05 Aug, 2021
2 commits
04 Aug, 2021
3 commits
-
MOD: Refactor task_navigator.py
03 Aug, 2021
2 commits
-
Revert "FIX: Locale problem crashing with Windows 10 and certain locales (#283)"
02 Aug, 2021
1 commit
-
This reverts commit 30ae50b1b29bb0d9c331971f0190fe7b5332e12b.
29 Jul, 2021
4 commits
-
the renderer.
-
* ADD: Remote control via Socket.IO - Add a command line option (--remote-host) to connect to a remote server via Socket.IO. - Add a hook to send all internal events to the remote server using `from_neuronavigation` event. - Add a Socket.IO event listener for `to_neuronavigation` events, send publish those events internally. * FIX: WxPython-UI modifying Socket.IO messages not working * FIX: Allow sending message to neuronavigation with data None * Review comments: Create RemoteControl class under invesalius/net * Review comments: Move invesalius_pubsub dir to invesalius/pubsub * ADD: Python modules needed by Socket.IO to requirements.txt * MOD: Move python-socketio to optional-requirements.txt - Also, change the requirement name from python-socketio to python-socketio[client], causing all dependencies needed by the Socket.IO client (e.g., requests) to be installed - Due to that, remove explicit 'requests' library from the requirements Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
-
- Some steps towards decoupling GUI and domain logic, namely, by adding classes Navigation and Tracker, which take some of the responsibility previously handled by NeuronavigationPanel. - This is done to prepare to do some changes in the GUI, such as moving "Navigate" button elsewhere -- previously, it was hard to do due to the elements in the GUI being tightly coupled with the implementation of navigation. - Also some other minor clean-up and style improvements, such as using more consistent and more descriptive variable names
28 Jul, 2021
1 commit
-
* ADD: Optional use of trigger pedal - Show the pedal status in a checkbox in the UI. Add actual functions for the pedal later. - For now, hide the feature behind a feature-flag (--use-pedal) * Review comment: Make MIDI requirements optional Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
27 Jul, 2021
1 commit
-
* MOD: Get raw coordinates to create points from probe * ENH: Improve processing data with a new thread -ADD: Enable/Disable Done and Apply buttons * MOD: show the amount of poses recorded * FIX: removes ICP matrix after disconnect tracker
26 Jul, 2021
1 commit
20 Jul, 2021
4 commits
-
Essentially, start/stop navigation using "Start navigation" and "Stop navigation" events. Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
-
- Check that the target is not None before transforming it in CoordinateCorregistrate class. Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
-
- It had broken due to a mix-up between fiducial name ("LE") and label ("LEI"). Fix by doing the mapping from label (which is stored on disk) to name before triggering 'Set image fiducial' event. Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
-
- FIX: Locale problem crashing with Windows 10 and certain locales (closes #283). Fix locale problem by calling self.ResetLocale() instead Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
19 Jul, 2021
1 commit
-
* ADD: support polaris P4 * ENH: remove tracker IDs * ADD: PolarisP4 roms files * FIX: disconnect - debug approach tracker
18 Jul, 2021
2 commits
-
- self.target was initialized in the wrong class, causing the neuronavigation to not work when a target is not defined. Move the initialization to the correct class. - Due to a minor mistake in previous merge conflict resolution, UpdateTarget function was defined twice. Remove the redundant definition. Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
-
Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
16 Jul, 2021
2 commits
15 Jul, 2021
5 commits
-
* MOD: Set fiducials via 'Set fiducial' event * MOD: Create 'Set tracker fiducial' event * MOD: Decouple fiducial name (e.g., 'LE') from marker and button name ('LEI') Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
-
* ADD: 'Set markers' event to set all markers directly Not used by InVesalius, but useful when controlling InVesalius remotely and wanting to override InVesalius's own markers. * MOD: Allow updating target with 'Set markers' event * MOD: Remove target in 'Set markers' event if no target is selected * MOD: Enable target button when setting target remotely Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
-
Not used by InVesalius, but useful when wanting to have the information about coil being at the target or not outside InVesalius. Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
-
Co-authored-by: Olli-Pekka Kahilakoski <olli-pekka.kahilakoski@aalto.fi>
12 Jul, 2021
1 commit
01 Jul, 2021
1 commit
30 Jun, 2021
1 commit
-
* add initial modifications to add optitrack tracker * fix variable names on coordinate function of optitrack * add transformation euler from quaternion * fix input order of quaternions to euler_from_quaternion function * add conversion to degrees in quaternion transformation on optitrack funcion * fix scale * fix coordinates order in array and modify X,Y,Z coordinate system in optitrack coordinate function * add update cameras/frame function before Run function * add Run function after Initialize * removed update before Run optitrack function * reduce Sleep_navigation variable * add documentation to optitrack functions * add condition to when optitrack hardware Key is not found
28 Jun, 2021
1 commit