1. 05 Mar, 2018 1 commit
    • luz.paz's avatar
      Misc. typos · d77327a4
      luz.paz authored
      Includes source typos that have been squashed. 
      d77327a4
  2. 16 Feb, 2018 10 commits
    • Benjamin Beney's avatar
      ENH: Add support of multiple files loading · 988cd448
      Benjamin Beney authored
      Replace deprecated didPickDocumentAtURL by didPickDocumentsAtURLs.
      Set allowMultipleSelection boolean on document picker to true.
      Add loadFiles() function. Handle NSArray<NSURL*>* instead of NSURL*.
      Add a way to reset the scene before adding multiple files (user is
      prompted with an alert message to pick whether the scene should be reset or
      not).
      988cd448
    • Alexis Girault's avatar
      ENH: Add example data to VTKViewer · d8e58500
      Alexis Girault authored
      - Create `ExampleDataManager` to list the URls of datasets to use as
      example data for VTKViewer, and download them
      - When the app starts, download the example datasets to the app Document
      directory
      - Keep track of what data was downloaded to avoid redownloading datasets
      (for example, if the user deleted or moved some)
      - Set `UISupportsDocumentBrowser` to TRUE in Info.plist to be able to
      access that directory from the `UIDocumentPickerViewController`
      - Use data stored on data.kitware.com at:
      https://data.kitware.com/#collection/5a1342ee8d777f31ac64f1d1/folder/5a1343028d777f31ac64f1d2
      d8e58500
    • Benjamin Beney's avatar
      ENH: Open url to load from outside of VTKViewer · 60567337
      Benjamin Beney authored
      - If app already opened, directly load file
      - If app not yet opened, store url, load VTKViewController, then load file
      Co-Authored-By: Alexis Girault's avatarAlexis Girault <alexis.girault@kitware.com>
      60567337
    • Alexis Girault's avatar
      Add loading utilities in VTKViewer · 24b3a9ca
      Alexis Girault authored
      - Add `com.kitware.vtk` exported UTIs for files with the extensions vtk,
      vti, vtp, vtr, vts, vtu
      - Add `VTK Viewer Supported Files` document type including `com.kitware.vtk`
      UTI as well as `public.standard-tesselated-geometry-format` for stl,
      `public.geometry-definition-format` for obj,
      and `public.polygon-file-format` for ply
      - Add a button in VTKViewController header to open documents through a
      `UIDocumentPickerViewController`
      - Add `VTKLoader` to setup the proper readers and create a polydata or
      datasetmapper (no specific volume mapper or slice mapper for images yet)
      then setup the mapper and return an actor
      
      Co-Authored-By: "Benjamin Beney <benjamin.beney@kitware.com>"
      24b3a9ca
    • Alexis Girault's avatar
      UI: Update VTKViewer UI · 4e3998d2
      Alexis Girault authored
      - Get rid of navigation controller and tab bar controller
      - Make `VTKViewController` the starting view controller
      - Add header bar where will lay the options
      - Hide/Show header bar on double tap
      4e3998d2
    • Alexis Girault's avatar
      UI: Hide status bar in VTKViewer · 37382e96
      Alexis Girault authored
      37382e96
    • Benjamin Beney's avatar
      Switch VTKViewer AppDelegate to swift · ce9504a2
      Benjamin Beney authored
      ce9504a2
    • Alexis Girault's avatar
      ENH: Improve VTKViewer performance by limiting render calls · 23badbe8
      Alexis Girault authored
      By default, the interactor triggers a render call everytime an event
      occurs. There is too many events occuring when using ios gestures since
      there is no mechanism to squash them. This will result in render calls
      being queued and performance decreasing.
      
      Setting `EnableRender` to Off on the interactor will allow to only render
      using `setNeedsDisplay`. That flag can be set on the vtkView when render
      is needed (see in VTKGestureHandler), and will result in a rendered frame
      only when the device is able to render.
      23badbe8
    • Alexis Girault's avatar
      ENH: Improve VTKViewer gesture handler · be94af0b
      Alexis Girault authored
      - Init with vtkview only to have gestures only setup for vtkview, which
      allows to get rid of `gestureRecognizerShouldBegin`
      - Implement `forwardTouchPositionToInteractor` to forward gesture position
      to the vtk interactor
      - Get rid of obsolete rotation speed
      - Replace translation speed by the GLKView scale factor
      - Merge onTwoFingerPan and onTrackBallMotion to handle the switch between
      1 to 2 fingers and vice-versa without releasing all fingers
      - Get rid of unused gesture handlers (single tap, double tap, long press)
      - Get rid of last touch (will be needed for CT scrolling only)
      - Get rid of boundingBox in VTKViewController (not needed in gestures)
      be94af0b
    • Alexis Girault's avatar
  3. 03 Jan, 2018 1 commit
  4. 12 Oct, 2017 1 commit
    • David Gobbi's avatar
      Fix tabs and utf-8 quotes in source code · d636213c
      David Gobbi authored
      Some VTK source code still had tabs (even some of the .py files!).
      Also, several comments used utf-8 quotes, which are hard to tell
      from regular quotes by eye and can lead to confusing mistakes.
      d636213c
  5. 06 Oct, 2017 3 commits
  6. 12 Apr, 2017 5 commits
  7. 01 Nov, 2016 1 commit
    • Ken Martin's avatar
      Remove ES2 support for VTK 8.0 · 0f750114
      Ken Martin authored
      ES2 is causing headaches and code mess and is
      getting old. Remove for 8.0 so we can focus on
      more modern APIs. Most Apple and Adroid devices
      from the past 4 years support ES3.
      0f750114
  8. 26 Sep, 2016 1 commit
  9. 10 Mar, 2016 1 commit
  10. 08 Mar, 2016 2 commits
  11. 25 Feb, 2016 1 commit
    • Ken Martin's avatar
      updated to avoid constraint warning · f5a0c4e3
      Ken Martin authored
      The cload load box was causing some sort of sizing constraint
      issue when animated. No clue why. Turned animaiton off and the
      issue goes away. Also added file type icons.
      f5a0c4e3
  12. 17 Feb, 2016 1 commit
    • Ken Martin's avatar
      ios improvements and new example · 4c9fe5c4
      Ken Martin authored
      A number of improvements and a new ios example
      
      - expose more module options in the ios build process
      - add support for gesture based events
      - add gesture reconition for cases where the native gesture
        recognizers are not used
      - modify the multitouch interactor style to be based off
        the gestures
      - modify the plane widget to support the pinch gesture as an example
      - create a new iOS example called planeview that demonstrates
        - using multitouch gestures
        - loading data from a cloud provider
        - using a splash screen
        - using a settings page to control options
        - using a probe widget
      4c9fe5c4
  13. 11 Nov, 2015 1 commit
  14. 16 Oct, 2015 1 commit
    • Ken Martin's avatar
      Update multitouch support to be more general and robust · 26df1206
      Ken Martin authored
      The android multitouch events seem to be fairly buggy out of android
      so we have tried to make our handling of them more robust. At the same time
      move some of the multitouch methods into vtkRenderWindowInteractor as
      opposed to the architecture specific subclasses.
      26df1206
  15. 14 Oct, 2015 1 commit
  16. 30 Dec, 2014 1 commit
    • Casey Goodlett's avatar
      Fix libpng "Not recognizing known sRGB profile that has been edited" · f555a21b
      Casey Goodlett authored
      This removes warnings emitted by libpng 1.6.10 on any idenitifed files
      
      Files were identified with the command line
      
      find . -name '*.png' -exec identify {} \; 1>/dev/null 2>files
      
      The "files" file was then edited to only the filenames and the fix was made with
      
      for i in $(cat files); do mogrify $i -strip $i; done
      
      Change-Id: Ib1a1a0274d28fcb26d7b6929c89c4b0960d65900
      f555a21b
  17. 15 Dec, 2014 2 commits
  18. 03 Dec, 2014 1 commit
    • Tim Thirion's avatar
      Surfaces example ported to iOS · 27fb188d
      Tim Thirion authored
      Text mappers and actors don't work yet, but everything else works well.
      
      Change-Id: I5a716cb48597e09b26f4d13b2319c271725aa6a9
      27fb188d
  19. 07 Oct, 2014 2 commits
  20. 06 Oct, 2014 1 commit
  21. 17 Sep, 2014 2 commits