From 0d072dc34ddb454f15fcec9da589350f9dc643ed Mon Sep 17 00:00:00 2001 From: Romulo Pinho <pinho@lyon.fnclcc.fr> Date: Fri, 29 Apr 2011 09:50:44 +0200 Subject: [PATCH] just removing debugging messages --- vv/vvSlicer.cxx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index c19963f..9809b06 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -67,14 +67,14 @@ #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, -- 2.49.0