Skip to content
Snippets Groups Projects
  1. Apr 13, 2016
  2. Apr 12, 2016
  3. Apr 08, 2016
    • Alexis Girault's avatar
      ENH: Improve Viewer Simulation control · 22fb2144
      Alexis Girault authored
      (1) `SimulationManager::startSimulation()` will check if a Viewer is
      already rendering, and will only start a rendering/interaction loop
      in the main thread if it isn't. This allows us to work with two
      possible cases:
      (a) a QT Application with an existing widget for rendering, in which
      case we do not want to control the rendering window ourself in a loop
      (b) a standalone `vtkRenderWindow` application, in which case we do
      want to create a window when our simulation starts and loop until the
      window is closed.
      
      (2) `SimulationManager::startSimulation()` can be launched with a debug
      boolean option (off by default), which will allow to not automatically
      simulate the dynamics of the scene, to be able to interact with the
      scene beforehand (using the mouse).
      
      (3) `imstk::InteractorStyle` is based on vtkInteractorStyle specifically
      the trackballCamera and allows to ignore mouse events in simulation mode,
      and uses key events to control the simulation:
      's' : start simulation
      'e' : end simulation
      ' ' (space) : pause/run simulation
      
      (4) The `Viewer` class and the `InteractorStyle` class have been moved
      to the `SimulationManager` module, since they are more drivers of the
      application themselves.
      
      (5) The 'Sandbox' example has been refactored to make it easier to test
      autonomous tests, and updated to use the new driver architecture brought
      with this commit.
      22fb2144
  4. Apr 07, 2016
    • Alexis Girault's avatar
      ENH: add Render mode option · 7dffdcbc
      Alexis Girault authored
      - SIMULATION adds the object actors and set the
      interactor style to no interactions.
      - DEBUG adds additional actors to visualize
      lights, the camera, axis, and set the interactor
      style to trackball to interact with the scene.
      7dffdcbc
    • Alexis Girault's avatar
      ENH: Add Camera API · bd8a2dcb
      Alexis Girault authored
      bd8a2dcb
  5. Apr 05, 2016
  6. Apr 04, 2016
  7. Apr 01, 2016
  8. Mar 29, 2016
  9. Mar 28, 2016
  10. Mar 23, 2016
  11. Mar 22, 2016
  12. Mar 17, 2016
  13. Mar 09, 2016
  14. Mar 03, 2016
  15. Jan 28, 2016
  16. Jan 26, 2016
  17. 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
  18. Jan 24, 2016
  19. Jan 22, 2016
  20. Jan 20, 2016
Loading