[Paraview] Changing calculator output from double array to float array?

2011-08-16 Thread Cory Quammen
Is it possible to get the calculator in ParaView to output a float array instead of a double array? The vtkArrayCalculator class seems to support this, but it isn't exposed in the properties panel of the calculator filter. What I really want to do is generate a "Normals" array that will be used fo

Re: [Paraview] Changing calculator output from double array to float array?

2011-08-16 Thread Moreland, Kenneth
I don't have an answer to your question, but I'm pretty sure your hunch is wrong and there is no need to write out floats. There should be no problems with having normals that are doubles. What is probably wrong is that nothing has set the normal attributes. The VTK mappers do not just take any

Re: [Paraview] Changing calculator output from double array to float array?

2011-08-16 Thread Cory Quammen
> What is probably wrong is that nothing has set the normal attributes.  The > VTK mappers do not just take any field named "Normals" and assumes they > are the normals.  Rather, you have to assign special attributes to fields > in the vtkDataSetAttributes object. > > There is no direct way (that I