<div dir="ltr"><div><div>Hi,<br></div>I was trying to build a scene where both <span>surface</span>
 and volume rendering are used, and the volume rendered dataset is cut 
thanks to a clipping plane. Although I guess this is perfectly 
possible with VTK, I was finding it a little bit complicated. <br></div>

<div><br>Thus, I decided to try with Paraview. A screenshot of what I have in mind is attached.<br><br></div><div>So
 based on the skull stripping contribution [1], I'd like to be able to 
load the original brainweb.mha dataset for that contribution, render the
 volume, then load the output of the segmentation, apply a contour 
filter, render the <span>surface</span>, and be able to apply a clipping
 plane (through the vtkImplicitPlaneWidget [2] or the 
vtkImplicitPlaneWidget2 [3]) to this last.<br>

<br>Basically, I'm finding it difficult to apply the 
vtkImplicitPlaneWidget or vtkImplicitPlaneWidget2 to the volume rendered
 object (the wiki examples [4] [5] act on PolyData types). <br><br>Can anyone cast some light on this, please?<br>
<br></div><div>Thank you,<br>JON HAITZ<br><br><br></div><div>P.S.:
 Although at this stage I'm not concerned with memory optimization, it 
looks like I'll need to, since for the brainweb dataset (~7 MB) and the 
corresponding skull stripping/brain segmentation (~10 MB) Paraview 
allocates between 6 and 10 GB of memory, with some peaks at 16 GB :-S. I
 don't know whether I'm missing some important information regarding 
this issue.<br>

</div><br><br>[1] <a href="http://www.insight-journal.org/browse/publication/859" target="_blank">http://www.insight-journal.org/browse/publication/859</a><br>[2] <a href="http://www.vtk.org/doc/nightly/html/classvtkImplicitPlaneWidget.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkImplicitPlaneWidget.html</a><br>

[3] <a href="http://www.vtk.org/doc/nightly/html/classvtkImplicitPlaneWidget2.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkImplicitPlaneWidget2.html</a><br>[4] <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/ImagePlaneWidget" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/ImagePlaneWidget</a><br>

[5] <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/ImplicitPlaneWidget2" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/ImplicitPlaneWidget2</a><br>
<div><div dir="ltr"><table align="center" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td></td></tr><tr><td><table align="center" border="0" cellpadding="0"><tbody><tr><td><br></td></tr></tbody></table></td></tr>
</tbody></table></div></div>
</div>