// * TYPE is the C++ type of the input/output
// (the one provided in the attribute 'type' of the tag 'input')
+// Nothing to do
+ if (bbGetInputType()==-1)
+ {
+ bbSetOutputOut( bbGetInputIn() );
+ }
+
+// Clean external planes
if (bbGetInputType()==0)
{
CleanTypeA( bbGetInputIn() );
bbSetOutputOut( bbGetInputIn() );
}
+// Add new faces and clean the external planes
if (bbGetInputType()==1)
{
CleanTypeB();
BBTK_DESCRIPTION("change the gray level of the externals planes of the image to 0 value.");
BBTK_CATEGORY("filter");
BBTK_INPUT(CleanExternalPlane,In,"Input image",vtkImageData*,"");
- BBTK_INPUT(CleanExternalPlane,Type,"0 = (default) not modifie Dimention. 1 = Add outside plane (Dimension of image change)",int,"");
+ BBTK_INPUT(CleanExternalPlane,Type,"-1= nothing to do, 0 = (default) not modifie Dimention. 1 = Add outside plane (Dimension of image change)",int,"");
BBTK_OUTPUT(CleanExternalPlane,Out,"Output image",vtkImageData*,"");
BBTK_END_DESCRIBE_BLACK_BOX(CleanExternalPlane);
//=====