I am now using the addClippingPlane() member of the mapper, which seems to be doing exactly what I want. Since this is not for calculations, but only for the visualization, doing this in the mapper phase seems to be the right thing. However, I'm having some issues with the rendering of this. Will post this in a separate thread.<div>
<br></div><div>Tijmen<br><br><div class="gmail_quote">On Mon, Jul 18, 2011 at 11:03 AM, Tijmen Klein <span dir="ltr"><<a href="mailto:T.R.Klein@student.rug.nl">T.R.Klein@student.rug.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
As far as I know, the extract VOI filter can only be used for rectangular regions? My clipping plane will be positioned in ways that the output will not be rectangular. I've looked in the vtkShepardMethod to sample the output of the vtkClipPolyDate onto a structured grid, I think that this will be the easiest way to achieve my goal?<div>
<br></div><div><font color="#888888">Tijmen </font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Jul 13, 2011 at 10:44 PM, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch" target="_blank">dominik@itis.ethz.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Have you tried the extract VOI filter?<br>
<br>
Dominik<br>
<div><div></div><div><br>
On Wed, Jul 13, 2011 at 6:17 PM, Tijmen Klein <<a href="mailto:T.R.Klein@student.rug.nl" target="_blank">T.R.Klein@student.rug.nl</a>> wrote:<br>
> I have a volume that I currently render using the GPU-based volume renderer.<br>
> Now I want to clip (using a plane) this volume, and render the output (again<br>
> using the CPU-based volume renderer). However, the problem is that the<br>
> clipping transforms the data into a unstructured grid, which limits me to<br>
> using a CPU based renderer.<br>
> Is it possible to use a clipping algorithm that outputs a rectilinear grid?<br>
> I know that vtkClipPolyData will create new cells, but I'm not interested in<br>
> that. Is this possible?<br>
> Cheers,<br>
> Tijmen<br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>