<DIV> Hi! I am a novice at VTK.</DIV>
<DIV>I want to read my Tecplot data and show it using VTK.The data file(old_bridge.plt) and the result had been adjoined into attachment.</DIV>
<DIV>In the data file ,it has 8 nodes,6 cells with the type of triangle.</DIV>
<DIV>My code(showBridge.cxx) adjoined into attachment.And my trouble is how to transfer vtkMultiBlockDataSet to vtkPolyData. This code is the modification from the book "The Visualization Toolkit 3rd" in chapter 5.</DIV>
<DIV>Do you think my solution is right ? or there are some other ways to do this more effectively?</DIV>
<DIV>The on line help "vtkTecplotReader Class Reference" says:"<A class="el" title="A concrete class to read an ASCII Tecplot file." href="http://www.vtk.org/doc/release/5.6/html/a01927.html">vtkTecplotReader</A> parses an ASCII Tecplot file,and can extract <A class="el" title="represent and manipulate point attribute data" href="http://www.vtk.org/doc/release/5.6/html/a01422.html">vtkPointData</A> and / or <A class="el" title="represent and manipulate cell attribute data" href="http://www.vtk.org/doc/release/5.6/html/a00267.html">vtkCellData</A>".Unfortunately,there are not have additional details of how to extract the pointdata and celldata.</DIV>
<DIV>I have been puzzled by this problem for few days , after all,there are so many Classes <SPAN>similar </SPAN>in VTK.</DIV>
<DIV>Any suggestions are very glad.<BR>Thanks!</DIV>
<DIV>Reece</DIV><br><br><span title="neteasefooter"><span id="netease_mail_footer"><hr/>
<a href="http://yxp.163.com/photo/ep.html?sss=fromyx0911" target="_blank">全国最低价,天天在家冲照片,24小时发货上门!</a>
</span></span>