Hi Luis,<br><br>This one - not really. I never used VTK. I installed it only so I could run that example (deformable simplex mesh) from insight applications. And since the bug is manifesting itself in VTK code, I assume some familiarity is required. But I am now writing code for using deformable simplex model in my own project, and I ran into some error which says something like "vertex with id 3095 does not exist in the mesh". This appears during a call to update of deformable simplex filter. I will of course investigate this on Monday or Tuesday - and it could be related to this 64/32 bit bug (my project is on 64bit platform). I will submit bug report when I get back to workplace next week.<br>
<br>Regards,<br>Dženan<br><br><div class="gmail_quote">2010/5/28 Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>Hi Dženan,<br><br>Thanks for testing the builds in 32bits.<br><br>This certainly looks like a bug.<br><br>Please make an entry at<br><a href="http://public.kitware.com/Bug/my_view_page.php" target="_blank">http://public.kitware.com/Bug/my_view_page.php</a><br>
<br>At this point it is unclear if this is an<br><br>* ITK Bug, or <br>* VTK Bug, or<br>* InsightApplications Bug...<br><br>So, please log it as an ITK bug, and make sure <br>that you mention your findings regarding 64bits <br>
versus 32 bits.<br><br><br>The next step is to reduce this problem to <br>a very minimal case...<br><br><br>The center of the problem seems to be the<br>conversion of the ITK mesh to the VTK mesh.<br><br>You could take that piece of code out of the<br>
InsightApplications code, and into its own<br>small file, and see if the problem can be<br>replicated there (in a 64 bits build).<br><br><br>I'm assuming that you would like to Adopt<br>this bug.... is that right ?<br>
<br><br> Thanks<br><br><br> Luis<br><br><br>-------------------------------------------------------------<br><div class="gmail_quote">2010/5/28 Dženan Zukić <span dir="ltr"><<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>></span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Luis,<div><br></div><div>I just compiled everything for 32bit in a virtual machine (WinXP), and this bug is not manifesting itself. Not even when I copy the resulting executable and use it on my Win7 x64 OS. Can someone else confirm this? And the appropriate place to submit bug report would be VTK bug tracker?</div>
<div><br></div><div>Regards,</div><div>Dženan<br><br><div class="gmail_quote">2010/5/26 Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>></span><div>
<div></div><div><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Dženan,<br>
<br>
Thanks for checking on that variable.<br>
<br>
I'll be curious to see if the problem happens<br>
if you compile the code for 32bits.<br>
<br>
Could you please try compiling ITK, VTK,<br>
and InsightApplications for 32bits ?<br>
<br>
<br>
I presume that your image and surfaces are<br>
not large enough to require 64bits storage yet...<br>
<br>
<br>
Please let us know what you find,<br>
<br>
<br>
Thanks<br>
<br>
<br>
Luis<br>
<br>
<br>
-----------------------------------------------------<br>
2010/5/26 Dženan Zukić <<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>>:<br>
<div><div></div><div>> Hi Luis!<br>
> Thanks for suggestion, but that flag was already turned on. I tried<br>
> regenerating project files with CMake, and then rebuilding VTK and the<br>
> example, but no change. I also tried reducing size of initial sphere (to<br>
> keep it entirely within image), but that did not help either. Anything else<br>
> I could try?<br>
> Regards,<br>
> Dženan<br>
><br>
> 2010/5/24 Luis Ibanez <<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>><br>
>><br>
>> Hi Dženan<br>
>><br>
>> You may want to try turning ON the following CMake flag in VTK:<br>
>><br>
>> VTK_USE_64BIT_IDS_DEFAULT<br>
>><br>
>><br>
>> Regards,<br>
>><br>
>><br>
>> Luis<br>
>><br>
>><br>
>> ----------------------------------------------------<br>
>> 2010/5/19 Dženan Zukić <<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>>:<br>
>> > Hi everyone,<br>
>> > I have been trying to use the deformable model simplex mesh example in<br>
>> > insight applications, but using seed point does not work - the program<br>
>> > always crashes.<br>
>> > I followed it in debugger, and the crash occurs deep in VTK code, which<br>
>> > is<br>
>> > invoked through render method from<br>
>> > \Applications\DeformableModelSimplexMesh\ImageSurfaceViewer.cxx, line<br>
>> > 285.<br>
>> > The problem manifests itself in file<br>
>> > \vtk-5.6.0\Common\vtkDataArrayTemplate.txx, line 613 (Unhandled<br>
>> > exception at<br>
>> > 0x000000013f45a9e9 in DeformableModelSimplexMesh.exe: 0xC0000005: Access<br>
>> > violation reading location 0x000000c003bc2100.). The problem at that<br>
>> > point<br>
>> > is that parameter "vtkIdType i" is equal to 68719476736, which is<br>
>> > obviously<br>
>> > junk.<br>
>> > I am working on Win7 x64 (my stuff built for x64 target), VS2008SP1, ITK<br>
>> > 3.18, InsightApplications 3.18.<br>
>> > Can anyone shed some light on this?<br>
>> > Thanks,<br>
>> > Dženan<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.html" target="_blank">http://www.kitware.com/products/protraining.html</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://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div></div></div><br>
</blockquote></div><br>