]> Creatis software - clitk.git/commitdiff
Remove debug
authorDavid Sarrut <david.sarrut@gmail.com>
Fri, 3 Feb 2012 06:57:12 +0000 (07:57 +0100)
committerDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Tue, 4 Jun 2013 08:22:06 +0000 (10:22 +0200)
common/clitkDicomRTStruct2ImageFilter.cxx

index e52fc0f17be8a3e16acee8517409b5b224205615..ad90bef4d56220dfff44e3f7dda190c75a0f9e87 100644 (file)
@@ -160,7 +160,6 @@ void clitk::DicomRTStruct2ImageFilter::SetOutputSize(const unsigned long* size)
 //--------------------------------------------------------------------
 void clitk::DicomRTStruct2ImageFilter::Update()
 {
-  DD("DicomRTStruct2ImageFilter::Update");
   if (!mROI) {
     std::cerr << "Error. No ROI set, please use SetROI." << std::endl;
     exit(0);
@@ -175,9 +174,6 @@ void clitk::DicomRTStruct2ImageFilter::Update()
 
   // Get bounds
   double *bounds=mesh->GetBounds();
-  // for(int i=0; i<6; i++){
-//     DD(bounds[i]);
-//   }
 
   // Compute origin
   std::vector<double> origin;
@@ -211,11 +207,6 @@ void clitk::DicomRTStruct2ImageFilter::Update()
                           0, extend[2]);
   mBinaryImage->AllocateScalars();
 
-  // for(int i=0; i<3; i++){
-  //     DD(origin[i]);
-  //     DD(extend[i]);
-  //     DD(mBinaryImage->GetDimensions()[i]);
-  //   }
   memset(mBinaryImage->GetScalarPointer(), 0,
          mBinaryImage->GetDimensions()[0]*mBinaryImage->GetDimensions()[1]*mBinaryImage->GetDimensions()[2]*sizeof(unsigned char));