Re: 答复: [vtkusers] xyz Coordinates
tony hakki
tony2007vtk at yahoo.com
Thu Jan 4 11:45:22 EST 2007
thanks your advance bur, they don't include any example ,how to get (x,y,z)coordinates of a stl data. I tried the following but compiler gives that error:
static functions with block scope are illegal
1>Build log was saved at "file://c:\Documents and Settings\aydemir\Desktop\nfinity_basic\nfinity\Win32\Debug\BuildLog.htm"
1>nfinity - 1 error(s), 0 warning(s)
static vtkPoints *GetXYZPoints(const char* filename);
vtkPoints *XYZPoints;
vtkSTLReader *read = vtkSTLReader::New();
read->SetFileName(filename);
read->Update();
XYZPoints = GetXYZPoints(filename);
What is the wrong, do you think?
----- Original Message ----
From: PAUL <polinzhuo at 163.com>
To: tony hakki <tony2007vtk at yahoo.com>; VTK Ortak mail hesabi <vtkusers at vtk.org>
Sent: Thursday, January 4, 2007 3:01:59 PM
Subject: 答复: [vtkusers] xyz Coordinates
You may look into the examples:
/Examples/IO/Tcl/stl.tcl
/Examples/Rendering/Tcl/CADPart.tcl
/Examples/Rendering/Tcl/FilterCADPart.tcl
发件人: vtkusers-bounces+polinzhuo=163.com at vtk.org [mailto:vtkusers-bounces+polinzhuo=163.com at vtk.org] 代表 tony hakki
发送时间: 2007年1月4日 21:53
收件人: VTK Ortak mail hesabi
主题: [vtkusers] xyz Coordinates
Hello;
I would like to read whole x,y,z coordinates of a stl dataset.
vtkSTLReader *read = vtkSTLReader::New();
read->SetFileName(filename);
read->Update();
how can I continue to do this? Thank you
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
__________________________________________________
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/20070104/e0059493/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 73 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070104/e0059493/attachment.gif>
More information about the vtkusers
mailing list