Well, is your vtkPlane Axis Aligned? If it is, then try looking into the vtkExtractVOI filter, which will return a vtkStructuredPoints for you.<br><br>If the plane is arbitrarily positioned in space, then you need to think about what you want to do with all the &quot;clipped&quot; cells along the edge.&nbsp; That's why the result is an vtkUnstructuredGrid, because of the prisms, triangles, and tetrahedra that occur along angular cuts.&nbsp; You would need to find a way to return this to a vtkStructuredPoints, probably with a vtkProbeFilter &amp; a blank vtkImageData (vtkStructuredPoints) of the desired size..&nbsp; But this will be 
<span style="font-weight: bold;">extremely</span> slow and wasteful of memory.&nbsp; Best to just use the vtkUnstructuredGrid as-is :)<br><br><div><span class="gmail_quote">On 2/10/06, <b class="gmail_sendername">Rhys Thomas</b>
 &lt;<a href="mailto:rgt@informatics.bangor.ac.uk">rgt@informatics.bangor.ac.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello all,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;I was wondering if anyone could provide some hints on the following<br>problem: I wish to clip an instance of/ vtkStructuredPoints/ using a<br>/vtkPlane/. I want the output to be an instance of /vtkStructuredPoints/
<br>so that I can insert it into my graphics pipeline in place of another<br>instance of /vtkStructuredPoints/ because I am performing other<br>operations on the data (changing opacity of certain voxels, contrast<br>stretching). I am currently using /vtkRenderer::AddVolume /to add a
<br>/vtkVolume/ to the pipeline. I have tried variations of /vtkCutter,<br>vtkClipVolume /and/ vtkProbeFilter, /but with disappointing results.<br>Does anyone have&nbsp;&nbsp;any suggestions as to the quickest (i.e. least<br>processor intensive) solution to this problem?
<br><br>Thanks<br><br>Rhys<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br><br clear="all"><br>-- <br>Randall Hand
<br>Visualization Scientist, <br>ERDC-MSRC Vicksburg, MS<br>Homepage: <a href="http://www.yeraze.com">http://www.yeraze.com</a>