Skip to content
Snippets Groups Projects
  1. Dec 07, 2024
    • David Thompson's avatar
      Fix #19552. · d7ff50a9
      David Thompson authored and Ben Boeckel's avatar Ben Boeckel committed
      This also forces all inclusions of the `Singleton.h` header
      to use angle brackets (since in theory third-party libraries
      may be in system paths and even when provided by VTK should
      use `-isystem` instead of `-I`).
      
      (cherry picked from commit 615c9f21)
      d7ff50a9
  2. Dec 06, 2024
    • David Thompson's avatar
      Fix #19552. · 615c9f21
      David Thompson authored
      This also forces all inclusions of the `Singleton.h` header
      to use angle brackets (since in theory third-party libraries
      may be in system paths and even when provided by VTK should
      use `-isystem` instead of `-I`).
      615c9f21
  3. Dec 02, 2024
    • Jaswant Panchumarti (Kitware)'s avatar
      Do not overwrite loguru global stderr verbosity · 12d82bb5
      Jaswant Panchumarti (Kitware) authored
      - This fixes a bug when applications completely rely on
        vtkLogger::Init(ac, av) to parse the -v flag on CLI and
        set the stderr verbosity.
      - With this commit, it is finally possible to run the test
        executables with a custom verbosity by merely passing -v <verbosity>
        on the command line. This greatly simplifies debugging trace messages
        without having to manually set the stderr verbosity and recompile the
        test executable.
      12d82bb5
  4. Dec 01, 2024
    • David Gobbi's avatar
      Warn when default __init__() modifies C++ attributes · 8ed0c03e
      David Gobbi authored
      If the C++ object already existed within VTK, and the Python object
      is being created because it is being returned by a method, then we
      don't want the creation of the Python object to cause changes to
      C++ object attributes that were already set by the C++ VTK code.
      
      For example, if we are getting the output dataset from a C++ VTK
      filter, we don't want any C++ attributes of the dataset to change
      when the Python part of this pre-existing dataset object is created.
      8ed0c03e
  5. Nov 29, 2024
    • David Gobbi's avatar
      Skip vtkDataObjectImplicitBackendInstantiateIdType · c47ffa1e
      David Gobbi authored
      Since vtkIdType is just a typedef for one of the fundamental
      types for which the template is already instantiated, we must
      avoid instantiating for vtkIdType since the instantiation will
      result in duplicate template symbols.  Most linkers will handle
      the duplicated template symbols, but some linkers will generate
      an error.
      c47ffa1e
    • Lucas Givord's avatar
      vtkSocket: fix win32 error handling · 93abfb56
      Lucas Givord authored
      Previously when encountering an error during a Receive() call, server
      hangs indefinitely as only WSAENOBUFS was checked.
      
      For WSAECONNABORTED we cannot know if the disconnection is expected or
      not so we don't output an error but log a trace for debugging purpose.
      
      (cherry picked from commit c86e3aaa)
      93abfb56
  6. Nov 28, 2024
  7. Nov 25, 2024
    • Lucas Givord's avatar
      vtkSocket: fix win32 error handling · c86e3aaa
      Lucas Givord authored
      Previously when encountering an error during a Receive() call, server
      hangs indefinitely as only WSAENOBUFS was checked.
      
      For WSAECONNABORTED we cannot know if the disconnection is expected or
      not so we don't output an error but log a trace for debugging purpose.
      c86e3aaa
  8. Nov 20, 2024
  9. Nov 15, 2024
    • Jaswant Panchumarti (Kitware)'s avatar
      Add new verbosity setting for log messages related to marshalling · c32692da
      Jaswant Panchumarti (Kitware) authored
      - this commit adds ability to view tracing information that is emitted from `vtkDeserializer`, `vtkSerializer` and `vtkObjectManager` by configuring a log verbosity. The verbosity can be set either as an environment variable or directly on the object manager, serializer and deserializer.
      - for wasm, new methods are provided in the wasm scene manager bindings. these methods let you pass in strings like "WARNING", "INFO", etc.
      c32692da
  10. Nov 08, 2024
  11. Nov 07, 2024
    • Nicolas Vuaille's avatar
      Fix build using VTK_FUTURE_CONST · a49a015d
      Nicolas Vuaille authored
      vtkImplicitFrustumRepresentation calls
      `this->Frustum->GetBottomPlane()->GetNormal()`
      where `GetNormal` is not const but `GetBottomPlane` is.
      Looks hard to make vtkPlane API const-correct, so remove const
      from vtkFrustum::GetXXXPlane().
      
      Was introduced in !11575
      a49a015d
  12. Nov 04, 2024
    • Spiros Tsalikis's avatar
      vtkPolyhedron: Improve GetParametricCenter · 823267d8
      Spiros Tsalikis authored
      The parametric center of a polyhedron has been the center of its bounding box.
      This can be really problematic, because the actual location can be outside of
      the cell itself.
      
      If you consider a tetrahedron, the location of its parametric center is its
      centroid.
      
      Therefore, in this commit, as parametric center of a polyhedron, we return
      the parametric location of the centroid of its points.
      
      There are probably still going to be corner cases where it might not make sense,
      but it's definitely better than bounding box center
      823267d8
    • Jean Fechter's avatar
      Add AxisAligned and Offset to TestPlane · b9d21f56
      Jean Fechter authored
      b9d21f56
    • Jean Fechter's avatar
      Add AxisAligned and Offset to vtkPlane · 370dec2a
      Jean Fechter authored
      370dec2a
    • David Gobbi's avatar
      Fix static initialization/cleanup of token library · f1d4c8b2
      David Gobbi authored
      This ensures that the lifetime of the token library singletons
      is longer than the lifetime of vtkFilteringInformationKeyManager.
      Without this, the vtkFilteringInformationKeyManager finalizers
      might be called after the token library itself has finalized.
      f1d4c8b2
  13. Oct 31, 2024
  14. Oct 30, 2024
  15. Oct 28, 2024
  16. Oct 25, 2024
    • David Gobbi's avatar
      Prevent vtkAbstractTransform ModifiedEvent deadlock · 0dbd7a9c
      David Gobbi authored
      The Update() method of vtkAbstractTransform uses a mutex lock,
      and calls virtual methods during the lock which are implemented
      by subclasses.  Those methods can trigger callbacks that cause
      Update() to be called again, resulting in a deadlock.
      
      By ensuring that calls to Modified() during Update() do not invoke
      ModifiedEvent, we can avoid at least some of these deadlocks.
      0dbd7a9c
  17. Oct 24, 2024
  18. Oct 16, 2024
  19. Oct 13, 2024
  20. Oct 11, 2024
  21. Oct 08, 2024
  22. Oct 07, 2024
  23. Oct 01, 2024
  24. Sep 30, 2024
Loading