<div>Have you checked out vtkBoxWidget? It takes care of a lot of cropping work for you automatically. There is an example file that shows how to enable cropping of a volume with it (check the online class documentation for the link). I've only used vtkImageData -&gt; vtkVolume as its input, but it will probably work with vtkStructuredPoints -&gt; vtkVolume too,
</div>
<div>&nbsp;</div>
<div>Mark<br><br>&nbsp;</div>
<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="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello all,<br><br>&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>