Hi team,

I´m trying to link MITK with VTKEdge. To this aim, I need to buld MITK
with vtkCVS
Has anyone managed to run a MITK application with vtkCVS?
Apparently, the library is somehow prepared to deal with the Peeling issue

  //BUG (#1551) added settings for depth peeling
#if ( ( VTK_MAJOR_VERSION >= 5 ) && ( VTK_MINOR_VERSION>=2)  )
  m_RenderWindow->SetAlphaBitPlanes(1);
  m_VtkRenderer->SetUseDepthPeeling(1);
  m_VtkRenderer->SetMaximumNumberOfPeels(100);
  m_VtkRenderer->SetOcclusionRatio(0.1);
#endif

In my case, I modified mitkSurfaceMapper2D to use vtkPointLocator
instead of vtkPKdTree
and also use PolyDataNormals instead of PPolyDataNormals

So far so good: everything compiled fine and I was able to use e.g.
vtkKWEVolumeMapper from vtkEdge in mitkVolumeDataVtkMapper3D
(I had to modify the CMakelist, of course, but nothing serious)

But the problem comes at runtime: the application crashes in debug and
release with a message

"Run-Time Check Failure #0 - The value of ESP was not properly saved
across a function call.
This is usually a result of calling a function declared with one
calling convention with a function
pointer declared with a different calling convention."

I´m running on windows XP using QT4

Any help would be greatly appreciated

have a nice day
sebastian

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to