From d90dd976c7ddbc78a397575f049a49a47cb031bb Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Mon, 25 Jul 2011 09:37:31 +0200 Subject: [PATCH] Rename clitkDicomRTStruct2BinaryImage in clitkDicomRTStruct2Image --- ...ct2BinaryImage.cxx => clitkDicomRTStruct2Image.cxx} | 10 +++++----- ...ct2BinaryImage.ggo => clitkDicomRTStruct2Image.ggo} | 0 2 files changed, 5 insertions(+), 5 deletions(-) rename tools/{clitkDicomRTStruct2BinaryImage.cxx => clitkDicomRTStruct2Image.cxx} (90%) rename tools/{clitkDicomRTStruct2BinaryImage.ggo => clitkDicomRTStruct2Image.ggo} (100%) diff --git a/tools/clitkDicomRTStruct2BinaryImage.cxx b/tools/clitkDicomRTStruct2Image.cxx similarity index 90% rename from tools/clitkDicomRTStruct2BinaryImage.cxx rename to tools/clitkDicomRTStruct2Image.cxx index 97eff97..228ca0b 100644 --- a/tools/clitkDicomRTStruct2BinaryImage.cxx +++ b/tools/clitkDicomRTStruct2Image.cxx @@ -17,15 +17,15 @@ =========================================================================*/ -#include "clitkDicomRT_ROI_ConvertToImageFilter.h" +#include "clitkDicomRTStruct2ImageFilter.h" #include "clitkDicomRT_StructureSet.h" -#include "clitkDicomRTStruct2BinaryImage_ggo.h" +#include "clitkDicomRTStruct2Image_ggo.h" //-------------------------------------------------------------------- int main(int argc, char * argv[]) { // Init command line - GGO(clitkDicomRTStruct2BinaryImage, args_info); + GGO(clitkDicomRTStruct2Image, args_info); // Read and display information clitk::DicomRT_StructureSet::Pointer s = clitk::DicomRT_StructureSet::New(); @@ -35,7 +35,7 @@ int main(int argc, char * argv[]) { } // New filter to convert to binary image - clitk::DicomRT_ROI_ConvertToImageFilter filter; + clitk::DicomRTStruct2ImageFilter filter; filter.SetCropMaskEnabled(args_info.crop_flag); filter.SetImageFilename(args_info.image_arg); // Used to get spacing + origin if (args_info.roi_arg != -1) { @@ -45,7 +45,7 @@ int main(int argc, char * argv[]) { } else { for(unsigned int i=0; iGetListOfROI().size(); i++) { - clitk::DicomRT_ROI_ConvertToImageFilter filter; + clitk::DicomRTStruct2ImageFilter filter; filter.SetCropMaskEnabled(args_info.crop_flag); filter.SetImageFilename(args_info.image_arg); // Used to get spacing + origin std::string name = s->GetListOfROI()[i]->GetName(); diff --git a/tools/clitkDicomRTStruct2BinaryImage.ggo b/tools/clitkDicomRTStruct2Image.ggo similarity index 100% rename from tools/clitkDicomRTStruct2BinaryImage.ggo rename to tools/clitkDicomRTStruct2Image.ggo -- 2.47.1