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 <[email protected]> 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
>
>
_______________________________________________
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

Reply via email to