Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 833
    • Issues 833
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 237
    • Merge requests 237
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTKVTK
  • VTKVTK
  • Issues
  • #18171
Closed
Open
Issue created Apr 12, 2021 by Yohann Bearzi@yohann.bearziDeveloper

Blank cells are not taken into account for `vtkImageData` and `vtkRectilinearGrid` in `vtkDataSetSurfaceFilter`

Blank cells are not used when producing the external surface of vtkImageData or vtkRectilinearGrid. An algorithm producing a correct shape on regular grids is already present inside vtkDataSetSurfaceFilter, but only works on vtkStructuredGrid (see vtkDataSetSurfaceFilter::StructuredWithBlankingExecute. We can use this algorithm is we add a few missing API methods in vtkImageData and vtkRectilinearGrid that are being used in this method. Those new APIs that are required for this algorithm make sense because they have the same regular grid structure and are indexed similarly.

To reproduce:

  • Load any data set that has not a rectilinear shape.
  • Use vtkResampleToImageData
  • Use vtkDataSetSurfaceFilter
  • Visualize

Let me show how it looks like currently on some example, and how it should look like:

  • Input: input

  • How it looks like: image_data_resample

  • How it should look like: image_data_surface

Assignee
Assign to
Time tracking