Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
ParaView
ParaView
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,768
    • Issues 1,768
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 66
    • Merge Requests 66
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaView
  • ParaViewParaView
  • Issues
  • #18075

Closed
Open
Opened Mar 23, 2018 by Mathieu Westphal@mwestphalDeveloper

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
Edited Mar 23, 2018 by Mathieu Westphal
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: paraview/paraview#18075