Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ParaView ParaView
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,964
    • Issues 1,964
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 99
    • Merge requests 99
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaViewParaView
  • ParaViewParaView
  • Issues
  • #18497
Closed
Open
Issue created Sep 27, 2018 by Kenneth Moreland@kmorelDeveloper

Image Gradient filter loses origin and spacing information

When you apply the Gradient filter (vtkImageGradient under the covers), the resulting image data set does not have its origin and spacing properly set. Instead, they are set to their defaults, which causes the result to potentially be translated and scaled.

To replicate, do the following.

  1. Open disk_out_ref.ex2. Load all variables. Apply.
  2. Add Resample To Image filter. Apply.
  3. Add the Gradient filter. Apply.
  4. Turn the visibility of the Resample To Imagefilter back on.

You will see that the outline of the Gradient filter does not match its input. It is much larger, square, and off center. If you look in the information tab, you will see that, unlike its input, its bounds match its extents because the origin and spacing were not set correctly.

This problem was reported on discourse.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking