]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkGrayLevel.h
#3282 creaVtk Feature New Normal PolyDataInfo
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkGrayLevel.h
index 20e06f821aae006d3f0096fee23fea3dc0aa7515..1023f8df5fa82a3f156b9d6443bd38679ecf24e5 100644 (file)
@@ -21,8 +21,13 @@ class bbcreaVtk_EXPORT GrayLevel
 // 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(Image,vtkImageData*);
+  BBTK_DECLARE_INPUT(WithSpacing,bool);
   BBTK_DECLARE_INPUT(Coordinate,std::vector<double>);
+  BBTK_DECLARE_INPUT(LstPointsX,std::vector<double>);
+  BBTK_DECLARE_INPUT(LstPointsY,std::vector<double>);
+  BBTK_DECLARE_INPUT(LstPointsZ,std::vector<double>);
   BBTK_DECLARE_OUTPUT(GrayLevel,double);
+  BBTK_DECLARE_OUTPUT(LstGrayLevel,std::vector<double>);
   BBTK_PROCESS(Process);
   void Process();
 //===== 
@@ -31,13 +36,21 @@ class bbcreaVtk_EXPORT GrayLevel
 };
 
 BBTK_BEGIN_DESCRIBE_BLACK_BOX(GrayLevel,bbtk::AtomicBlackBox);
-BBTK_NAME("GrayLevel");
-BBTK_AUTHOR("Monica ESPINOSA");
-BBTK_DESCRIPTION("No Description.");
-BBTK_CATEGORY("empty");
-BBTK_INPUT(GrayLevel,Image,"Image",vtkImageData*,"");
-BBTK_INPUT(GrayLevel,Coordinate,"Coordinate Of Point ",std::vector<double>,"");
-BBTK_OUTPUT(GrayLevel,GrayLevel,"GrayLevel",double,"");
+ BBTK_NAME("GrayLevel");
+ BBTK_AUTHOR("Monica ESPINOSA");
+ BBTK_DESCRIPTION("No Description.");
+ BBTK_CATEGORY("empty");
+
+ BBTK_INPUT(GrayLevel,Image,"Image",vtkImageData*,"");
+ BBTK_INPUT(GrayLevel,WithSpacing,"default (false)  With spacing of the image",bool,"");
+ BBTK_INPUT(GrayLevel,Coordinate,"Coordinate Of Point ",std::vector<double>,"");
+ BBTK_INPUT(GrayLevel,LstPointsX," List of points in X",std::vector<double>,"");
+ BBTK_INPUT(GrayLevel,LstPointsY," List of points in X",std::vector<double>,"");
+ BBTK_INPUT(GrayLevel,LstPointsZ," List of points in X",std::vector<double>,"");
+
+ BBTK_OUTPUT(GrayLevel,GrayLevel,"GrayLevel",double,"");
+ BBTK_OUTPUT(GrayLevel,LstGrayLevel,"List of GrayLevels for the list of points",std::vector<double>,"");
+
 BBTK_END_DESCRIBE_BLACK_BOX(GrayLevel);
 //===== 
 // 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)