[vtkusers] A bug in Above/BelowRangeColor mapping?

Oleksandr Malyushytsky omalyushytskyvtkuser at gmail.com
Mon Oct 15 20:40:04 EDT 2018


above or below color range values might be really below or above due to
precision.

I guess you could use SetUseBelowRangeColor and SetUseAboveRangeColor if
you want to enforce such behavior

On Mon, Oct 15, 2018 at 9:30 AM marcin.krotkiewski <
marcin.krotkiewski at gmail.com> wrote:

> I've checked Paraview version 5.2 from November 2016. Same behavior.
>
> To further clarify, the issue here is that the vtkLookupTable seems to
> be working with an exclusive interval:
>
> (min, max)
>
> instead of what I think it should do, i.e., working with an inclusive
> interval:
>
> [min, max]
>
> That is, if my point data is in range [min, max], and I use it to
> SetValueRange in a vtkLookupTable, then I would expect that the
> end-point values are also covered by the normal color map, and are not
> considered to be out of range.
>
> Marcin
>
>
> On 10/15/2018 03:35 PM, Sean McBride wrote:
> > On Mon, 15 Oct 2018 09:38:13 +0200, marcin.krotkiewski said:
> >
> >> I think the behavior of UseBelowRangeColor in both VTK 8.1.1, and
> >> Parview 5.5 is wrong.
> > Do you mean compared to an older version of VTK/Paraview?  There have
> been some changes to that code in the last year or so.... Might be
> revealing to try with older version of Paraview to see...
> >
> > Cheers,
> >
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181015/57bb701a/attachment.html>


More information about the vtkusers mailing list