]> Creatis software - clitk.git/commitdiff
just removing debugging messages
authorRomulo Pinho <pinho@lyon.fnclcc.fr>
Fri, 29 Apr 2011 07:50:44 +0000 (09:50 +0200)
committerRomulo Pinho <pinho@lyon.fnclcc.fr>
Fri, 29 Apr 2011 07:50:44 +0000 (09:50 +0200)
vv/vvSlicer.cxx

index c19963f1d58b88c28d3fe44d6525f6dbf9ce87f5..9809b06ddc771b574d4de2923c2a750ad11e1f67 100644 (file)
 #include <vtkImageAccumulate.h>
 #include <vtkImageReslice.h>
 
-template <class T, unsigned int dim>
-void print_vector(const char* pmsg, T* pvec)
-{
-  std::cout << pmsg << ": ";
-  for (unsigned int i = 0; i < dim; i++)
-    std::cout << pvec[i] << " ";
-  std::cout << std::endl;
-}
+// template <class T, unsigned int dim>
+// void print_vector(const char* pmsg, T* pvec)
+// {
+//   std::cout << pmsg << ": ";
+//   for (unsigned int i = 0; i < dim; i++)
+//     std::cout << pvec[i] << " ";
+//   std::cout << std::endl;
+// }
 
 
 vtkCxxRevisionMacro(vvSlicer, "DummyRevision");
@@ -839,9 +839,9 @@ void vvSlicer::UpdateDisplayExtent()
   double position[3] = {0, 0, 0};
   position[this->SliceOrientation] = image_bounds[this->SliceOrientation*2]; 
 
-  print_vector<double, 6>("camera", camera);
-  print_vector<double, 6>("image_bounds", image_bounds);
-  print_vector<double, 3>("position", position);
+  //print_vector<double, 6>("camera", camera);
+  //print_vector<double, 6>("image_bounds", image_bounds);
+  //print_vector<double, 3>("position", position);
 
   // find where to place the VF actor. to deal with
   // z-buffer issues, the VF is placed right in front of the image,