[vtkusers] Getting all x,y,z coordinates of a data set

tony hakki tony2007vtk at yahoo.com
Fri Jan 5 05:38:53 EST 2007


Hello;
 I would like to get whole x,y,z coordinates of a stl dataset.  I think I will use vtkPoints and GetPoint. I have tried many times but i hanen't achieved. Please help me
 

int npts;
vtkSTLReader *read = vtkSTLReader::New();
read->SetFileName(filename);
read->Update();

vtkPolyData *Source=read->GetOutput();
npts = Source->GetNumberOfPoints();

here I don't know how to go on

Can any body help me please

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070105/9379ec32/attachment.htm>


More information about the vtkusers mailing list