<div dir="ltr"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">You should do this with your material:<br>renderMaterial->wireframeOn(<wbr>RenderMaterial::DisplayMode::<wbr>WIREFRAME);</blockquote><div><br></div><div>That's the way, just using <a href="https://gitlab.kitware.com/iMSTK/iMSTK/blob/838ff72/Base/Materials/imstkRenderMaterial.h#L39-56">RenderMaterial::setDisplayMode()</a> and not RenderMaterial::wireframeOn() which doesn't exist. You could also use DisplayMode::WIREFRAME_SURFACE as an argument if you want to see both surface and wireframe.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p class="MsoNormal" style="font-size:12.8px"><span style="font-size:12pt;font-family:"\005fae\008f6f\0096c5\009ed1 light",sans-serif;color:rgb(31,73,125)">Thanks. But I cannot use the that version as we talked before.</span></p></blockquote><div><br></div><div>What do you mean by that? Do you encounter issues with the latest version which were not in previous versions of iMSTK?<br><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8000001907349px">Alexis Girault</span><br style="color:rgb(136,136,136);font-size:12.8000001907349px"><span style="color:rgb(136,136,136);font-size:12.8000001907349px">R&D Engineer in Medical Computing</span><br style="color:rgb(136,136,136);font-size:12.8000001907349px"><span style="color:rgb(136,136,136);font-size:12.8000001907349px">Kitware, Inc.</span><br style="color:rgb(136,136,136);font-size:12.8000001907349px"><br style="color:rgb(136,136,136);font-size:12.8000001907349px"><a href="http://www.kitware.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">http://www.kitware.com</a><br style="color:rgb(136,136,136);font-size:12.8000001907349px"><font color="#999999"><a href="tel:(919)+969-6990+x325" target="_blank"><span style="font-size:12.8000001907349px">(919) 969-6990 x3</span>25</a></font><br></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, May 16, 2017 at 4:10 PM, Zhaohui Xia <span dir="ltr"><<a href="mailto:unihui@gmail.com" target="_blank">unihui@gmail.com</a>></span> wrote:<br><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_-1645456038749810304WordSection1"><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"\005fae\008f6f\0096c5\009ed1 Light",sans-serif;color:#1f497d">Thanks. But I cannot use the that version as we talked before.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Microsoft JhengHei Light",sans-serif;color:#1f497d"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b>From:</b> Milef, Nicholas Boris [mailto:<a href="mailto:milefn@rpi.edu" target="_blank">milefn@rpi.edu</a>] <br><b>Sent:</b> 2017<span lang="ZH-CN" style="font-family:"\005fae\008f6f\0096c5\009ed1",sans-serif">年</span>5<span lang="ZH-CN" style="font-family:"\005fae\008f6f\0096c5\009ed1",sans-serif">月</span>16<span lang="ZH-CN" style="font-family:"\005fae\008f6f\0096c5\009ed1",sans-serif">日</span> 16:04<br><b>To:</b> Zhaohui Xia <<a href="mailto:unihui@gmail.com" target="_blank">unihui@gmail.com</a>>; <a href="mailto:imstk-developers@imstk.org" target="_blank">imstk-developers@imstk.org</a><br><b>Subject:</b> RE: [Imstk-developers] rendering mesh with wire frame mode in iMSTK<u></u><u></u></p></div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Hi Zhaohui, <u></u><u></u></span></p><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">You should do this with your material:<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">renderMaterial->wireframeOn(<wbr>RenderMaterial::DisplayMode::<wbr>WIREFRAME);<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Thanks,<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Nick<u></u><u></u></span></p><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><u></u> <u></u></span></p><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Software Engineer <u></u><u></u></span></p><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Center for Modeling, Simulation, & Imaging in Medicine<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Rensselaer Polytechnic Institute<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><a href="mailto:milefn@rpi.edu" target="_blank">milefn@rpi.edu</a><u></u><u></u></span></p></div></div></div><div><div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><hr size="2" width="100%" align="center"></span></div><div id="m_-1645456038749810304divRpF106216"><p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> Imstk-developers [<a href="mailto:imstk-developers-bounces@imstk.org" target="_blank">imstk-developers-bounces@<wbr>imstk.org</a>] on behalf of Zhaohui Xia [<a href="mailto:unihui@gmail.com" target="_blank">unihui@gmail.com</a>]<br><b>Sent:</b> Tuesday, May 16, 2017 3:54 PM<br><b>To:</b> <a href="mailto:imstk-developers@imstk.org" target="_blank">imstk-developers@imstk.org</a><br><b>Subject:</b> [Imstk-developers] rendering mesh with wire frame mode in iMSTK</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><u></u><u></u></span></p></div><div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Microsoft JhengHei Light",sans-serif;color:#1f497d">Hi,</span><span style="color:black"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Microsoft JhengHei Light",sans-serif;color:#1f497d">Can we add the functionality in iMSTK for supporting rendering mesh with wireframe mode? It will be helpful for debugging.</span><span style="color:black"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Microsoft JhengHei Light",sans-serif;color:#1f497d">Best Regards,</span><span style="color:black"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Microsoft JhengHei Light",sans-serif;color:#1f497d">Zhaohui</span><span style="color:black"><u></u><u></u></span></p></div></div></div></div></div></div></div></div></div><br>______________________________<wbr>_________________<br>
Imstk-developers mailing list<br>
<a href="mailto:Imstk-developers@imstk.org">Imstk-developers@imstk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/imstk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/imstk-<wbr>developers</a><br>
<br></blockquote></div><br></div>