<div>hi all</div> <div>I try to access each cell in some polyData and the access the x,y,z of the vertecies of the triangle <BR>but I tried a lot to read these vertecies and failed.., so i ask u if u know how to do..</div> <div> </div> <div>some of my trials:</div> <div> </div> <div> vtkCell *cell;<BR> vtkPoints *points;<BR> vtkDataArray *pointsArray;</div> <div>for (int ID=0;ID<poly->GetNumberOfCells();ID++)<BR> {<BR> <BR> cell=poly->GetCell(ID);<BR> points->Initialize();<BR> points=cell->GetPoints();<BR> pointsArray=points->GetData();</div> <div> <BR> }//for cells</div> <div><BR>but the pointsArray (vtkDataArray) don't contain the x,y,z of the points..:(</div> <div>do u have any idea??????????????????????</div> <div> </div> <div> </div> <div>thanks in advance</div> <div> </div>
<div>LM</div><p> 
                <hr size=1>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com"> Great rates starting at 1¢/min.