[vtkusers] nan in vtkScalarBar

Alex Malyushytskyy alexmalvtk at gmail.com
Wed Nov 16 20:34:33 EST 2011


Current implementation does not work if table range is "crossing zero"
in other words
for lookup table table range should be positive.

http://vtk.org/doc/nightly/html/classvtkLookupTable.html#a8e65f7f95691130f4af001923820ecd7


Regards,
   Alex

On Mon, Nov 14, 2011 at 6:44 PM, Yifei Li <yifli82 at gmail.com> wrote:
> The problem lies in mapper->SetScalarRange(min, max), where min is zero.
>
> On Mon, Nov 14, 2011 at 9:20 PM, Yifei Li <yifli82 at gmail.com> wrote:
>>
>> Hi all,
>> What could be the reasons for 'nan' showing up?
>> My color table uses log scale. I make sure the minimum of the table range
>> is greater than zero.
>> Thanks
>> Yifei
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list