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

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Feb 21 20:12:11 EST 2017


Where are you getting the vtkLookupTable from? ParaView doesn't use
vtkLookupTable directly, is uses vtkPVDiscretizableColorTransferFunction
<http://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/classvtkPVDiscretizableColorTransferFunction.html>
 .

Utkarsh

On Tue, Feb 21, 2017 at 11:42 AM, Nenad Vujicic <nenadus at gmail.com> wrote:

> 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 GetUseAboveRangeColor()
> and GetUseBelowRangeColor(),
>
> However, first call (for checking using above range color) always passes
> and returns some big number and second one (for checking using below range
> color) always crashes, regardless whether flags are turned ON / OFF in
> ParaView UI.
>
> Any suggestions about this or ideas how I could pick up these values in
> different way?
>
> Thanks in advance!
> Nenad.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170221/1ddfff9c/attachment.html>


More information about the ParaView mailing list