<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi all,<BR>
I used vtkDelaunay2D to get a mesh and use vtkExtractEdges to get edges<BR>
...<BR>
vtkDelaunay2D del = vtkDelaunay2D::New();<BR>
...<BR>
vtkExtractEdges *extract = vtkExtractEdges::New();<BR>extract->SetInputConnection(del->GetOutputPort());<BR>
vtkPolyData *data = extract->GetOutput();<BR>
vtkCellArray *lineArray = data->GetLines();<BR>
<BR>
If I want to get all lines from the lineArray, should I use functions like GetNextCell() and InitTraversal()<BR>
Can someone give me an example how GetNextCell() and InitTraversal() works? and esepecially the meaning of their parameters?<BR>
<BR>
<BR>
Thank you guys advance!<BR><BR><BR>
<DIV><FONT color=#000066><FONT face="Verdana, Geneva, Arial, Sans-serif"><FONT size=2><U>YANG</U> Rong <BR></FONT><BR>20 Orton,</FONT></FONT></DIV>
<DIV><FONT color=#000066><FONT face="Verdana, Geneva, Arial, Sans-serif">Glenfield, AKL, <BR>New Zealand <BR><BR>Cell: +64 21 2355108</FONT></FONT></DIV>
<DIV><FONT face=Verdana color=#000066>Home phone: 09 4434960</FONT></DIV><br /><hr />Windows Live Writer,支持离线撰写博客内容,随时随地想写就写。 <a href='http://get.live.cn/product/writer.html' target='_new'>立即使用!</a></body>
</html>