Skip to content

GitLab

  • Menu
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 741
    • Issues 741
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 197
    • Merge requests 197
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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
  • VTK
  • VTKVTK
  • Issues
  • #1522
Closed
Open
Created Jan 20, 2005 by Kitware Robot@kwrobotOwner

SetTableRange appears not to work on color map

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


I have created a Tcl application that creates a height field and then color-maps the scalar value. The color map always seems to map the range 0-1 no matter what I pass to the SetTableRange function. See the URL to download example code with input data to reproduce the bug. The "working.tcl" script maps the color correctly, but has to put the scalar values into 0-1. The "broken.tcl" is identical except for about three lines, which should work (according to my very limited understanding of VTK) but does not.

The problem is that I'd like to be able to query the values and have them be actual values, rather than 0-1 values; this application is going to be part of a program to see how well users can do with different techniques and I'll need to get back to real values.

Assignee
Assign to
Time tracking