[vtkusers] simple example: vtkSTLReader
Moti Freiman
freiman at cs.huji.ac.il
Wed Jan 12 12:45:48 EST 2005
Hi!
it's very simple, all you need is:
vtkSTLReader * reader = vtkSTLReader::New();
reader->SetFileName ("foo.stl"); //param: char * filename
reader->Update();
reader->GetOutput();
the getoutput return vtkPolyData *;
regards
--
Moti Freiman, Graduate Student.
Medical Image Processing and Computer-Assisted Surgery Laboratory.
School of Computer Science and Engineering.
The Hebrew University of Jerusalem Givat Ram, Jerusalem 91904, Israel
Phone: +(972)-2-658-5371 (laboratory)
E-mail: freiman at cs.huji.ac.il
WWW site: http://www.cs.huji.ac.il/~freiman
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.10 - Release Date: 10/01/2005
More information about the vtkusers
mailing list