X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=common%2FclitkDicomRTStruct2ImageFilter.cxx;h=ad90bef4d56220dfff44e3f7dda190c75a0f9e87;hb=4288e22b0855b6c201333256629238795536032b;hp=fa66cfb31361de6d96bea75d01676c0295901b67;hpb=957a4c21ae6aa291c6ad57a45e35c14f5c5d05bb;p=clitk.git diff --git a/common/clitkDicomRTStruct2ImageFilter.cxx b/common/clitkDicomRTStruct2ImageFilter.cxx index fa66cfb..ad90bef 100644 --- a/common/clitkDicomRTStruct2ImageFilter.cxx +++ b/common/clitkDicomRTStruct2ImageFilter.cxx @@ -170,13 +170,10 @@ void clitk::DicomRTStruct2ImageFilter::Update() } // Get Mesh - vtkPolyData * mesh = mROI->GetMesh(); + vtkPolyData * mesh = mROI->GetMesh(); // Get bounds double *bounds=mesh->GetBounds(); - // for(int i=0; i<6; i++){ -// DD(bounds[i]); -// } // Compute origin std::vector origin; @@ -210,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));