<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>Iam finding fine solution for filter <span class=""></span>which will has on input vtkPolyData<span class=""></span> contains vtkPolygons (like in example <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Polygon">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Polygon</a>).<br>
<br></div>Every point in ONE polygon in <span class=""></span>vtkPolyData<span class=""> has constant Z coordinate.<br>I want to filter </span>vtkPolyData<span class=""> to remove all polygons with Z != x, where x is my number.<br>
<br></span></div><span class=""><br>Example:</span><br><br><span class=""></span>vtkPolyData before:<br>polygon A (10,15,6)(12,12,6)<span class=""></span>(-3,0,6)<br>polygon B (10,15,6)(80,1,6)<span class=""></span>(11,1,6)<br>
polygon C (10,15,3)(1,0,3)<span class=""></span>(-31,12,3)<br><br><span class=""></span>vtkPolyData after filter with Z=6:<br>polygon A (10,15,6)(12,12,6)<span class=""></span>(-3,0,6)<br>polygon B (10,15,6)(80,1,6)<span class=""></span>(11,1,6)<br>
<br></div>Thank for all ideas!<br><br></div>Wydesenej<br></div>