[vtkusers] Output precision adjustment?

Bill Lorensen bill.lorensen at gmail.com
Wed Nov 18 00:13:00 EST 2009


You can apply  SetFIleTypeToBinary() to your writer and it will retain
the precision of your in-memory data.

On Tue, Nov 17, 2009 at 7:37 PM, Nico Schlömer <nico.schloemer at gmail.com> wrote:
> Hi,
>
> as a VTK beginner, I'm not implementing my first proper VTK C++
> interface library.
>
> The plan was to store numerical data in VTK format to be able to look
> at it, and also store it for later use. The latter makes it necessary
> to store the data in relatively high precision (something like 1e-16),
> but it seems like, e.g., vtkStructuredPointsWriter only uses a few
> digits for output.
>
> Is there any way to adjust this?
>
> Cheers,
> Nico
> _______________________________________________
> 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