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
    sotodela
     

06 Aug, 2021

1 commit


05 Aug, 2021

2 commits


04 Aug, 2021

3 commits


03 Aug, 2021

2 commits


02 Aug, 2021

1 commit


29 Jul, 2021

4 commits

  • Thiago Franco de Moraes
     
  • the renderer.
    Thiago Franco de Moraes
     
  • * 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>
    okahilak
     
  • - 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
    Olli-Pekka Kahilakoski
     

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>
    okahilak
     

27 Jul, 2021

1 commit


26 Jul, 2021

1 commit


20 Jul, 2021

4 commits


19 Jul, 2021

1 commit


18 Jul, 2021

2 commits


16 Jul, 2021

2 commits


15 Jul, 2021

5 commits


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
    sotodela
     

28 Jun, 2021

1 commit