Hello everyone,<br><br>I am having trouble understanding how to traverse a vtkPolyData object.<br><br>I am cutting through a 3D volume using a vtkPlane as the implicit function and the vtkCutter.<br><br>Now, I am assuming the vtkCutter will give me 0, 1 or more polygons. What I would like to do is access the vertices of each of these polygons. 
<br><br>So, my pipeline is as follows<br><br>vtkPlane * plane = vtkPlane::New();<br>plane-&gt;SetOrigin(x, y, z);<br>plane-&gt;SetNormal(0, 0, 1);<br><br>vtkVutter * cutter = vtkCutter::New();<br>cutter-&gt;SetCutFunction(plane);
<br>cutter-&gt;Update();<br><br>vtkPolyData * out = cutter-&gt;GetOutput();<br><br>Now what I want to do is traverse this output and get all the vertices of all the polygons in this vtkPolyData.<br><br>Can anyone tell me how one can go about doing that? I would be really grateful.
<br><br>Thanks!<br>Luca<br>