26 Aug, 2021

1 commit


25 Aug, 2021

3 commits


24 Aug, 2021

1 commit

  • * CLP: Clean up naming in task_navigator.py
    
    Namely, be more specific about the type of trigger input (in this
    case, the serial port), as nowadays the MIDI input can be used for
    triggering, as well.
    
    * CLP: Remove unused variable 'trigger' from Navigation class
    
    * CLP: More clean-up related to serial port communication
    
    - Change invesalius.data.trigger to invesalius.data.serial_port_connection
    
    - Rename the class TriggerNew to SerialPortConnection
    
    - Remove the old, unused Trigger class
    
    - Rename a couple of variables in SerialPortConnection class
    
    - Replace the incorrect docstring for SerialPortConnection class with a
      brief but more accurate docstring.
    
    * CLP: More clean-up in SerialPortConnection
    
    - Remove commented out code
    
    - Remove some blank lines from function definitions
    
    - Do not import sleep from time library, but instead use time.sleep
    
    * MOD: Allow selecting COM port when enabling serial port communication
    okahilak
     

23 Aug, 2021

1 commit


20 Aug, 2021

2 commits


19 Aug, 2021

7 commits


18 Aug, 2021

6 commits


17 Aug, 2021

4 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

3 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