]> Creatis software - bbtk.git/commitdiff
Clean code
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 9 Jan 2024 17:08:58 +0000 (18:08 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 9 Jan 2024 17:08:58 +0000 (18:08 +0100)
packages/vtk/src/bbvtkCreateImage.cxx
packages/vtk/src/bbvtkCreateImage.h

index 2c75a26041084cd93d041a8fcc734e6aef1c948f..e3ff62bec2b2792320829a028c0274fa7d333f91 100644 (file)
@@ -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
index 476dca6f6e74def4b6f33a8f1cf32a831351c4c4..59de7670dfb893bef6e2f05335620008c99e32fd 100644 (file)
@@ -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<int>,"");