View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014793ParaView(No Category)public2014-06-09 18:212014-08-29 11:00
ReporterScott Wittenburg 
Assigned ToScott Wittenburg 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiongit-master 
Target Version4.2Fixed in Version4.2 
Summary0014793: Fix typo in color transfer function apply color map
DescriptionTry to assign a colormap from xml text on a color transfer function. The function fails to make the assignment and returns false.

Get a color transfer function from a representation in Python, call it "lut", then:

>>> lut
(vtkSMTransferFunctionProxy)0x5a03050
>>> colorMapText
'<ColorMap space="HSV" name="Blue to Red Rainbow"><Point x="0" o="0" r="0" g="0" b="1"/><Point x="1" o="0" r="1" g="0" b="0"/><NaN r="0.498039" g="0.498039" b="0.498039"/></ColorMap>'
>>> vtkSMTransferFunctionProxy.ApplyColorMap(lut, colorMapText)
False
>>>
TagsNo tags attached.
ProjectTBD
Topic Namefix-transferfunction-applycolormap-text
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0032812)
Scott Wittenburg (developer)
2014-06-09 18:23

Fixed by correcting incorrect "if" statement when parsing the text function argument as xml.
(0032818)
Utkarsh Ayachit (administrator)
2014-06-10 07:38

SUMMARY
---------------------------------------------
Topics merged into master:
        14762_save_color_legend_settings
        14787_fix_matplotlib_xml
        cleaning_point_sprite
        fix-transferfunction-applycolormap-text
        static-plugin-loading
(VTK) use-broadcast-rmi-trigger
        use-gatherv-in-collect-information
(0032826)
Alan Scott (manager)
2014-06-10 21:15

Closing untested.

 Issue History
Date Modified Username Field Change
2014-06-09 18:21 Scott Wittenburg New Issue
2014-06-09 18:21 Scott Wittenburg Assigned To => Scott Wittenburg
2014-06-09 18:23 Scott Wittenburg Topic Name => fix-transferfunction-applycolormap-text
2014-06-09 18:23 Scott Wittenburg Note Added: 0032812
2014-06-09 18:23 Scott Wittenburg Status backlog => gatekeeper review
2014-06-09 18:23 Scott Wittenburg Resolution open => fixed
2014-06-10 07:37 Utkarsh Ayachit Fixed in Version => git-master
2014-06-10 07:38 Utkarsh Ayachit Status gatekeeper review => customer review
2014-06-10 07:38 Utkarsh Ayachit Note Added: 0032818
2014-06-10 21:15 Alan Scott Note Added: 0032826
2014-06-10 21:15 Alan Scott Status customer review => closed
2014-06-17 09:21 Utkarsh Ayachit Target Version => 4.2
2014-08-29 11:00 Utkarsh Ayachit Fixed in Version git-master => 4.2


Copyright © 2000 - 2018 MantisBT Team