[vtk-developers] vtkImageMandelbrotSource scalar type
David Gobbi
david.gobbi at gmail.com
Tue Oct 5 12:03:30 EDT 2010
On Tue, Oct 5, 2010 at 9:18 AM, David Doria <daviddoria at gmail.com> wrote:
> The documentation says:
> "vtkImageMandelbrotSource creates an unsigned char image of the
> Mandelbrot set. "
>
> However, in the RequestInformation function, I see
>
> vtkDataObject::SetPointDataActiveScalarInfo(outInfo, VTK_FLOAT, 1);
Fix the documentation. I seems that it needs to produce float.
I noticed that it uses "unsigned short" internally to count iterations.
It should probably use vtkTypeUInt64 instead, and should also use
vtkTypeUInt64 for MaximumNumberOfIterations.
David
More information about the vtk-developers
mailing list