Colormap UI

From ParaQ Wiki
Jump to navigationJump to search

Based on a discussion between myself, Ken, Utkarsh and Amy, the new colormap dialog should look kinda like this:

Colormap.png

Basics

  • Each control point on the colormap has an index and a scalar value. This scalar value is absolute, it is not normalized in any way.
  • The user can adjust the position (scalar value) of internal control points by either entering the scalar value (clamped to end values) or moving the control points with a mouse
  • The user can add points by clicking on the colormap widget
  • The user can change the range (min/max) of the colormap by selecting one of the end points and changing it's scalar value. This will not change the scalar value of the other control points
  • If "Automatically adjust to fit scalar range" is checked, the scalar values of all control points will be adjusted every time the range of the corresponding array changes
  • If "Automatically adjust to fit scalar range" is not checked, the color map is "locked" and does not change automatically
  • To adjust all points on the colormap, the user can click "Adjust Colormap" to get:

Adjust.png

On this dialog:

  • Pressing "Rescaled based on current" will adjust all control points to the current scalar range of the associated array
  • Pressing "Rescale to" will adjust all control points to the range specified with min/max values.