//===== // 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) //===== #ifndef __bbcreaMaracasVisuManualPaint_Model_h_INCLUDED__ #define __bbcreaMaracasVisuManualPaint_Model_h_INCLUDED__ #include "bbcreaMaracasVisu_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include namespace bbcreaMaracasVisu { class bbcreaMaracasVisu_EXPORT ManualPaint_Model : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(ManualPaint_Model,bbtk::AtomicBlackBox); //===== // 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(Active,bool); BBTK_DECLARE_INPUT(Tool,int); BBTK_DECLARE_INPUT(2D3D,int); BBTK_DECLARE_INPUT(Image,vtkImageData*); BBTK_DECLARE_INPUT(Image2,vtkImageData*); BBTK_DECLARE_INPUT(GrayLevel,double); BBTK_DECLARE_INPUT(Direction,int); BBTK_DECLARE_INPUT(BrushSize,int); BBTK_DECLARE_INPUT(BrushForm,int); BBTK_DECLARE_INPUT(ToleranceFill,double); BBTK_DECLARE_INPUT(DistanceFill,int); BBTK_DECLARE_INPUT(Point,std::vector); BBTK_DECLARE_INPUT(ByImagePoints,vtkImageData*); BBTK_DECLARE_INPUT(ByLstPointsX,std::vector); BBTK_DECLARE_INPUT(ByLstPointsY,std::vector); BBTK_DECLARE_INPUT(ByLstPointsZ,std::vector); BBTK_DECLARE_INPUT(Range,std::vector); BBTK_DECLARE_OUTPUT(Out,vtkImageData*); BBTK_PROCESS(Process); void Process(); ManualPaintModel *manualpaintmodel; //===== // 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_BEGIN_DESCRIBE_BLACK_BOX(ManualPaint_Model,bbtk::AtomicBlackBox); BBTK_NAME("ManualPaint_Model"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(ManualPaint_Model,Active,"true (default) , false",bool,""); BBTK_INPUT(ManualPaint_Model,Tool,"0=Brush, 1=Fill(default)",int,""); BBTK_INPUT(ManualPaint_Model,2D3D,"0=2D, 1=3D (default)",int,""); BBTK_INPUT(ManualPaint_Model,Image,"Image input / image result",vtkImageData*,""); BBTK_INPUT(ManualPaint_Model,Image2,"Image result",vtkImageData*,""); BBTK_INPUT(ManualPaint_Model,GrayLevel,"Fill gray level (100 default)",double,""); BBTK_INPUT(ManualPaint_Model,Direction,"Used in the 2D mode. 0=YZ , 1=XY , 2=XY(default) ",int,""); BBTK_INPUT(ManualPaint_Model,BrushSize,"default 3",int,""); BBTK_INPUT(ManualPaint_Model,BrushForm,"1 default A) 2D 0=rect,1=circle B) 3D 0=cube,1=sphere",int,""); BBTK_INPUT(ManualPaint_Model,ToleranceFill,"default 50",double,""); BBTK_INPUT(ManualPaint_Model,DistanceFill,"25 (default)",int,""); BBTK_INPUT(ManualPaint_Model,Point,"[] (default)",std::vector,""); BBTK_INPUT(ManualPaint_Model,ByImagePoints,"Use image with values > 0 to run the ManualPaint",vtkImageData*,""); BBTK_INPUT(ManualPaint_Model,ByLstPointsX,"X Lst of points to run the Manual Paint",std::vector,""); BBTK_INPUT(ManualPaint_Model,ByLstPointsY,"Y Lst of points to run the Manual Paint",std::vector,""); BBTK_INPUT(ManualPaint_Model,ByLstPointsZ,"Z Lst of points to run the Manual Paint",std::vector,""); BBTK_INPUT(ManualPaint_Model,Range,"min-max range [0 200] default",std::vector,""); BBTK_OUTPUT(ManualPaint_Model,Out,"Output image. Is the same pointer of input Image or Image2 with the modifications",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(ManualPaint_Model); //===== // 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) //===== } // EO namespace bbcreaMaracasVisu #endif // __bbcreaMaracasVisuManualPaint_Model_h_INCLUDED__