]> Creatis software - creaContours.git/commitdiff
*** empty log message ***
authorJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Tue, 16 Jun 2009 13:26:31 +0000 (13:26 +0000)
committerJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Tue, 16 Jun 2009 13:26:31 +0000 (13:26 +0000)
bbtk/src/bbCreaContournDimensions.cxx
lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx
lib/kernel_ManagerContour_NDimensions/CMakeLists.txt

index 536f1bfff4e83ac11077d6633548fb0e461ceaa8..d7ff4b80ccf330b15e1c3508000cdb2f5e37a504 100644 (file)
@@ -30,7 +30,7 @@ void nDimensions::Process()
        if(currentimg != NULL){
                int contourtype = bbGetInputContourType();
                //wxContourMainFrame::getInstance()->getValuesXYZ(vectx, vecty, vectz, &size);
-               wxContourMainFrame::getInstance()->getMaskValue(mask, value, contourtype);
+               //wxContourMainFrame::getInstance()->getMaskValue(mask, value, contourtype);
        }
 
     bbSetOutputX(vectx);
index 4ce7c46ba6da87c1fc1e0b43b69ee309f6b4c774..7d2b6948bca4bda0f50ace80c3aa2154452aac8e 100644 (file)
@@ -99,7 +99,7 @@ char wxContourMainFrame::COPY = 'C';
 
                if(images.size() > 0)
                {
-                       _images = images;
+                       
                        this->setVectImages(images);
                }
 
@@ -108,6 +108,7 @@ char wxContourMainFrame::COPY = 'C';
 void wxContourMainFrame::setVectImages(std::vector<vtkImageData*> imgs)
 {
 
+       _images = imgs;
        #if defined(__GNUC__)
                std::string str_home(getenv("HOME"));
        #elif defined(_WIN32)
index 8af7af391fafd42c37a4020a37fd67dfe16059d7..0fcd339896cb826bf7f541e4edd6a847dc7a915b 100644 (file)
@@ -60,7 +60,7 @@ IF ( BUILD_${LIBRARY_NAME} )
 
   ADD_LIBRARY(${LIBRARY_NAME} STATIC  ${${LIBRARY_NAME}_SOURCES})
   # LINK
-  TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${${LIBRARY_NAME}_LINK_LIBRARIES})
+  TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${${LIBRARY_NAME}_LINK_LIBRARIES} )
   
   #---------------------------------------------------------------------------