[Insight-users] RE : MeshSpatialObject.exe crashes
Ribes, Delphine (ISTB)
delphine.ribes at istb.unibe.ch
Wed Jul 6 03:12:14 EDT 2011
Dear Insight Users,
I've found why it crashes...
Line 72, there is unsigned long tetraPoints[] = {0,1,2,4};
should be changed to unsigned long tetraPoints[] = {0,1,2,3};
Have a nice day,
Delphine
________________________________
De : insight-users-bounces at itk.org [insight-users-bounces at itk.org] de la part de Ribes, Delphine (ISTB) [delphine.ribes at istb.unibe.ch]
Date d'envoi : mardi, 5. juillet 2011 17:59
À : insight-users at itk.org
Objet : [Insight-users] MeshSpatialObject.exe crashes
Dear Insight Users,
I've tried the example MeshSpatialObject.exe from the directory Examples\SpatialObjects and it crashes for both debug and release version. In debug, I was able to identify when it crashes:
line 130 : std::cout << "Is my physical point inside? : " <<
myMeshSpatialObject->IsInside(myPhysicalPoint) << std::endl;
When I comment this line, then it crashes at line 204: imageFilter->Update();
Attached the error message that I get.
I am using:
InsightToolkit-3.20.0 built in shared lib
VS 2008
Windows7 64bit.
I've seen this thread on the mailing-list:
http://www.itk.org/pipermail/insight-users/2009-October/033450.html
But I didn't find any answer.
Can someone help me?
Thanks a lot,
Delphine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110706/eb7d848a/attachment.htm>
More information about the Insight-users
mailing list