]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkPolyDataToImageData.h
#3279 creaVtk Bug New Normal - ImageContinuousErode3D box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPolyDataToImageData.h
index 5dd6602be26fb83896585c8eec5874cf828be5e6..91e73cd784fd1dba8a2fcfce283f03a547f2d97b 100644 (file)
@@ -23,6 +23,8 @@ class bbcreaVtk_EXPORT PolyDataToImageData
 // 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(InImage,vtkImageData*);
+  BBTK_DECLARE_INPUT(BackgroundValue,double);
+
   BBTK_DECLARE_INPUT(InPolyData,vtkPolyData*);
   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
   BBTK_PROCESS(Process);
@@ -37,9 +39,13 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(PolyDataToImageData,bbtk::AtomicBlackBox);
   BBTK_AUTHOR("InfoDev");
   BBTK_DESCRIPTION("No Description.");
   BBTK_CATEGORY("empty");
+
   BBTK_INPUT(PolyDataToImageData,InImage,"Image to put Result",vtkImageData*,"");
+  BBTK_INPUT(PolyDataToImageData,BackgroundValue,"(default 255) Background value",double,"");
   BBTK_INPUT(PolyDataToImageData,InPolyData,"Input vtkPolyData",vtkPolyData*,"");
+
   BBTK_OUTPUT(PolyDataToImageData,Out,"Output vtkImageData",vtkImageData*,"");
+
 BBTK_END_DESCRIBE_BLACK_BOX(PolyDataToImageData);
 //===== 
 // 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)