[vtkusers] How to use GetNextCell() and InitTraversal() to get cell elements?
HayamiSanjuro
sanjurohayami at hotmail.com
Mon Aug 11 18:57:06 EDT 2008
Hi all,
I used vtkDelaunay2D to get a mesh and use vtkExtractEdges to get edges
...
vtkDelaunay2D del = vtkDelaunay2D::New();
...
vtkExtractEdges *extract = vtkExtractEdges::New();extract->SetInputConnection(del->GetOutputPort());
vtkPolyData *data = extract->GetOutput();
vtkCellArray *lineArray = data->GetLines();
If I want to get all lines from the lineArray, should I use functions like GetNextCell() and InitTraversal()
Can someone give me an example how GetNextCell() and InitTraversal() works? and esepecially the meaning of their parameters?
Thank you guys advance!
YANG Rong 20 Orton,
Glenfield, AKL, New Zealand Cell: +64 21 2355108
Home phone: 09 4434960
_________________________________________________________________
用手机MSN聊天写邮件看空间,无限沟通,分享精彩!
http://mobile.msn.com.cn/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080812/d187d837/attachment.htm>
More information about the vtkusers
mailing list