Hi Jochen,
Thanks for trying vtkEdge
>> In my case, I modified mitkSurfaceMapper2D to use vtkPointLocator
>> instead of vtkPKdTree
>> and also use PolyDataNormals instead of PPolyDataNormals
>
> Why did you do this? This doesn't seem to be connected to VTKEdge.
I forgot to set Parallel ON in vtkCVS and that´s why I though these
classes where not longer present
I´ll set these changes back an try again
these are the required changes in the CMakeList
#
# Use VTKEdge library
#
OPTION(MITK_USE_VTKEdge "Use the vtkEdge library" OFF)
IF(MITK_USE_VTKEdge)
#
# FIND VTKEdge
#
FIND_PACKAGE(VTKEdge)
IF (VTKEdge_USE_FILE)
INCLUDE (${VTKEdge_USE_FILE})
ELSE (VTKEdge_USE_FILE)
MESSAGE( FATAL_ERROR "This application requires VTKEdge. One of
these components is missing. Please verify configuration")
ENDIF (VTKEdge_USE_FILE)
ENDIF(MITK_USE_VTKEdge)
IF(MITK_USE_VTKEdge)
SET(VTKEdge_FOR_MITK_LIBRARIES
vtkKWECommon vtkKWEFiltering vtkKWEGraphics vtkKWEHybrid
vtkKWEImaging vtkKWEIO vtkKWERendering vtkKWEVolumeRendering
vtkKWEWidgets)
ENDIF(MITK_USE_VTKEdge)
and later on ...
SET(UTIL_FOR_MITK_LIBRARIES mitkIpPic mitkIpFunc)
SET(LIBRARIES_FOR_MITK_CORE
${LIBRARIES_FOR_${KITNAME}_CORE} ${UTIL_FOR_${KITNAME}_LIBRARIES}
${VTKEdge_FOR_${KITNAME}_LIBRARIES} ${VTK_FOR_${KITNAME}_LIBRARIES}
${ITK_LIBRARIES}
)
for this:
> - in mitkVolumeDataVtkMapper3D.cpp:
> - added #include "vtkKWEVolumeMapper.h"
> - changed m_HiResMapper = vtkKWEVolumeMapper::New(); (also changed data
> type of member in the header)
> - erased all m_HiResMapper->XXX() calls
> - compile mainapp as debug (including QmitkVolumeVisualization functionality)
> - start, load Pic3D example dataset
> - change to QmitkVolumeVisualization, activate volume rendering.
>
I can provide you with a #ifdef MITK_USE_VTKEdge version of the
changes in mitkVolumeDataVtkMapper3D.cpp/.h if you want
thanks
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