<div dir="ltr">Thanks Andras,<div><br></div><div>I think I need a full-featured application as my current GUI in Matlab uses fully features that Matlab provides. Your suggestion was a bit over my head right now, but it would be extremely useful when I reach that level.</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 dir="ltr"><div dir="ltr"><div dir="ltr"><p style="font-family:Helvetica,Arial,sans-serif;font-size:14px;line-height:18px"><font color="#000000"><strong>Manh Ta</strong><br><span style="font-size:12px;line-height:14px">Graduate Research Assistant</span></font></p><p style="font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px"><font color="#000000">Center for Musculoskeletal Research <br>The University of Tennessee, Knoxville <br>Email: <a href="mailto:dta@vols.utk.edu" target="_blank">dta@vols.utk.edu</a></font></p></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Aug 20, 2018 at 9:05 PM, Andras Lasso <span dir="ltr"><<a href="mailto:lasso@queensu.ca" target="_blank">lasso@queensu.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you need a full-featured application then you may also consider customizing/extending existing VTK-based open-source applications that embed Python. Using Python scripting, you can build up your application GUI from plain low-level Qt widgets and bring in any additional application-specific widgets as needed; and access to all the features that these application provide. You can build on Paraview for general technical visualization, 3D Slicer for medical image computing, etc.<br>
<br>
Andras<br>
<br>
-----Original Message-----<br>
From: vtkusers <<a href="mailto:vtkusers-bounces@public.kitware.com">vtkusers-bounces@public.<wbr>kitware.com</a>> On Behalf Of Andrew E. Slaughter<br>
Sent: Monday, August 20, 2018 8:40 AM<br>
To: manhta152 <<a href="mailto:niuton152@gmail.com">niuton152@gmail.com</a>>; <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] Embed VTK in a GUI<br>
<br>
My recommendation is to use PySide (<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.qt.io%2FQt_for_Python&data=02%7C01%7Classo%40queensu.ca%7C9040f7185e0842ecf59808d6069a0205%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636703655886230803&sdata=iIVPxJtVxy985WoXTk%2BRWVNghkfXufiuVuUcVjIL1Ic%3D&reserved=0" rel="noreferrer" target="_blank">https://na01.safelinks.<wbr>protection.outlook.com/?url=<wbr>https%3A%2F%2Fwiki.qt.io%2FQt_<wbr>for_Python&data=02%7C01%<wbr>7Classo%40queensu.ca%<wbr>7C9040f7185e0842ecf59808d6069a<wbr>0205%<wbr>7Cd61ecb3b38b142d582c4efb2838b<wbr>925c%7C1%7C0%<wbr>7C636703655886230803&<wbr>sdata=iIVPxJtVxy985WoXTk%<wbr>2BRWVNghkfXufiuVuUcVjIL1Ic%3D&<wbr>amp;reserved=0</a>), the official Python bindings for Qt. I have used Python and PySide (the old one), PyQt4, and PyQt5 to maintain a VTK based GUI for many years, they work well together. Good luck.<br>
<span class=""><br>
______________________________<wbr>__________<br>
From: vtkusers <<a href="mailto:vtkusers-bounces@public.kitware.com">vtkusers-bounces@public.<wbr>kitware.com</a>> on behalf of manhta152 <<a href="mailto:niuton152@gmail.com">niuton152@gmail.com</a>><br>
Sent: Monday, August 20, 2018 3:58:58 AM<br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: [vtkusers] Embed VTK in a GUI<br>
<br>
Hi everyone,<br>
<br>
I have a computational modeling program that has been written in Matlab. I developed a GUI in Matlab and used VTK to visualize and interact (transform, cut, deform, etc.,) CAD models. However, Matlab GUI does not support embedding VTK, resulting in a separate Matlab GUI and a VTK rendering window. I have looked for options to embed VTK in a GUI that works similar to 3D Slicer. I know that I can do it in Qt, Python and PyQt, Python and Tk, Jave, and C#.<br>
<br>
The problem is my program consists of many matrix-based calculations that may take a great deal of effort if I develop the program in Qt and C#.<br>
Python is quite close to Matlab that I think I can develop the program in a short period and save time.<br>
<br>
For those who have experience in developing an app using VTK and PyQt, please let me know I should use VTK and PyQt4 or PyQt5 and why?<br>
<br>
Also, if you think Qt or C# can work more efficiently than Python (I don't have much experience in Qt), please let me know your thoughts and share with me how I can work efficiently with matrices in Qt and C#.<br>
<br>
Thanks in advance. I do appreciate any input.<br>
<br>
Regards,<br>
Manh<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2FVTK-Users-f1224199.html&data=02%7C01%7Candrew.slaughter%40inl.gov%7C91199821da7e4864b14508d606839b09%7C4cf464b7869a42368da2a98566485554%7C0%7C0%7C636703559665615874&sdata=907KYG62qUwb2Gm7bpb1u4Sk%2FXP0oasjU1Xp3XdIYlE%3D&reserved=0" rel="noreferrer" target="_blank">https://na01.safelinks.<wbr>protection.outlook.com/?url=<wbr>http%3A%2F%2Fvtk.1045678.n5.<wbr>nabble.com%2FVTK-Users-<wbr>f1224199.html&data=02%<wbr>7C01%7Candrew.slaughter%40inl.<wbr>gov%<wbr>7C91199821da7e4864b14508d60683<wbr>9b09%<wbr>7C4cf464b7869a42368da2a9856648<wbr>5554%7C0%7C0%<wbr>7C636703559665615874&<wbr>sdata=<wbr>907KYG62qUwb2Gm7bpb1u4Sk%<wbr>2FXP0oasjU1Xp3XdIYlE%3D&<wbr>reserved=0</a><br>
______________________________<wbr>_________________<br>
Powered by <a href="https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Candrew.slaughter%40inl.gov%7C91199821da7e4864b14508d606839b09%7C4cf464b7869a42368da2a98566485554%7C0%7C0%7C636703559665615874&sdata=WRwde%2BH2a6rWuYKFkI1DR3h4aZgyBGsJidMPgXBvLSE%3D&reserved=0" rel="noreferrer" target="_blank">https://na01.safelinks.<wbr>protection.outlook.com/?url=<wbr>www.kitware.com&data=02%<wbr>7C01%7Candrew.slaughter%40inl.<wbr>gov%<wbr>7C91199821da7e4864b14508d60683<wbr>9b09%<wbr>7C4cf464b7869a42368da2a9856648<wbr>5554%7C0%7C0%<wbr>7C636703559665615874&<wbr>sdata=WRwde%<wbr>2BH2a6rWuYKFkI1DR3h4aZgyBGsJid<wbr>MPgXBvLSE%3D&reserved=0</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%7Candrew.slaughter%40inl.gov%7C91199821da7e4864b14508d606839b09%7C4cf464b7869a42368da2a98566485554%7C0%7C0%7C636703559665615874&sdata=uoinIT40oISsji%2Fql4XN6QUXXLzomHVdZjm4uPVq574%3D&reserved=0" rel="noreferrer" target="_blank">https://na01.safelinks.<wbr>protection.outlook.com/?url=<wbr>http%3A%2F%2Fwww.kitware.com%<wbr>2Fopensource%2Fopensource.<wbr>html&data=02%7C01%<wbr>7Candrew.slaughter%40inl.gov%<wbr>7C91199821da7e4864b14508d60683<wbr>9b09%<wbr>7C4cf464b7869a42368da2a9856648<wbr>5554%7C0%7C0%<wbr>7C636703559665615874&<wbr>sdata=uoinIT40oISsji%<wbr>2Fql4XN6QUXXLzomHVdZjm4uPVq574<wbr>%3D&reserved=0</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%7Candrew.slaughter%40inl.gov%7C91199821da7e4864b14508d606839b09%7C4cf464b7869a42368da2a98566485554%7C0%7C0%7C636703559665615874&sdata=GgIeiz1t4yStgLAZPGN7eDeQVSHDE3pzyH6xCybqtlo%3D&reserved=0" rel="noreferrer" target="_blank">https://na01.safelinks.<wbr>protection.outlook.com/?url=<wbr>http%3A%2F%2Fwww.vtk.org%<wbr>2FWiki%2FVTK_FAQ&data=02%<wbr>7C01%7Candrew.slaughter%40inl.<wbr>gov%<wbr>7C91199821da7e4864b14508d60683<wbr>9b09%<wbr>7C4cf464b7869a42368da2a9856648<wbr>5554%7C0%7C0%<wbr>7C636703559665615874&<wbr>sdata=<wbr>GgIeiz1t4yStgLAZPGN7eDeQVSHDE3<wbr>pzyH6xCybqtlo%3D&reserved=<wbr>0</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%7Candrew.slaughter%40inl.gov%7C91199821da7e4864b14508d606839b09%7C4cf464b7869a42368da2a98566485554%7C0%7C0%7C636703559665615874&sdata=29K7%2F6Z17oHJK1fjmLkJ6NzoNMPgOlsVmLmdKmeJnfc%3D&reserved=0" rel="noreferrer" target="_blank">https://na01.safelinks.<wbr>protection.outlook.com/?url=<wbr>http%3A%2F%2Fmarkmail.org%<wbr>2Fsearch%2F%3Fq%3Dvtkusers&<wbr>amp;data=02%7C01%7Candrew.<wbr>slaughter%40inl.gov%<wbr>7C91199821da7e4864b14508d60683<wbr>9b09%<wbr>7C4cf464b7869a42368da2a9856648<wbr>5554%7C0%7C0%<wbr>7C636703559665615874&<wbr>sdata=29K7%<wbr>2F6Z17oHJK1fjmLkJ6NzoNMPgOlsVm<wbr>LmdKmeJnfc%3D&reserved=0</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Candrew.slaughter%40inl.gov%7C91199821da7e4864b14508d606839b09%7C4cf464b7869a42368da2a98566485554%7C0%7C0%7C636703559665615874&sdata=PlqeA5G62Q2dzs3RIUo%2BSmcvjLYo5ztJF2H3%2Foevy2E%3D&reserved=0" rel="noreferrer" target="_blank">https://na01.safelinks.<wbr>protection.outlook.com/?url=<wbr>https%3A%2F%2Fpublic.kitware.<wbr>com%2Fmailman%2Flistinfo%<wbr>2Fvtkusers&data=02%7C01%<wbr>7Candrew.slaughter%40inl.gov%<wbr>7C91199821da7e4864b14508d60683<wbr>9b09%<wbr>7C4cf464b7869a42368da2a9856648<wbr>5554%7C0%7C0%<wbr>7C636703559665615874&<wbr>sdata=PlqeA5G62Q2dzs3RIUo%<wbr>2BSmcvjLYo5ztJF2H3%2Foevy2E%<wbr>3D&reserved=0</a><br>
______________________________<wbr>_________________<br>
</span>Powered by <a href="https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Classo%40queensu.ca%7C9040f7185e0842ecf59808d6069a0205%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636703655886230803&sdata=7%2BYbID%2FxslBlzqKxEM8ghIA%2BlyBUCmzFYnvVcTFetgQ%3D&reserved=0" rel="noreferrer" target="_blank">https://na01.safelinks.<wbr>protection.outlook.com/?url=<wbr>www.kitware.com&data=02%<wbr>7C01%7Classo%40queensu.ca%<wbr>7C9040f7185e0842ecf59808d6069a<wbr>0205%<wbr>7Cd61ecb3b38b142d582c4efb2838b<wbr>925c%7C1%7C0%<wbr>7C636703655886230803&<wbr>sdata=7%2BYbID%<wbr>2FxslBlzqKxEM8ghIA%<wbr>2BlyBUCmzFYnvVcTFetgQ%3D&<wbr>reserved=0</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%7C9040f7185e0842ecf59808d6069a0205%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636703655886230803&sdata=FD%2BOMciZcGR%2BPi1DBOqyL%2FY4amr2NEW4xxPAEZ8UwVc%3D&reserved=0" rel="noreferrer" target="_blank">https://na01.safelinks.<wbr>protection.outlook.com/?url=<wbr>http%3A%2F%2Fwww.kitware.com%<wbr>2Fopensource%2Fopensource.<wbr>html&data=02%7C01%7Classo%<wbr>40queensu.ca%<wbr>7C9040f7185e0842ecf59808d6069a<wbr>0205%<wbr>7Cd61ecb3b38b142d582c4efb2838b<wbr>925c%7C1%7C0%<wbr>7C636703655886230803&<wbr>sdata=FD%2BOMciZcGR%<wbr>2BPi1DBOqyL%<wbr>2FY4amr2NEW4xxPAEZ8UwVc%3D&<wbr>amp;reserved=0</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%7C9040f7185e0842ecf59808d6069a0205%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636703655886230803&sdata=j4iX5BXlaECzt4KNp5sLksI6IBB9BxCDfK2uV6Ts%2FpY%3D&reserved=0" rel="noreferrer" target="_blank">https://na01.safelinks.<wbr>protection.outlook.com/?url=<wbr>http%3A%2F%2Fwww.vtk.org%<wbr>2FWiki%2FVTK_FAQ&data=02%<wbr>7C01%7Classo%40queensu.ca%<wbr>7C9040f7185e0842ecf59808d6069a<wbr>0205%<wbr>7Cd61ecb3b38b142d582c4efb2838b<wbr>925c%7C1%7C0%<wbr>7C636703655886230803&<wbr>sdata=<wbr>j4iX5BXlaECzt4KNp5sLksI6IBB9Bx<wbr>CDfK2uV6Ts%2FpY%3D&<wbr>reserved=0</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%7C9040f7185e0842ecf59808d6069a0205%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636703655886240812&sdata=CdsYNqQAFMk%2BQJT0wFy2a26LgdStw3enUx0imvXxhYQ%3D&reserved=0" rel="noreferrer" target="_blank">https://na01.safelinks.<wbr>protection.outlook.com/?url=<wbr>http%3A%2F%2Fmarkmail.org%<wbr>2Fsearch%2F%3Fq%3Dvtkusers&<wbr>amp;data=02%7C01%7Classo%<wbr>40queensu.ca%<wbr>7C9040f7185e0842ecf59808d6069a<wbr>0205%<wbr>7Cd61ecb3b38b142d582c4efb2838b<wbr>925c%7C1%7C0%<wbr>7C636703655886240812&<wbr>sdata=CdsYNqQAFMk%<wbr>2BQJT0wFy2a26LgdStw3enUx0imvXx<wbr>hYQ%3D&reserved=0</a><br>
<span class=""><br>
Follow this link to subscribe/unsubscribe:<br>
</span><a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Classo%40queensu.ca%7C9040f7185e0842ecf59808d6069a0205%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636703655886240812&sdata=WEZo64MvkTe%2Bn1JQsk6CezzJ3kqWxE6qTnvvE%2BXX2w8%3D&reserved=0" rel="noreferrer" target="_blank">https://na01.safelinks.<wbr>protection.outlook.com/?url=<wbr>https%3A%2F%2Fpublic.kitware.<wbr>com%2Fmailman%2Flistinfo%<wbr>2Fvtkusers&data=02%7C01%<wbr>7Classo%40queensu.ca%<wbr>7C9040f7185e0842ecf59808d6069a<wbr>0205%<wbr>7Cd61ecb3b38b142d582c4efb2838b<wbr>925c%7C1%7C0%<wbr>7C636703655886240812&<wbr>sdata=WEZo64MvkTe%<wbr>2Bn1JQsk6CezzJ3kqWxE6qTnvvE%<wbr>2BXX2w8%3D&reserved=0</a><br>
</blockquote></div><br></div>