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 97
    • Merge requests 97
  • 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
  • #20821
Closed
Open
Issue created Jul 01, 2021 by gpotter2@gpotter2

vtkPVDiscretizableColorTransferFunction: Index out of range !

Warnings are raised everytime you move your mouse over the Opacity transfer function in a certain case.

Reproduce:

  • enable volume rendering on something (just to have the mapping data show up)
  • In mapping data: add more points (nodes) in the opacity transfer function than in the Color transfer functions
  • hover your mouse over the Opacity transfer function graph: you get
(1712.476s) [paraview        ]vtkColorTransferFunctio:1277   ERR| vtkPVDiscretizableColorTransferFunction (0x55e84103da50): Index out of range!

Brief analysis

Warning is raised here: https://gitlab.kitware.com/vtk/vtk/-/blob/4b9e1acc53af9ccf54df4b0c78909ff172319a71/Rendering/Core/vtkColorTransferFunction.cxx#L1274

The issue here is that the this->Internal->Nodes.size() there always returns the number of nodes in the color transfer function (try it out yourself with a print), even when used in the opacity transfer functions. I tried for quite some time to figure out why but eventually couldn't so I'm raising this issue.

Have a great day

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