From: eduardo.davila@creatis.insa-lyon.fr Date: Tue, 9 Jan 2024 17:08:58 +0000 (+0100) Subject: Clean code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4d5f94df2e394bcd4d2032b5028a72ed165576fe;p=bbtk.git Clean code --- diff --git a/packages/vtk/src/bbvtkCreateImage.cxx b/packages/vtk/src/bbvtkCreateImage.cxx index 2c75a26..e3ff62b 100644 --- a/packages/vtk/src/bbvtkCreateImage.cxx +++ b/packages/vtk/src/bbvtkCreateImage.cxx @@ -108,7 +108,7 @@ void CreateImage::Process() else if (bbGetInputOutputFormat()=="VTK_INT") outputformat = VTK_INT; // 6 else if (bbGetInputOutputFormat()=="MET_INT") outputformat = VTK_INT; // 6 else if (bbGetInputOutputFormat()=="VTK_UNSIGNED_INT") outputformat = VTK_UNSIGNED_INT; // 7 - else if (bbGetInputOutputFormat()=="MEY_UINT") outputformat = VTK_UNSIGNED_INT; // 7 + else if (bbGetInputOutputFormat()=="MET_UINT") outputformat = VTK_UNSIGNED_INT; // 7 else if (bbGetInputOutputFormat()=="VTK_LONG") outputformat = VTK_LONG; // 8 else if (bbGetInputOutputFormat()=="MET_LONG") outputformat = VTK_LONG; // 8 else if (bbGetInputOutputFormat()=="VTK_UNSIGNED_LONG") outputformat = VTK_UNSIGNED_LONG; // 9 diff --git a/packages/vtk/src/bbvtkCreateImage.h b/packages/vtk/src/bbvtkCreateImage.h index 476dca6..59de767 100644 --- a/packages/vtk/src/bbvtkCreateImage.h +++ b/packages/vtk/src/bbvtkCreateImage.h @@ -72,7 +72,7 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(CreateImage,bbtk::AtomicBlackBox); BBTK_NAME("CreateImage"); BBTK_AUTHOR("Info-Dev"); - BBTK_DESCRIPTION("Create a new vtkImageData"); + BBTK_DESCRIPTION("(C++,Python)Create a new vtkImageData"); BBTK_CATEGORY("Filter"); BBTK_INPUT(CreateImage,Dimensions,"[SizeX SizeY SizeZ] of the image ([250 250 250] default)",std::vector,"");