Skip to content
Snippets Groups Projects
  1. Jul 01, 2021
  2. Jun 30, 2021
  3. Jun 29, 2021
  4. Jun 28, 2021
  5. Jun 24, 2021
    • David Gobbi's avatar
      Fix SpecialColors for vtkWindowLevelLookupTable · 3230e73b
      David Gobbi authored
      When the AboveRangeColor and BelowRangeColor were added to the
      vtkLookupTable several years ago, the vtkWindowLevelLookupTable
      was not similarly modified.  As a result, the values of the
      beyond-range colors were left uninitialized and generally had
      a value of (0,0,0,0) when the vtkWindowLevelLookupTable was used.
      
      I also took the opportunity to have vtkWindowLevelLookupTable
      implement the ForceBuild() method instead of the Build() method.
      This allows ForceBuild() and Build() to work for this class in
      the same way as they do for vtkLookupTable.
      3230e73b
    • David Gobbi's avatar
      Add more OpenGL2 modules to Rendering group · 40203c05
      David Gobbi authored
      The RenderingVolumeOpenGL2 module was in the Rendering group,
      but not RenderingContextOpenGL2 or DomainsChemistryOpenGL2.
      As a result, the latter two modules were not part of the
      default build, even though they implement the backends for
      modules that are part of the default build (DomainsChemistry,
      RenderingContext2D, Charts, etc).
      
      The fact that the VTK Python wheels provided modules without
      backends has caused trouble for several users.
      
      The RenderingOpenGL2 module itself was not part of the Rendering
      group, either, but seems to have been brought in as a dependency
      of RenderingVolumeOpenGL2.
      40203c05
    • David Gobbi's avatar
      Fix incorrect vtkAxesActor bounds calculation · 06d3c273
      David Gobbi authored
      There were logical errors in the computation of the Bounds from
      the parts of the axes. The original code made two incorrect
      assumptions: 1) that the upper bound was never negative, and
      2) that the upper bound was always farther from the origin than
      the lower bound.
      06d3c273
    • David Gobbi's avatar
      06e41dd4
    • David Gobbi's avatar
      4894c09b
    • David Gobbi's avatar
      Update the ref to vtkDICOM remote module · 860eb883
      David Gobbi authored
      Fix vtkDICOMReader tilted-gantry PatientMatrix for BottomUp.
      This is required in order for vtkDICOMCTRectifer to work when
      the reader uses "BottomUp" row order (which is the default).
      860eb883
    • David Gobbi's avatar
      Update the ref to vtkDICOM remote module · 29e77621
      David Gobbi authored
      This fixes a potential infinite loop while parsing files that
      end in garbage, and updates the DICOM dictionary to 2020e.
      29e77621
    • JackGuyver's avatar
      Remove `numpy.character` without replacement · 29cd3575
      JackGuyver authored and David Gobbi's avatar David Gobbi committed
      Based on the discussion within the merge request !7880 the possibility
      to convert a numpy array containing single characters of any type has
      been removed without replacement, since these arrays have no appropriate
      counterpart in VTK.
      For more information see:
      vtk/vtk!7880
      29cd3575
    • JackGuyver's avatar
      Replace deprecated numpy.character by unicode_ · 9a08db30
      JackGuyver authored and David Gobbi's avatar David Gobbi committed
      Numpy VTK array conversion contains the the type numpy.character, which
      is deprecated since NumPy version 1.19
      See: https://numpy.org/doc/stable/reference/arrays.dtypes.html
      section Generic types.
      9a08db30
Loading