]> 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 2c75a26..e3ff62b 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 476dca6..59de767 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>,"");