<div dir="ltr"><div class="markdown-here-wrapper" style="font-family:"Lucida Sans",Cantarell,Verdana,sans-serif;color:rgb(11,83,148)"><p style="margin:0px 0px 1.2em!important">Hi Andras,</p>
<p style="margin:0px 0px 1.2em!important"><a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/4627">!4627</a> implements a mode in <code style="font-size:0.95em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(218,218,218);background-color:rgb(232,232,232);border-radius:3px;display:inline">vtkVolumeProperty</code> that lets you use custom intensity values for voxels in the clipped space when computing gradients at the clip face.</p>
<p style="margin:0px 0px 1.2em!important">Best,<br>Sankhesh</p>
<div title="MDH:SGkgQW5kcmFzLDxkaXY+PGJyPjwvZGl2PjxkaXY+WyE0NjI3XSg8YSBocmVmPSJodHRwczovL2dp
dGxhYi5raXR3YXJlLmNvbS92dGsvdnRrL21lcmdlX3JlcXVlc3RzLzQ2MjciPmh0dHBzOi8vZ2l0
bGFiLmtpdHdhcmUuY29tL3Z0ay92dGsvbWVyZ2VfcmVxdWVzdHMvNDYyNzwvYT4pIGltcGxlbWVu
dHMgYSBtb2RlIGluIGB2dGtWb2x1bWVQcm9wZXJ0eWAgdGhhdCBsZXRzIHlvdSB1c2UgY3VzdG9t
IGludGVuc2l0eSB2YWx1ZXMgZm9yIHZveGVscyBpbiB0aGUgY2xpcHBlZCBzcGFjZSB3aGVuIGNv
bXB1dGluZyBncmFkaWVudHMgYXQgdGhlIGNsaXAgZmFjZS48L2Rpdj48ZGl2Pjxicj48L2Rpdj48
ZGl2PkJlc3QsPC9kaXY+PGRpdj5TYW5raGVzaDwvZGl2Pg==" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 3, 2017 at 10:48 AM Andras Lasso <<a href="mailto:lasso@queensu.ca">lasso@queensu.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_6543416092113971690WordSection1">
<p class="MsoNormal">Hi all,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m working on visualizing cardiac images using volume rendering. I need to cut into the volume to see surfaces inside the heart, which works quite well by using clipping planes of the volume mapper. The only problem is that that surface
 at the cut plane looks very rough, which makes it difficult to distinguish from actual endocardial surfaces. If I “cut” the volume by setting voxel values outside the clipping box to “empty” (-1000 = air intensity value) then the cut surface looks nice – smooth
 and flat. See example for both cutting method in the attached files. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there a way to change volume renderer to get smooth cut surfaces (the same look as we get by setting outside voxels to “empty” values)?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Andras<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">---<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">See full resolution images and more examples here:<u></u><u></u></p>
<p class="MsoNormal"><a href="https://1drv.ms/f/s!Arm_AFxB9yqHsOsClG_QsMx-4sh8rg" target="_blank">https://1drv.ms/f/s!Arm_AFxB9yqHsOsClG_QsMx-4sh8rg</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">CT volume can be downloaded from here:<u></u><u></u></p>
<p class="MsoNormal"><a href="http://slicer.kitware.com/midas3/download/item/292309/CTA-cardio.nrrd" target="_blank">http://slicer.kitware.com/midas3/download/item/292309/CTA-cardio.nrrd</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#595959">________________________<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#595959">Andras Lasso, PhD<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#595959">Senior Research Engineer, Associate Director (Engineering)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#595959">Laboratory for Percutaneous Surgery<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#595959">School of Computing, Queen's University<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#595959">Kingston, ON, Canada<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div class="inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-markdown-here-wrapper" style="font-family:"proza libre",sans-serif;color:rgb(0,56,107)"><h5 id="inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox-sankhesh-jhaveri" style="margin:1.3em 0px 1em;padding:0px;font-size:1.1em;border-bottom:1px solid rgb(238,238,238);font-weight:bold;color:rgb(11,65,148)">Sankhesh Jhaveri</h5>
<h6 id="inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox--sr-research-development-engineer-kitware-http-www-kitware-com-518-881-4417" style="margin:1.3em 0px 1em;padding:0px;font-size:1em;color:rgb(11,83,148);font-family:"open sans",sans-serif;font-weight:normal"><em>Sr. Research & Development Engineer</em> | <a href="http://www.kitware.com/">Kitware</a> | (518) 881-4417</h6>
<div title="MDH:PGIgc3R5bGU9ImZvbnQtZmFtaWx5OiB2ZXJkYW5hLCBzYW5zLXNlcmlmOyBjb2xvcjogcmdiKDEx
LCA4MywgMTQ4KTsiPjxmb250IHNpemU9IjIiPiMjIyMjU2Fua2hlc2ggSmhhdmVyaTwvZm9udD48
L2I+PGRpdj48Zm9udCBjb2xvcj0iIzBiNTM5NCIgZmFjZT0idmVyZGFuYSwgc2Fucy1zZXJpZiIg
c2l6ZT0iMiI+PGI+PGJyPjwvYj48L2ZvbnQ+PGRpdj48c3BhbiBzdHlsZT0iZm9udC1mYW1pbHk6
IGFyaWFsLCBzYW5zLXNlcmlmOyBjb2xvcjogcmdiKDExLCA4MywgMTQ4KTsiPjxzcGFuIHN0eWxl
PSJmb250LWZhbWlseTogdmVyZGFuYSwgc2Fucy1zZXJpZjsiPjxpPiMjIyMjIypTci4gUmVzZWFy
Y2ggJmFtcDsgRGV2ZWxvcG1lbnQgRW5naW5lZXIqPC9pPiZuYnNwO3wmbmJzcDs8L3NwYW4+PC9z
cGFuPjxzcGFuIHN0eWxlPSJmb250LWZhbWlseTogdmVyZGFuYSwgc2Fucy1zZXJpZjsgY29sb3I6
IHJnYigxMSwgODMsIDE0OCk7Ij48YSBocmVmPSJodHRwOi8vd3d3LmtpdHdhcmUuY29tLyIgdGFy
Z2V0PSJfYmxhbmsiIHN0eWxlPSJjb2xvcjogcmdiKDE3LCA4NSwgMjA0KTsiPktpdHdhcmU8L2E+
Jm5ic3A7fCZuYnNwOzwvc3Bhbj48c3BhbiBzdHlsZT0iZm9udC1mYW1pbHk6IHZlcmRhbmEsIHNh
bnMtc2VyaWY7IGNvbG9yOiByZ2IoMTEsIDgzLCAxNDgpOyI+KDUxOCkgODgxLTQ0MTc8L3NwYW4+
PGJyPjwvZGl2PjxkaXY+PGRpdj48ZGl2PjxzcGFuIHN0eWxlPSJmb250LWZhbWlseTogdmVyZGFu
YSwgc2Fucy1zZXJpZjsgY29sb3I6IHJnYigxMSwgODMsIDE0OCk7Ij48L3NwYW4+PC9kaXY+PC9k
aXY+PC9kaXY+PC9kaXY+" style="height:0px;width:0px;max-height:0px;max-width:0px;overflow:hidden;font-size:0em;padding:0px;margin:0px">​</div></div></div></div>