[vtkusers] vtkSTLWriter, WriteBinarySTL
TKB 3. Prakt. Corina Farcas
tkbprak3 at fsg-ship.de
Thu Apr 14 04:07:55 EDT 2005
Hello vtkusers!
I have a litte problem: I am trying to write an STL file as a binary
File and I dont know what Parameter I need for the Function WriteBinarySTL:
...
vtkSTLWriter *stl = vtkSTLWriter::New();
stl->SetInput((vtkPolyData*) contour->GetOUtput());
stl->SetFileName("test.stl");
stl->WriteBinarySTL(pts, polys);
?? ??
I use the Function WriteBinarySTL from the class vtkSTLWriter. The
Function needs two parameters:vtkPoints *pts and vtkCellArray *polys.
How can I define *pts and *polys? Why do I need them???
--
Mit freundlichen Gruessen
With kind regards
Corina Farcas
Corina Farcas
TKB - Basic Design
_________________
\\ \\ // \ Flensburger Schiffbau Gesellschaft
\\ \\ // \ mbH & Co. KG
\\ F \ D-24939 Flensburg
\\ S G \ Batteriestr. 52
\\ // \\ \ Tel. : +49 461 4940-???
\\_//______\\_____\ Fax : +49 461 4940-217
\
\ Please come to see us at: http://www.fsg-ship
More information about the vtkusers
mailing list