MantisBT - ParaView
View Issue Details
0014383ParaView(No Category)public2013-11-01 13:252014-02-21 21:54
Utkarsh Ayachit 
Cory Quammen 
normalminorhave not tried
closedfixed 
 
4.1 
TBD
14383-manual-tfer-function-control-points
incorrect functionality
0014383: Add ability to edit control points in color and opacity functions manually
It would be nice to add an advanced mode to the Color/Opacity editor where users can simply enter a CSV (or some similar) text for scalar values and colors without having to use the UI to enter values.
No tags attached.
Issue History
2013-11-01 13:25Utkarsh AyachitNew Issue
2013-11-04 11:17Utkarsh AyachitAssigned To => Cory Quammen
2013-12-10 17:14Cory QuammenStatusbacklog => active development
2013-12-23 11:10Cory QuammenTopic Name => 14383-manual-tfer-function-control-points
2013-12-23 11:10Cory QuammenStatusactive development => gatekeeper review
2013-12-23 11:10Cory QuammenResolutionopen => fixed
2013-12-30 10:37Utkarsh AyachitFixed in Version => git-master
2013-12-30 10:38Utkarsh AyachitStatusgatekeeper review => customer review
2013-12-30 10:38Utkarsh AyachitNote Added: 0032085
2014-01-07 21:37Cory QuammenNote Added: 0032148
2014-01-07 21:39Cory QuammenNote Edited: 0032148bug_revision_view_page.php?bugnote_id=32148#r717
2014-01-11 08:39Utkarsh AyachitFixed in Versiongit-master => 4.1
2014-02-21 21:54Alan ScottNote Added: 0032381
2014-02-21 21:54Alan ScottStatuscustomer review => closed

Notes
(0032085)
Utkarsh Ayachit   
2013-12-30 10:38   
Topics merged into master:
        0014452_fix_animation_in_python
        14368-toolbar
        14383-manual-tfer-function-control-points
(VTK) 14486_enable_particlepaths_optimizations
        14488-fix-mpi-dependent-proxies
        14491-fix-matplotlib-buffer-object-access
        pv-collaboration-widget-state
(VTK) pvweb-extend-protocol-list
        pvweb-fix-ipython-doc
(VTK) remove_sesame_reader
(0032148)
Cory Quammen   
2014-01-07 21:37   
(edited on: 2014-01-07 21:39)
To use this feature, bring up the Color Map Editor (View -> Color Map Editor). To the right of the color map display area, enable the advanced mode by clicking the gear button. Two editing tables will appear below, one listing color map data and color values and one listing opacity map data and opacity values.

The color table has four columns:
Value - the scalar value in the data set (range: scalar field range)
R - the red color component (range: [0, 1.0])
G - the green color component (range: [0, 1.0])
B - the blue color component (range: [0, 1.0])

The opacity table has two columns:
Value - the scalar value in the data set (range: scalar field range)
Opacity - opacity value (range: 0-1.0)

The first and last scalar values in the table are not editable because these values are set with the "Rescale to data range" and "Rescale to custom range" tools. Scalar values between the first and last scalar values are editable, however. Additionally, all color components and opacities are editable.

In addition, one can paste a whitespace-delimited color map table from text into the color map table widget (same for the opacity map).

(0032381)
Alan Scott   
2014-02-21 21:54   
Oh my, that is just sweet! Very, very good job - both to Utkarsh for the requirement and to Cory for implementation. Wow!

Tested remote server, Linux, master.