[ITK-users] Read .vtk file and write it as binary stl file

Dženan Zukić dzenanz at gmail.com
Thu Jul 27 08:04:43 EDT 2017


Hi Swetha,

I think you wanted to send this to vtkusers at vtk.org, not
insight-users at itk.org

Regards,
Dženan Zukić, PhD, Senior R&D Engineer, Kitware (Carrboro, N.C.)

On Thu, Jul 27, 2017 at 7:56 AM, Swetha Sharma <swetha.bsharma at gmail.com>
wrote:

> Hi,
>
>   I have .vtk file which i want to read and convert to binary stl file.
> The documentation has a function
> WriteBinarySTL
> <http://www.vtk.org/doc/nightly/html/classvtkSTLWriter.html#aec53892de77a41e2b133c4cdb3447274>
>  (vtkPoints <http://www.vtk.org/doc/nightly/html/classvtkPoints.html> *
> pts, vtkCellArray
> <http://www.vtk.org/doc/nightly/html/classvtkCellArray.html> *polys, vtkC
> ellArray <http://www.vtk.org/doc/nightly/html/classvtkCellArray.html> *strips)
> . How do I get the information about the vtkpoints and the cellarray?
>
> -swetha
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20170727/3c52e85e/attachment.html>


More information about the Insight-users mailing list