]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkCleanExternalPlane.h
#2865 BBTK Feature New Normal - new option in CleanExternalPlane DimImage+2 (Type 1)
[bbtk.git] / packages / vtk / src / bbvtkCleanExternalPlane.h
index 864cb7750738e23213867fbba37ccd04822f7749..d10d165108e36ce545bdac647943fe0a08ed7bdc 100644 (file)
@@ -48,8 +48,14 @@ class bbvtk_EXPORT CleanExternalPlane
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
 //===== 
   BBTK_DECLARE_INPUT(In,vtkImageData*);
+  BBTK_DECLARE_INPUT(Type,int);
   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
   BBTK_PROCESS(Process);
+
+  vtkImageData* imageoutput;
+  void CleanTypeA(vtkImageData*);
+  void CleanTypeB();
+
   void Process();
 //===== 
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
@@ -62,6 +68,7 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(CleanExternalPlane,bbtk::AtomicBlackBox);
   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_OUTPUT(CleanExternalPlane,Out,"Output image",vtkImageData*,"");
 BBTK_END_DESCRIBE_BLACK_BOX(CleanExternalPlane);
 //=====