From: eduardo.davila@creatis.insa-lyon.fr Date: Fri, 19 Apr 2024 13:01:32 +0000 (+0200) Subject: #3516 Bug ErrorValue in GetVectorElement box X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2427af0f0b5884f356f00c4349ef877ad5a15093;p=bbtk.git #3516 Bug ErrorValue in GetVectorElement box --- diff --git a/packages/vtk/src/bbvtkGetVectorElement.h b/packages/vtk/src/bbvtkGetVectorElement.h index fd49627..bd6c22f 100644 --- a/packages/vtk/src/bbvtkGetVectorElement.h +++ b/packages/vtk/src/bbvtkGetVectorElement.h @@ -112,7 +112,8 @@ namespace bbvtk template void GetVectorElement::bbUserSetDefaultValues() { - bbSetInputI(0); + bbSetInputI(NULL); + bbSetInputErrorValue(NULL); } //================================================================= //================================================================= diff --git a/packages/vtk/src/bbvtkInversCrop.h b/packages/vtk/src/bbvtkInversCrop.h index d94fbec..68001f1 100644 --- a/packages/vtk/src/bbvtkInversCrop.h +++ b/packages/vtk/src/bbvtkInversCrop.h @@ -41,13 +41,13 @@ class bbvtk_EXPORT InversCrop BBTK_BEGIN_DESCRIBE_BLACK_BOX(InversCrop,bbtk::AtomicBlackBox); BBTK_NAME("InversCrop"); BBTK_AUTHOR("InfoDev"); - BBTK_DESCRIPTION("Invers Crop, Both images had to have the same format"); + BBTK_DESCRIPTION("(C++,Python) Invers Crop, Both images had to have the same format"); BBTK_CATEGORY(""); - BBTK_INPUT(InversCrop,Active,"true/false (default true)",bool,""); + BBTK_INPUT(InversCrop,Active,"(default true) true/false",bool,""); BBTK_INPUT(InversCrop,Type,"(default 0) 0=Create image for the result FixImage+MoveImage, 1=Use the FixImage as output",int,""); BBTK_INPUT(InversCrop,ImageFix,"Fix Image (necesary). Need same format of ImageMove",vtkImageData*,""); BBTK_INPUT(InversCrop,ImageMove,"Move Image (necesary). Need same format of ImageFix",vtkImageData*,""); - BBTK_INPUT(InversCrop,Origin,"Position to be put de Move Image (default 0,0,0 )",std::vector,""); + BBTK_INPUT(InversCrop,Origin,"(default 0,0,0 ) Position to be put de Move Image",std::vector,""); BBTK_OUTPUT(InversCrop,Out,"First output",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(InversCrop); //=====