[ITK-users] Read .vtk file and write it as binary stl file
Swetha Sharma <[email protected]>
| Newsgroups | gmane.comp.lib.itk.user |
|---|---|
| Message-ID | <CACDHZEQ_CxKaMLZB43iT9T-0OqjtUJExWXZP=YO=36kh74e=Yg@mail.gmail.com> |
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, vtkCellArray <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