Skip to content
Snippets Groups Projects
  1. Jan 26, 2016
    • Alexis Girault's avatar
      ENH: implement VTKViewer::setVtkRenderWindow · a417bb11
      Alexis Girault authored
      - This calls `VTKRenderer::setRenderWindow`. Needed to use a
      vtkRenderWindow from another instance (example : for a QT
      application, use QVTKWidget renderwindow)
      - Rename `VTKViewer::getRenderWindow` to `getVtkRenderWindow`
      - Use internal functions in `getVtkCamera` and `getVtkRenderer`
      a417bb11
  2. Jan 25, 2016
    • Alexis Girault's avatar
      ENH: Refactor VRPN Server/Client API · 989a8106
      Alexis Girault authored
      Allows for the following workflow :
      1) Create a `VRPNDeviceClient` by specifying its URL (name@ipadress)
      and its type (see `DeviceType` class). The subclass `VRPNForceDevice`
      is setting the style to `PHANTOM_OMNI` by default for now.
      2) Create a `VRPNDeviceServer`
      3) Call `VRPNDeviceServer::addDeviceClient()` to add the client created
      on step 1). This will analyse the IP, name, and type of the device
      client to instantiate a VRPN device connection. The added devices are
      then stored in three `std:map` so the `mainloop()` can be called during
      the execution.
      
      Updated their use in `FEMSimulator` and `LaparoscopicCamera` examples.
      989a8106
  3. Jan 24, 2016
  4. Jan 22, 2016
  5. Jan 20, 2016
  6. Jan 13, 2016
    • Alexis Girault's avatar
      ENH: Update CameraController architecture · a41a8090
      Alexis Girault authored
      - Migration of the camera update by external device
      from VTKViewer to LaparoscopicCameraController.
      - Removal of obsolete cameraConfigurationData struct
      - Cleaning of unused variables and of style
      - Simplification of the cameraController feature
      in the LaparoscopicCamera example.
      a41a8090
    • Alexis Girault's avatar
      BUG: allow DisableMouseInteraction in LaparoscopicCamera · 7b9b5153
      Alexis Girault authored
      In the LaparoscopicCamera example the mouse interaction
      was supposed to be disabled, but by setting the new
      interactor style after the viewer initialization, the
      observers rules on the vtkViewer interactor were
      overridden. Placing the interactorStyle beforehand
      resolves the issue.
      
      In the future it would be convenient to have wrapped
      functions in IMSTK to make changes to the interactor
      without the need to go through VTK.
      7b9b5153
  7. Jan 11, 2016
  8. Dec 08, 2015
  9. Dec 03, 2015
  10. Dec 02, 2015
  11. Dec 01, 2015
Loading