<div dir="ltr">There are a ton of tutorials out there integrating Qt with either VTK or ITK or both. I would suggest to start off with trying to integrate the former 2 since they are similar. Going from VTK to ITK wouldn't be too much of an issue because of good data structure compatibility between them (<a href="http://www.itk.org/Doxygen/html/group__ITKVtkGlue.html">http://www.itk.org/Doxygen/html/group__ITKVtkGlue.html</a>).<div><br></div><div>Some links to start you off:</div><div><a href="http://www.qtforum.org/article/18473/tutorial-for-using-qt-with-vtk.html">http://www.qtforum.org/article/18473/tutorial-for-using-qt-with-vtk.html</a></div><div><a href="http://qtitkvtkhelp.blogspot.in/2013/07/itk-reader-vtk-viewer-qt-gui.html">http://qtitkvtkhelp.blogspot.in/2013/07/itk-reader-vtk-viewer-qt-gui.html</a></div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUIMultipleInheritance">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUIMultipleInheritance</a><br></div><div><br></div><div>Cheers!<br><div class="gmail_extra"><br><div class="gmail_quote">On 15 May 2015 at 11:02, 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Amir, I would strongly advise against implementing medical image computing applications from scratch. There are many good platforms to choose from (3D Slicer,
MITK, etc). It is a better investment to learn application development using these platforms than spending time with trying to solve basic problems.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Also, ITK is an algorithm toolkit, so ITK mailing lists are not ideal forums for discussing application development issues.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Andras<u></u><u></u></span></p>
<p class="MsoNormal"><a name="14d586f6a4c7eed2__MailEndCompose"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></a></p>
<div>
<div style="border-style:solid none none;border-top-color:rgb(225,225,225);border-top-width:1pt;padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> Community [mailto:<a href="mailto:community-bounces@itk.org" target="_blank">community-bounces@itk.org</a>]
<b>On Behalf Of </b>Abdelkhalek Bakkari<br>
<b>Sent:</b> Friday, May 15, 2015 10:40 AM<br>
<b>To:</b> Khojaste, Amir; insight-users<br>
<b>Subject:</b> Re: [ITK] [ITK-users] ITK-QT-VTK<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:8pt;color:black"><br>
</span><span style="font-family:Calibri,sans-serif">Hi Amir,<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif">For my case, I created three methods for 3D Image Segmentation with ITK and they are working quite good. Although, I would like to create an interface which can load the 3D CT/MRI Dicom images
and put them in the interface and segment them and visualize it by VTK.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt"><span style="font-family:Calibri,sans-serif">But I have no idea about VTK and QT.<br>
<br>
<br>
<br>
<u></u><u></u></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:Calibri,sans-serif">
<hr size="3" width="100%" align="center">
</span></div>
<p class="MsoNormal" style="margin-bottom:12pt"><span style="font-family:Calibri,sans-serif">From:
<a href="mailto:amir.khojaste@sunnybrook.ca" target="_blank">amir.khojaste@sunnybrook.ca</a><br>
To: <a href="mailto:bakkari.abdelkhalek@hotmail.fr" target="_blank">bakkari.abdelkhalek@hotmail.fr</a><br>
Subject: RE: [ITK-users] ITK-QT-VTK<br>
Date: Fri, 15 May 2015 14:36:17 +0000<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hi Abdelkhalek</span><span style="font-family:Garamond,serif">,</span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Garamond,serif"> </span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I am struggling to do the same! All I want to do is to have a simple interface for my code that uses ITK! I have followed this link for using ITK and VTK libraries
inside Qt Creator:</span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><a href="http://blog.chasank.com/building-qt-vtk-and-itk-on-windows-7-x64/" target="_blank">http://blog.chasank.com/building-qt-vtk-and-itk-on-windows-7-x64/</a></span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Everything went fine except that I could not read a simple image. When I included “itkImageFileReader.h” I had all these Linker problems.
</span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Whats your status? Could you build ITK, VTK and Qt successfully?
</span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Cheers,</span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Amir</span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<div>
<div style="border-style:solid none none;border-top-color:rgb(225,225,225);border-top-width:1pt;padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> Insight-users [<a href="mailto:insight-users-bounces@itk.org" target="_blank">mailto:insight-users-bounces@itk.org</a>]
<b>On Behalf Of </b>Abdelkhalek Bakkari<br>
<b>Sent:</b> May-15-15 10:29 AM<br>
<b>To:</b> insight-users; <a href="mailto:community@itk.org" target="_blank">community@itk.org</a><br>
<b>Subject:</b> [ITK-users] ITK-QT-VTK</span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif"> <u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:8pt;font-family:Calibri,sans-serif;color:black"><br>
</span><span style="font-family:Calibri,sans-serif">Dear Insight users and community,<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif">I am in an emergency case. I need someone who can help me to start with VTK and QT and create a new interface for 3D Image segmentation or execute the ITK-SNAP. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif">Best regards, <br>
<br>
</span><span style="font-family:Garamond,serif">Abdelkhalek Bakkari</span><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif"> <u></u><u></u></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><b><i><span style="font-size:10.5pt;font-family:Calibri,sans-serif;color:black">This e-mail is intended only for the named recipient(s) and may contain confidential, personal and/or health information (information which may be subject
to legal restrictions on use, retention and/or disclosure). No waiver of confidence is intended by virtue of communication via the internet. Any review or distribution by anyone other than the person(s) for whom it was originally intended is strictly prohibited.
If you have received this e-mail in error, please contact the sender and destroy all copies.</span></i></b><span style="font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Calibri,sans-serif"> <u></u><u></u></span></p>
</div>
</div>
</div>
</div></div></div>
</div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div></div></div>