View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0006657 | ParaView | Bug | public | 2008-03-25 21:06 | 2015-02-18 19:09 | ||||
Reporter | Alan Scott | ||||||||
Assigned To | Cory Quammen | ||||||||
Priority | normal | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | 4.4 | Fixed in Version | 4.3 | ||||||
Summary | 0006657: Feature: Add color for variables out of bounds | ||||||||
Description | A user has requested that a feature be added to ParaView that would allow a special color for out of bounds variable data. For instance, if I have an object that should have temperatures of 0 to 100 centigrade, and we are using the new blue-white-red color scheme, you could have black for all cells less than 0 degrees, and yellow for all cells more than 100 degrees. Obviously, settable through the Edit Color Map. If this is easy, it would be nice to add to 3.4. Otherwise, 3.6 would do. | ||||||||
Tags | ColorMap | ||||||||
Project | Sandia | ||||||||
Topic Name | 6657_add_outside_range_colors | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0011265) Ken Moreland (manager) 2008-04-10 17:40 |
By the way, this is one of those features that was lost in transitioning from ParaView 2 to 3. Of course, the new transfer function editor does provide a workaround. |
(0032209) Utkarsh Ayachit (administrator) 2014-01-23 12:28 |
Note that this feature also affects the color-legend/scalar bar. Similar to how NaN color is shown in the color legend as a separate swatch. Ideally, the out-of-bounds colors should be shown as separate swatches too. |
(0032848) Alan Scott (manager) 2014-06-11 21:40 |
I have a user that is asking for this. |
(0032878) Utkarsh Ayachit (administrator) 2014-06-17 09:01 |
Developer notes: For this task, one could follow the code for how "NaNColor" is handled and basically add corresponding code for out-of-range colors. ParaView uses vtkDiscretizableColorTransferFunction as the color transfer function class. This class depends on vtkColorTranferFunction, vtkLookupTable, and vtkPiecewiseFunction. This task can be split up as follows: Stage 1: + Add API to vtkColorTransferFunction/vtkLookupTable to set colors for out-of-range values. We'll need separate colors for below range and above range values. (I wonder if this API should be in vtkScalarsToColors itself. I wonder because the same is not done for NanColor, not sure why). + Add API to enable/disable use of these above/below range colors. By default, they must be disabled to keep VTK behavior unchanged. + Make vtkDiscretizableColorTransferFunction ensure that passes along these values to the internal vtkLookupTable. Stage 2: + Update vtkScalarBarActor to add swatches for out-of-range colors (similar to NanAnnotation). Unlike NanAnnotation, we don't need a separate flag to enable rendering of these swatches. These swatches should be shown if the color-transfer-function has those above/below-range colors enabled. Stage 3: + Update ParaView Color Map Editor panel to add ability to set and use these out-of-range colors. Stage 4: + Update vtkPiecewiseFunction to add support for above/below range opacity. |
(0032984) Alan Scott (manager) 2014-07-08 12:58 |
Added a relationship with 14837, since log scaling positive and negative numbers will potentially have up to 4 ranges that are out of bounds. You may want to superficially peruse 14837 before implementing this one. |
(0033981) Cory Quammen (developer) 2014-12-17 13:48 |
commit 282a926d3c3b7e4ac4dce3ffed1a79c9d370c762 Author: Cory Quammen <cory.quammen@kitware.com> Date: Wed Dec 17 11:45:55 2014 -0500 Added test for out-of-range colors Change-Id: Ic0261a1adb1704e95bfd8d1c93210f7ed03884e9 |
(0033998) Utkarsh Ayachit (administrator) 2014-12-23 07:47 |
SUMMARY --------------------------------------------- Topics merged into master (v4.2.0-339-g3d6f539): (VTK) 14539-can-crash 15073_fix_ResetCamera 6657_add_outside_range_colors (VTK) KW00001499_ColorByFieldData add_cgns_plugin_test camera-9503 cfapi-null-logic (VTK) exodus-15127 fix-dashboard-warning h5part-15215 mangle-pvbatch-test-names (VTK) opengl2_updates pvweb-support-multiple-data-directories revert-cfapi-deprecation-fixes support_custom_link_path_setting update-catalyst-20141215 webvisualizer-add-tooltips |
(0034256) Alan Scott (manager) 2015-02-18 19:09 |
Yes! Thanks for implementing this. Tested local server, Linux, master. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-03-25 21:06 | Alan Scott | New Issue | |
2008-04-10 17:39 | Ken Moreland | Status | backlog => tabled |
2008-04-10 17:39 | Ken Moreland | Assigned To | => Berk Geveci |
2008-04-10 17:40 | Ken Moreland | Note Added: 0011265 | |
2008-05-15 13:43 | Utkarsh Ayachit | Category | 3.4 => 3.6 |
2009-02-17 14:03 | Ken Moreland | Assigned To | Berk Geveci => Utkarsh Ayachit |
2009-05-13 13:46 | Utkarsh Ayachit | Target Version | => 3.6 |
2009-08-25 18:37 | Utkarsh Ayachit | Category | => Bug |
2009-08-25 18:37 | Utkarsh Ayachit | Target Version | 3.6 => 3.8 |
2010-09-01 11:33 | Utkarsh Ayachit | Target Version | 3.8 => 3.10.shortlist |
2013-07-26 12:34 | Utkarsh Ayachit | Status | expired => backlog |
2013-07-26 12:34 | Utkarsh Ayachit | Resolution | open => reopened |
2013-07-26 12:34 | Utkarsh Ayachit | Tag Attached: ColorMap | |
2014-01-23 12:25 | Utkarsh Ayachit | Project | => TBD |
2014-01-23 12:25 | Utkarsh Ayachit | Type | => incorrect functionality |
2014-01-23 12:25 | Utkarsh Ayachit | Target Version | => 4.2 |
2014-01-23 12:28 | Utkarsh Ayachit | Note Added: 0032209 | |
2014-01-23 12:30 | Utkarsh Ayachit | Project | TBD => Sandia |
2014-06-11 21:40 | Alan Scott | Note Added: 0032848 | |
2014-06-11 21:40 | Alan Scott | Assigned To | Utkarsh Ayachit => |
2014-06-11 21:40 | Alan Scott | Status | backlog => todo |
2014-06-17 08:45 | Utkarsh Ayachit | Assigned To | => johan andruejol |
2014-06-17 09:01 | Utkarsh Ayachit | Note Added: 0032878 | |
2014-06-27 17:19 | johan andruejol | Status | todo => active development |
2014-07-08 12:53 | Utkarsh Ayachit | Assigned To | johan andruejol => Cory Quammen |
2014-07-08 12:56 | Alan Scott | Relationship added | related to 0014837 |
2014-07-08 12:58 | Alan Scott | Note Added: 0032984 | |
2014-11-14 22:52 | Utkarsh Ayachit | Target Version | 4.2 => 4.4 |
2014-12-17 13:48 | Cory Quammen | Topic Name | => 6657_add_outside_range_colors |
2014-12-17 13:48 | Cory Quammen | Note Added: 0033981 | |
2014-12-17 13:48 | Cory Quammen | Status | active development => gatekeeper review |
2014-12-17 13:48 | Cory Quammen | Fixed in Version | => 4.3 |
2014-12-17 13:48 | Cory Quammen | Resolution | reopened => fixed |
2014-12-23 07:47 | Utkarsh Ayachit | Fixed in Version | 4.3 => git-master |
2014-12-23 07:47 | Utkarsh Ayachit | Status | gatekeeper review => customer review |
2014-12-23 07:47 | Utkarsh Ayachit | Note Added: 0033998 | |
2015-01-02 10:43 | Utkarsh Ayachit | Fixed in Version | git-master => 4.3 |
2015-02-18 19:09 | Alan Scott | Note Added: 0034256 | |
2015-02-18 19:09 | Alan Scott | Status | customer review => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |