]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuViewerNV.cxx
#2855 creaMaracasVisu Bug New Normal - ColorLayer box spacing size not identified
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuViewerNV.cxx
index 1b17eec7de9729c10600818c5b9b863ff014f6c8..a1910174557d31e4535b4e197d6561879810996b 100644 (file)
@@ -86,17 +86,8 @@ BBTK_BLACK_BOX_IMPLEMENTATION(ViewerNV,bbtk::WxBlackBox);
 void ViewerNV::Process()
 {
        vtkImageData* img = bbGetInputIn();
-/*
-       double spc[3];
-       img->GetSpacing(spc);
-    printf ("EED ViewerNV::Process A %f %f %f \n", spc[0], spc[1], spc[2] );
-       img->SetSpacing( 1,1,1 );
-       img->Update(  );
-       img->GetSpacing(spc);
-       img->PrintSelf(std::cout,(vtkIndent)2);
-       img->Print(std::cout);
-    printf ("EED ViewerNV::Process B %f %f %f \n", spc[0], spc[1], spc[2] );
-*/
+
+
        std::vector<int> type = bbGetInputnTypeView();
 
 
@@ -107,11 +98,10 @@ void ViewerNV::Process()
                }else if (img != _currentimg){
                        _mwxwidget->SetImage(img);
                }
-
                _mwxwidget->RefreshView();
 
-               _currenttype = type;
-               _currentimg = img;
+               _currenttype    = type;
+               _currentimg     = img;
 
                _point.clear();
                _point.push_back((int)_mwxwidget->GetX());