Program: bbtk
Module: $RCSfile: bbwxvtkViewer2D.cxx,v $
Language: C++
- Date: $Date: 2008/10/14 11:47:30 $
- Version: $Revision: 1.17 $
+ Date: $Date: 2008/10/24 12:15:27 $
+ Version: $Revision: 1.18 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// std::cout << "Sh = "<< mBox->bbIsShown() << std::endl;
int orientation = mBox->bbGetInputOrientation();
- if (orientation<0 || orientation>2)
+ if (orientation<0 || orientation>2) {
+ bbtkMessage("Output", 2, "Viewer2D : Orientation was not 0< <2 "<<std::endl);
orientation=2; // Why not?
-
+ }
// mBox->bbIsShown() is necessary to be sure that the wxWindow is already
// created and displayed.
// Else when slice != 0 we get an X Window System error with wxGTK
break;
default:
+ bbtkMessage("Output", 2, "Viewer2D : Orientation was not 0< <2 (shouldn't arrive here!"<<std::endl);
z = ext[5]; // Why not?
}