Skip to content
Snippets Groups Projects
  1. Dec 17, 2024
  2. Dec 09, 2024
  3. Dec 06, 2024
  4. Nov 20, 2024
  5. Nov 15, 2024
    • Jaswant Panchumarti (Kitware)'s avatar
      Add setter and getter for the text on the axis buttons · 08f50e5f
      Jaswant Panchumarti (Kitware) authored
      - This commit adds setter/getter functions to customize the text on the buttons corresponding to different axis viewpoints.
      08f50e5f
    • Jaswant Panchumarti (Kitware)'s avatar
      Add setter for vtkCameraOrientationRepresentation::AnchorPosition · 199d8193
      Jaswant Panchumarti (Kitware) authored
      - this makes the property (de)serializable
      199d8193
    • Jaswant Panchumarti (Kitware)'s avatar
      Fix vtkCameraOrientationWidget animation for wasm · 4c02bc33
      Jaswant Panchumarti (Kitware) authored
      - Earlier, the animation only worked in VTK apps which used the X11/Windows/macOS interactors because it called `Render` without yielding to the external framework's event loop like Qt/Wasm.
      - This commit changes the design to use a repeating timer to interpolate camera step by step everytime the timer is fired. This now works in the wasm interactor because it ties into the `requestAnimationFrame` method which yields to the browser event loop.
      - It will most likely start to work in Qt as well.
      4c02bc33
    • Jaswant Panchumarti (Kitware)'s avatar
      Make vtkCameraOrientationWidget robust for deserialization · 9856f6f6
      Jaswant Panchumarti (Kitware) authored
      - This commit is a first step to getting the widget to deserialize
      correctly because during deserialization a different renderer
      is assigned as the default renderer.
      - When another renderer is provided, this commit carefully removes
      the previous reorientation observer. If the widget was previously
      enabled, it replaces the older renderer in the render window with the
      new renderer. Otherwise, upon deserialization, the render window had
      an extra renderer which originated from the constructor of
      `vtkCameraOrientationWidget``.
      - Updated baseline images which used the camera orientation widget
        because the widget now resizes itself to correct proportions
      9856f6f6
  6. Nov 04, 2024
  7. Oct 24, 2024
  8. Oct 07, 2024
  9. Oct 04, 2024
  10. Sep 30, 2024
    • Will Schroeder's avatar
      Fit the border to a fixed text size. · 8e6cec38
      Will Schroeder authored and Sankhesh Jhaveri's avatar Sankhesh Jhaveri committed
      The representation widget has been extended to easily support fixed
      font sizes. This means that no matter how the renderer size changes,
      the font size remains constant. Previously, the text scaled as the
      renderer size changed in size.
      8e6cec38
  11. Sep 28, 2024
  12. Sep 13, 2024
  13. Sep 10, 2024
    • Jaswant Panchumarti (Kitware)'s avatar
    • Jaswant Panchumarti (Kitware)'s avatar
      Enable runtime detection of GLX, EGL and OSMesa for OpenGL context · 04661f4b
      Jaswant Panchumarti (Kitware) authored
      - closes #18547
      - closes #19383
      - Use glad instead of glew for loading GL extension functions
      because GLEW has trouble using GLX and EGL in the same build.
      - Replaces the VTK::glew module with VTK::glad.
      - Removed the utility VTK::opengl module because it is unnecessary
      after the changes made to vtkOpenGLOptions.cmake
      - OpenGL is now loaded at runtime in desktop platforms.
      - For mobile and webassembly, when VTK_OPENGL_USE_GLES is ON,
      glad finds and links to the OpenGL::GLES3 library.
      - Support for OSMesa is always available from VTK. Users must make
      sure the libOSMesa.so or osmesa.dll is installed.
      - Support for EGL is always available from VTK in Linux and Android.
      Users must make sure libEGL is installed.
      - On platforms where multiple render window backends are possible, the
      vtkOpenGLRenderWindow is made the default factory override and it's
      New method implements runtime tests to determine what render windows
      can work. It basically constructs the platform implementation render
      window, attempts to initialize it and checks whether it was
      successfully intialized.
      - The X OpenGL render window class was updated to not call abort.
      It also print warnings instead of errors when it fails to open X
      display. This allows us to safely test support for GLX at runtime.
      - The new environment variable VTK_DEFAULT_OPENGL_WINDOW
      can optionally be used to force a render window subclass
      at runtime. It is useful to debug support for a fallback render
      window on different system configuration.
      - Remove usage of unnecessary CMake flag VTK_OPENGL_HAS_MESA.
      - Since there is no compile time depedency for OSMesa in VTK,
      this commit makes VTK act as if it can always use OSMesa,
      obviously when the system executing VTK code has osmesa installed.
      - ci scripts will be adjusted in next commits
      04661f4b
    • David Gobbi's avatar
      Minor fix to vtkPolyLineWidget representation · 7ddd7d29
      David Gobbi authored and Lucas Givord's avatar Lucas Givord committed
      Insert points to ensure points are properly sized.
      
      (cherry picked from commit 4e276502)
      7ddd7d29
    • David Gobbi's avatar
      Fix loop count in vtkImageTracerWidget · c5f42c60
      David Gobbi authored and Lucas Givord's avatar Lucas Givord committed
      This is the loop to project the polyline points to a plane.
      
      (cherry picked from commit 007fe299)
      c5f42c60
  14. Sep 01, 2024
  15. Aug 30, 2024
  16. Aug 27, 2024
    • David Gobbi's avatar
      Define comparison operators as const · ce525d83
      David Gobbi authored
      The two objects compared by the operators should be const, as
      is already the case for most comparison operators in VTK.  This
      fits with the default comparison operator definitions provided
      by c++20.
      ce525d83
  17. Aug 20, 2024
  18. Aug 08, 2024
  19. Jul 08, 2024
Loading