Re: [Paraview] ParaView v5.2.0: Problems with inspecting Use Below (Above) Range Color

2017-02-22 Thread Nenad Vujicic
Utkarsh, Thank you very much! I made mistake by casting vtkScalarsToColors to vtkLookupTable always, without inspecting of other branches! When I put conditional checking if it is maybe vtkPVDiscretizableColorTransferFunction, it started working! Thank you very much for your help! Nenad. On

Re: [Paraview] ParaView v5.2.0: Problems with inspecting Use Below (Above) Range Color

2017-02-21 Thread Utkarsh Ayachit
Where are you getting the vtkLookupTable from? ParaView doesn't use vtkLookupTable directly, is uses vtkPVDiscretizableColorTransferFunction . Utkarsh On Tue, Feb 21, 2017 at 11:42 AM,

[Paraview] ParaView v5.2.0: Problems with inspecting Use Below (Above) Range Color

2017-02-21 Thread Nenad Vujicic
Hello everyone, I'm trying to inspect values of "UseBelowRangeColor" and "UseAboveRangeColor" flags from my ParaView exporter plugin by: 1. Retrieving vtkCompositePolyDataMapper2 from currently active view and rendering window, then, 2. Getting it's vtkLookupTable and then calling