[vtkusers] existing filter to perform replace value on vtkImage

Dominik Szczerba dominik at itis.ethz.ch
Tue Feb 16 15:41:59 EST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I wouldn't know on having a look. Try different name for the result
array. Make sure the expression is valid. Make sure the datatypes are
compatible and you use point/cell data properly. At the end try changing
your locale - on my system the calculator works in one locale but not
another.

David Doria wrote:
> On Tue, Feb 16, 2010 at 3:03 PM, Dominik Szczerba <dominik at itis.ethz.ch> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> vtkArrayCalculator
> 
> I tried to make a demo of this, but it doesn't seem to work as I'm expecting.
> 
> http://www.vtk.org/Wiki/VTK/Examples/ArrayCalculator
> 
> I would expect the output to be
> 0
> 0
> 1
> or something about like that (depending on the value of sign(0)).
> 
> Instead the output doesn't seem to be any different from the input
> (still 1, 2, 3).
> 
> Dominik, would you mind taking a look and fixing this small example?
> 
> Thanks,
> 
> David
> _______________________________________________
> 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
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkt7Aw4ACgkQ/EBMh9bUuzJsJQCeKBZrVhnt1lOZy62hZLF5s7pr
ILAAoLOwTy+2SQvkt6Sjm2PqqLUOm+kY
=noAD
-----END PGP SIGNATURE-----



More information about the vtkusers mailing list