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
  • #17268
Closed
Open
Issue created Mar 26, 2018 by Mathieu Westphal@mwestphalMaintainer

VTKm Treshold, Clip, Contour does not support certain type of data array

When using VTKm Treshold, Clip or Contour, certain type of data array are unsupported :

How to reproduce :

  • Open ParaView
  • Create a wavelet, Apply
  • Add a random Attribute, set Attribute type to type, Apply
  • Add a VTKm Treshold

With type in Unsigned Long, Long, Char, it segfaults.

With type in Unsigned Int, Unsigned Short, Short, it show an error like

Warning: In /home/glow/work/paraview/paraviewThird/paraview/VTK/Accelerators/Vtkm/vtkmThreshold.cxx, line 105
vtkmThreshold (0x55c47cd4c470): Unable to use VTKm to convert field( RandomPointVectors ) to the Threshold output: Could not find appropriate cast for array in CastAndCall1.
Array: valueType=N4vtkm3VecIjLi3EEE storageType=N6tovtkm23vtkAOSArrayContainerTagE numValues=9261 [(239,165,240) (164,70,254) (183,142,249) ... (213,51,13) (209,137,214) (166,169,18)]
TypeList: N6tovtkm14FieldTypeInVTKE
StorageList: N6tovtkm14ArrayListInVTKE


Warning: In /home/glow/work/paraview/paraviewThird/paraview/VTK/Accelerators/Vtkm/vtkmThreshold.cxx, line 105
vtkmThreshold (0x55c47cd4c470): Unable to use VTKm to convert field( RandomCellVectors ) to the Threshold output: Could not find appropriate cast for array in CastAndCall1.
Array: valueType=N4vtkm3VecIjLi3EEE storageType=N6tovtkm23vtkAOSArrayContainerTagE numValues=8000 [(217,34,19) (187,183,117) (103,181,252) ... (42,248,137) (136,240,116) (179,186,241)]
TypeList: N6tovtkm14FieldTypeInVTKE
StorageList: N6tovtkm14ArrayListInVTKE

Initially reported here paraview/paraview#18075 (closed)

Assignee
Assign to
Time tracking