Page MenuHomePhabricator

[VTK 5.10] Integration into superbuild
Closed, ResolvedPublic

Description

I tried to build MITK with VTK 5.10 and get the following error's in vtkMitkOpenGLGPUVolumeRayCastMapper.

We should double-check if:
-the new VTK mapper runs now on Nvidia and ATI
-has high-performance
-has still bugs like the zooming in issue

> can replace our own implementation or not

[ 59%] Building CXX object Modules/MitkExt/CMakeFiles/MitkExt.dir/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp.o
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:111:3: error: ‘vtkstd’ does not name a type
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:125:3: error: ‘vtkstd’ does not name a type
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:139:3: error: ‘vtkstd’ does not name a type
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:386:3: error: ‘vtkstd’ does not name a type
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp: In constructor ‘vtkOpacityTables::vtkOpacityTables(size_t)’:
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:388:7: error: class ‘vtkOpacityTables’ does not have any field named ‘Vector’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp: In member function ‘virtual int vtkMitkOpenGLGPUVolumeRayCastMapper::IsRenderSupported(vtkRenderWindow*, vtkVolumeProperty*)’:
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2021:5: error: ‘class vtkUnsupportedRequiredExtensionsStringStream’ has no member named ‘Stream’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp: In member function ‘int vtkMitkOpenGLGPUVolumeRayCastMapper::TestRequiredExtension(vtkOpenGLExtensionManager*, const char*)’:
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2048:44: error: ‘class vtkUnsupportedRequiredExtensionsStringStream’ has no member named ‘Stream’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2053:44: error: ‘class vtkUnsupportedRequiredExtensionsStringStream’ has no member named ‘Stream’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp: In member function ‘void vtkMitkOpenGLGPUVolumeRayCastMapper::LoadExtensions(vtkRenderWindow*)’:
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2140:42: error: ‘class vtkUnsupportedRequiredExtensionsStringStream’ has no member named ‘Stream’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2190:42: error: ‘class vtkUnsupportedRequiredExtensionsStringStream’ has no member named ‘Stream’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2215:42: error: ‘class vtkUnsupportedRequiredExtensionsStringStream’ has no member named ‘Stream’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2223:42: error: ‘class vtkUnsupportedRequiredExtensionsStringStream’ has no member named ‘Stream’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2231:42: error: ‘class vtkUnsupportedRequiredExtensionsStringStream’ has no member named ‘Stream’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2240:42: error: ‘class vtkUnsupportedRequiredExtensionsStringStream’ has no member named ‘Stream’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2248:42: error: ‘class vtkUnsupportedRequiredExtensionsStringStream’ has no member named ‘Stream’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2256:42: error: ‘class vtkUnsupportedRequiredExtensionsStringStream’ has no member named ‘Stream’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2352:42: error: ‘class vtkUnsupportedRequiredExtensionsStringStream’ has no member named ‘Stream’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2099:15: warning: unused variable ‘gl_vendor’ [-Wunused-variable]
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp: In member function ‘void vtkMitkOpenGLGPUVolumeRayCastMapper::BindFramebuffer()’:
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2441:10: warning: unused variable ‘err’ [-Wunused-variable]
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp: In member function ‘virtual void vtkMitkOpenGLGPUVolumeRayCastMapper::ReleaseGraphicsResources(vtkWindow*)’:
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2778:32: error: ‘class vtkMapDataArrayTextureId’ has no member named ‘Map’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2780:7: error: ‘vtkstd’ has not been declared
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2780:32: error: expected primary-expression before ‘*’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2780:33: error: expected primary-expression before ‘,’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2780:51: error: expected primary-expression before ‘*’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2780:52: error: expected primary-expression before ‘>’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2780:53: error: ‘::iterator’ has not been declared
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2780:53: note: suggested alternatives:
/usr/include/c++/4.6/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/usr/include/c++/4.6/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2780:64: error: expected ‘;’ before ‘it’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2781:13: error: ‘it’ was not declared in this scope
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2781:40: error: ‘class vtkMapDataArrayTextureId’ has no member named ‘Map’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2787:30: error: ‘class vtkMapDataArrayTextureId’ has no member named ‘Map’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2793:29: error: ‘class vtkMapMaskTextureId’ has no member named ‘Map’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2795:7: error: ‘vtkstd’ has not been declared
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2795:32: error: expected primary-expression before ‘*’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2795:33: error: expected primary-expression before ‘,’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2795:44: error: expected primary-expression before ‘*’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2795:45: error: expected primary-expression before ‘>’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2795:46: error: ‘::iterator’ has not been declared
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2795:46: note: suggested alternatives:
/usr/include/c++/4.6/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/usr/include/c++/4.6/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2795:57: error: expected ‘;’ before ‘it’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2796:13: error: ‘it’ was not declared in this scope
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2796:37: error: ‘class vtkMapMaskTextureId’ has no member named ‘Map’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2802:27: error: ‘class vtkMapMaskTextureId’ has no member named ‘Map’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp: In member function ‘int vtkMitkOpenGLGPUVolumeRayCastMapper::AllocateFrameBuffers(vtkRenderer*)’:
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:2850:10: warning: unused variable ‘errorCode’ [-Wunused-variable]
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp: In member function ‘int vtkMitkOpenGLGPUVolumeRayCastMapper::LoadScalarField(vtkImageData*, vtkImageData*, int*, vtkVolume*)’:
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3259:3: error: ‘vtkstd’ has not been declared
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3259:28: error: expected primary-expression before ‘*’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3259:29: error: expected primary-expression before ‘,’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3259:47: error: expected primary-expression before ‘*’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3259:48: error: expected primary-expression before ‘>’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3259:49: error: ‘::iterator’ has not been declared
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3259:49: note: suggested alternatives:
/usr/include/c++/4.6/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/usr/include/c++/4.6/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3259:60: error: expected ‘;’ before ‘it’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3264:6: error: ‘it’ was not declared in this scope
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3264:33: error: ‘class vtkMapDataArrayTextureId’ has no member named ‘Map’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3267:28: error: ‘class vtkMapDataArrayTextureId’ has no member named ‘Map’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3294:5: error: ‘vtkstd’ has not been declared
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3294:30: error: expected primary-expression before ‘*’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3294:31: error: expected primary-expression before ‘,’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3294:42: error: expected primary-expression before ‘*’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3294:43: error: expected primary-expression before ‘>’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3294:44: error: ‘::iterator’ has not been declared
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3294:44: note: suggested alternatives:
/usr/include/c++/4.6/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/usr/include/c++/4.6/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3294:55: error: expected ‘;’ before ‘it2’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3299:8: error: ‘it2’ was not declared in this scope
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3299:33: error: ‘class vtkMapMaskTextureId’ has no member named ‘Map’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3302:27: error: ‘class vtkMapMaskTextureId’ has no member named ‘Map’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp: In member function ‘int vtkMitkOpenGLGPUVolumeRayCastMapper::UpdateOpacityTransferFunction(vtkVolume*, int, unsigned int)’:
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:3395:24: error: ‘class vtkOpacityTables’ has no member named ‘Vector’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp: In member function ‘virtual void vtkMitkOpenGLGPUVolumeRayCastMapper::PreRender(vtkRenderer*, vtkVolume*, double*, double*, int, unsigned int)’:
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:4209:5: error: ‘class vtkUnsupportedRequiredExtensionsStringStream’ has no member named ‘Stream’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:4842:27: error: ‘class vtkOpacityTables’ has no member named ‘Vector’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp: In member function ‘virtual void vtkMitkOpenGLGPUVolumeRayCastMapper::RenderBlock(vtkRenderer*, vtkVolume*, unsigned int)’:
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5111:24: error: ‘class vtkOpacityTables’ has no member named ‘Vector’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp: In member function ‘int vtkMitkOpenGLGPUVolumeRayCastMapper::RenderSubVolume(vtkRenderer*, double*, vtkVolume*)’:
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5634:3: error: ‘vtkstd’ has not been declared
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5634:28: error: expected primary-expression before ‘*’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5634:29: error: expected primary-expression before ‘,’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5634:47: error: expected primary-expression before ‘*’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5634:48: error: expected primary-expression before ‘>’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5634:49: error: ‘::iterator’ has not been declared
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5634:49: note: suggested alternatives:
/usr/include/c++/4.6/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/usr/include/c++/4.6/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5634:60: error: expected ‘;’ before ‘it’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5637:6: error: ‘it’ was not declared in this scope
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5637:33: error: ‘class vtkMapDataArrayTextureId’ has no member named ‘Map’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5649:5: error: ‘vtkstd’ has not been declared
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5649:30: error: expected primary-expression before ‘*’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5649:31: error: expected primary-expression before ‘,’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5649:42: error: expected primary-expression before ‘*’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5649:43: error: expected primary-expression before ‘>’ token
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5649:44: error: ‘::iterator’ has not been declared
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5649:44: note: suggested alternatives:
/usr/include/c++/4.6/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/usr/include/c++/4.6/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5649:55: error: expected ‘;’ before ‘it2’
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5651:8: error: ‘it2’ was not declared in this scope
/home/kilgus/thomas/MITK-Master/Modules/MitkExt/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp:5651:33: error: ‘class vtkMapMaskTextureId’ has no member named ‘Map’
make[5]: * [Modules/MitkExt/CMakeFiles/MitkExt.dir/Rendering/vtkMitkOpenGLGPUVolumeRayCastMapper.cpp.o] Error 1
make[4]:
* [Modules/MitkExt/CMakeFiles/MitkExt.dir/all] Error 2
make[3]: * [all] Error 2
make[2]:
* [CMakeFiles/MITK-build] Error 2
make[1]: * [CMakeFiles/MITK-build.dir/all] Error 2
make:
* [all] Error 2

Event Timeline

I figured out that the vtkMitkOpenGLGPUVolumeRayCastMapper class is the only one with VTK 5.10 issues. Everything builds fine if you use the vtkOpenGLGPUVolumeRayCastMapper instead.

TODO:

We should double-check if:
-the new VTK mapper runs now on Nvidia and ATI
-has high-performance
-has still bugs like the zooming in issue

> can replace our own implementation or not

It seems like the mapper can replace our version:
-the new VTK mapper runs now on Nvidia and ATI -> checked (ATI Radeon on Alfreds old PC)
-has high-performance -> checked (Alfreds old PC)
-has still bugs like the zooming in issue -> no bugs found so far except some VTK errors which are probably a misuse from VTK by Markus Fangerau. He keeps telling that his code is correct without even looking at it. Nobody can proof that his code is bug-free, thus, I will just blame him until he looks and his code and checks it with the new mapper.

Last two comments were written by Thomas Kilgus logged in with Alfreds account.

I pushed all relevant changes to:

bug-12398-vtkMitkOpenGLGPUVolumeRayCastMapperForVTK510

We can get rid of vtkMitkOpenGLGPUVolumeRayCastMapper and start to use VTK 5.10.

[309957]: Merge branch 'bug-12398-vtkMitkOpenGLGPUVolumeRayCastMapperForVTK510'

Merged commits:

2012-08-16 17:51:36 Thomas Kilgus [245130]
Added cmake option for VTK_5_10 in superbuild.


2012-08-16 17:33:15 Thomas Kilgus [7dbe90]
Wrote a comment to docuemt the use of ReleaseGraphicsResources()


2012-08-15 17:40:25 Thomas Kilgus [74efd6]
Remnoved output. Inserted ReleaseGraphicsResources().


2012-08-15 14:43:10 Thomas Kilgus [2e4981]
Replaced VTK pointer by vtkSmartPointer. Removed old mapper.


2012-07-19 12:53:03 Thomas Kilgus [1fe67d]
Adaption to use VTK 5.10 and replace the mapper by the VTK version.

Not possible anymore in this release, deferring to next release.

It is very important to integrate VTK 5.10 in the superbuild. This bug has high priority. Further testing on dartclients is need and probably a patch for Mac OS VTK 5.10, since it is not compiling with our default options.

All the volume mapper stuff is done and merged.

[73a1c3]: Merge branch 'bug-12398-VTK510ForButMac'

Merged commits:

2012-10-31 13:42:03 Thomas Kilgus [0371c3]
Removed redundant code.


2012-10-25 11:09:04 Andreas Fetzer [3047c5]
Fixed failing VTK 5.10 build on mac

Created patch to replace isnan call with std::isnan. This patch is only applied to Mac OS X systems


2012-10-12 16:04:32 Thomas Kilgus [bd40a7]
Removed option for VTK 5.10. Only on MacOS VTK 5.8 will be used now.