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 830
    • Issues 830
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 232
    • Merge requests 232
  • 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
  • #17931
Closed
Open
Issue created Jun 15, 2020 by Cornelis Bockemühl@coboContributor

vtkUnstructuredGrid::DeepCopy with faces

Description: If a vtkUnstructuredGrid object contains faces (because some/all cells are of type VTK_POLYHEDRON), the faces data structures are not copied with DeepCopy().

Workaround: before calling DeepCopy() from an unstructured grid with faces, call Allocate() and InitializeFacesRepresentation(). The reason is that Faces and FacesLocation will only be copied if they exist already in the target unstructured grid, which will be done by the second call, and the first is required because otherwise Types does not exist which is assumed in the second call.

Note: this report is referring to the VTK version that is included in ParaView 5.8.0 official release.

See also: VTK Discourse

Edited Jun 16, 2020 by Cornelis Bockemühl
Assignee
Assign to
Time tracking