<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Sans";
        panose-1:2 11 6 2 3 5 4 2 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
h5
        {mso-style-priority:9;
        mso-style-link:"Heading 5 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman",serif;
        font-weight:bold;}
h6
        {mso-style-priority:9;
        mso-style-link:"Heading 6 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:7.5pt;
        font-family:"Times New Roman",serif;
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.Heading5Char
        {mso-style-name:"Heading 5 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 5";
        font-family:"Calibri Light",sans-serif;
        color:#2E74B5;}
span.Heading6Char
        {mso-style-name:"Heading 6 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 6";
        font-family:"Calibri Light",sans-serif;
        color:#1F4D78;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">This is awesome! Thanks a lot for implementing this. It will greatly improve clipped volume visualization.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Andras<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
<br>
<b>Sent:</b> Wednesday, August 29, 2018 9:49 AM<br>
<b>To:</b> Andras Lasso <lasso@queensu.ca><br>
<b>Cc:</b> vtkusers@vtk.org<br>
<b>Subject:</b> Re: [vtkusers] Volume rendering produces rough surface at clipping plane<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p><span style="font-family:"Lucida Sans",sans-serif;color:#0B5394">Hi Andras,<o:p></o:p></span></p>
<p style="margin:1.2em!important"><span style="font-family:"Lucida Sans",sans-serif;color:#0B5394"><a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.kitware.com%2Fvtk%2Fvtk%2Fmerge_requests%2F4627&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694883358&sdata=9QSPhtudVqpDJdcEPxqZWO9hV0iqEG%2Fmt58KwRe9w8I%3D&reserved=0">!4627</a>
 implements a mode in </span><code><span style="font-size:11.5pt;font-family:Consolas;color:#0B5394;border:solid #DADADA 1.0pt;padding:0in;background:#E8E8E8">vtkVolumeProperty</span></code><span style="font-family:"Lucida Sans",sans-serif;color:#0B5394"> that
 lets you use custom intensity values for voxels in the clipped space when computing gradients at the clip face.<o:p></o:p></span></p>
<p style="margin:1.2em!important"><span style="font-family:"Lucida Sans",sans-serif;color:#0B5394">Best,<br>
Sankhesh<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:#0B5394">​</span><span style="font-size:1.0pt;font-family:"Lucida Sans",sans-serif;color:#0B5394"><o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Fri, Nov 3, 2017 at 10:48 AM Andras Lasso <<a href="mailto:lasso@queensu.ca">lasso@queensu.ca</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi all,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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.
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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)?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Andras<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">---<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">See full resolution images and more examples here:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F1drv.ms%2Ff%2Fs!Arm_AFxB9yqHsOsClG_QsMx-4sh8rg&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694883358&sdata=Kv2zau7vHuPxMEosN89SF1IGYjCwCKQk0lrngO9Tnzg%3D&reserved=0" target="_blank">https://1drv.ms/f/s!Arm_AFxB9yqHsOsClG_QsMx-4sh8rg</a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">CT volume can be downloaded from here:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fslicer.kitware.com%2Fmidas3%2Fdownload%2Fitem%2F292309%2FCTA-cardio.nrrd&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694893363&sdata=atKizvUvC92hjztLus1b6ybp8OrwZJh6%2B599fLLctbU%3D&reserved=0" target="_blank">http://slicer.kitware.com/midas3/download/item/292309/CTA-cardio.nrrd</a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:8.0pt;color:#595959">________________________</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:8.0pt;color:#595959">Andras Lasso, PhD</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:8.0pt;color:#595959">Senior Research Engineer, Associate Director (Engineering)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:8.0pt;color:#595959">Laboratory for Percutaneous Surgery</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:8.0pt;color:#595959">School of Computing, Queen's University</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:8.0pt;color:#595959">Kingston, ON, Canada</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Powered by <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694893363&sdata=ZRfjX2PMLuebTLfEAI6BAwlcJJfS6pcq9XD7FZ13orU%3D&reserved=0" target="_blank">
www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694903376&sdata=XJBH963yUgggk7W0IrZ9QlvSu11RcSUG%2FRcfMdU7DFs%3D&reserved=0" 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="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694903376&sdata=pDypE3JBYa%2FB%2Foc%2BJXo7GQ%2Bgg4uUexo5jNlMZwRASpE%3D&reserved=0" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694913376&sdata=zglxMXZOb8qtwFhuQa9pp3SUnyX3xPHz4BN1rIOvk4s%3D&reserved=0" target="_blank">
http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694913376&sdata=390T8zwwdAIGas8hHZxmOhQZMnsVEZAfnqchhT6NVZ4%3D&reserved=0" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div style="mso-element:para-border-div;border:none;border-bottom:solid #EEEEEE 1.0pt;padding:0in 0in 0in 0in">
<h5 style="mso-margin-top-alt:15.6pt;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;border:none;padding:0in">
<span style="font-size:13.0pt;font-family:"Arial",sans-serif;color:#0B4194">Sankhesh Jhaveri<o:p></o:p></span></h5>
</div>
<h6 style="mso-margin-top-alt:15.6pt;margin-right:0in;margin-bottom:12.0pt;margin-left:0in" id="inbox-inbox-inbox-inbox-inbox-inbox-inbox-inbox--sr-research-development-engineer-kitware-http-www-kitware-com-518-881-4417">
<em><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#0B5394;font-weight:normal">Sr. Research & Development Engineer</span></em><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#0B5394;font-weight:normal"> |
<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2F&data=02%7C01%7Classo%40queensu.ca%7C1b0e2ad2d9874241678b08d60db63cd7%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636711473694923385&sdata=xG1z%2FYjSiFip4mRTr7C%2FjGrQgt2by0Ndw1H20yKomSU%3D&reserved=0">
Kitware</a> | (518) 881-4417<o:p></o:p></span></h6>
<div>
<p class="MsoNormal"><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:#00386B">​<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>