From 48511fc4b7eebdee5b7d5f388531267b3cc96f7b Mon Sep 17 00:00:00 2001 From: schaerer Date: Thu, 10 Jun 2010 08:21:05 +0000 Subject: [PATCH] remove references to BDCM --- vv/CMakeLists.txt | 3 --- vv/vvMainWindow.cxx | 25 ------------------------- vv/vvSegmentationDialog.cxx | 1 + 3 files changed, 1 insertion(+), 28 deletions(-) diff --git a/vv/CMakeLists.txt b/vv/CMakeLists.txt index 237b86b..f034cff 100644 --- a/vv/CMakeLists.txt +++ b/vv/CMakeLists.txt @@ -190,9 +190,6 @@ LINK_DIRECTORIES(${QT_INCLUDES}) ADD_EXECUTABLE(vv ${vv_SRCS} vv.cxx ${vv_UI_CXX} ${EXE_ICON}) TARGET_LINK_LIBRARIES(vv clitkCommon clitkDicomRTStruct clitkFilters ${ITK_LIBRARIES} QVTK vtkHybrid) -IF (CLITK_VV_USE_BDCM) - TARGET_LINK_LIBRARIES(vv bdcm) -ENDIF (CLITK_VV_USE_BDCM) #========================================================= #========================================================= diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index 8225ece..b6e52eb 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -45,10 +45,6 @@ #include "vvMeshReader.h" #include "vvConstants.h" -#ifdef CLITK_VV_USE_BDCM -#include -#endif - // ITK include #include "itkImage.h" #include "itkImageFileReader.h" @@ -678,32 +674,11 @@ void vvMainWindow::OpenDicom() { std::vector files; -#ifdef CLITK_VV_USE_BDCM - bool r = bdcm::OpenDicomFilesSelectorDialog(files, - "DicomFilesSelectorDialog test", - 0,0,800,800,1); - - if (r) { - std::cout << "$$$$ main : user clicked 'OK' $$$$"<::iterator i; - for (i=files.begin(); i!=files.end(); ++i) { - std::cout << *i << std::endl; - } - std::cout << "$$$$ "<exec() == QDialog::Accepted) { files = *(dicomSeriesSelector->GetFilenames()); LoadImages(files,DICOM); } -#endif - } //------------------------------------------------------------------------------ diff --git a/vv/vvSegmentationDialog.cxx b/vv/vvSegmentationDialog.cxx index 915a281..e1f0ffd 100644 --- a/vv/vvSegmentationDialog.cxx +++ b/vv/vvSegmentationDialog.cxx @@ -78,6 +78,7 @@ vvSegmentationDialog::vvSegmentationDialog(QWidget * parent, Qt::WindowFlags f) //m3DMapper = vtkPolyDataMapper::New(); //m3DActor = vtkActor::New(); m3DExtractor = vtkMarchingCubes::New(); + m3DExtractor->ComputeScalarsOff(); m3DMappers.clear(); m3DActors.clear(); -- 2.47.1