[Paraview] Converting a Double array to an UnsignedChar array

Eric E. Monson emonson at cs.duke.edu
Mon Nov 8 06:48:55 EST 2010


Hey David,

No, programmable filter and maybe Python calculator (I haven't really played much with that one yet) are the only ones I can think of. Sometimes I have to modify the reader to get the data in in the correct format, so that's always a non-trivial option.

Good luck,
-Eric

------------------------------------------------------
Eric E Monson
Duke Visualization Technology Group

On Nov 7, 2010, at 3:37 PM, David Doria wrote:

> Is there any way besides a programmable filter to convert a double
> array to an unsigned char array? I am trying to color data (actual
> colors, not mapped colors) by a double array (which is [0,255], just
> happens to be type double).
> 
> 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView
> 
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview



More information about the ParaView mailing list