]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkPlaneSource.h
3195 creaVtk Feature New Normal - new Boxes ImageCutByAxis LightKit MeshCutByAxis
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPlaneSource.h
1 //===== 
2 // 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)
3 //===== 
4 #ifndef __bbcreaVtkPlaneSource_h_INCLUDED__
5 #define __bbcreaVtkPlaneSource_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9 #include "vtkPlaneSource.h" 
10 #include "vtkDataSet.h"
11 #include "vtkPolyData.h"
12
13 namespace bbcreaVtk
14 {
15
16 class bbcreaVtk_EXPORT PlaneSource
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(PlaneSource,bbtk::AtomicBlackBox);
21 //===== 
22 // 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)
23 //===== 
24   BBTK_DECLARE_INPUT(Center,std::vector<double>);
25   BBTK_DECLARE_INPUT(Normal,std::vector<double>);
26   BBTK_DECLARE_INPUT(XResolution,int);
27   BBTK_DECLARE_INPUT(YResolution,int);
28   BBTK_DECLARE_OUTPUT(Plane,vtkDataSet*);
29   BBTK_DECLARE_OUTPUT(PolyData,vtkPolyData*);
30   BBTK_PROCESS(Process);
31   void Process();
32 //===== 
33 // 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)
34 //===== 
35 };
36
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PlaneSource,bbtk::AtomicBlackBox);
38         BBTK_NAME("PlaneSource");
39         BBTK_AUTHOR("carlos torres");
40         BBTK_DESCRIPTION("No Description.");
41         BBTK_CATEGORY("empty");
42         BBTK_INPUT(PlaneSource,Center,"Center (default[0,0,0]) ",std::vector<double>,"");
43         BBTK_INPUT(PlaneSource,Normal,"Normal (default[1,0,0]) ",std::vector<double>,"");
44         BBTK_INPUT(PlaneSource,XResolution,"XResolution (default 100)",int,"");
45         BBTK_INPUT(PlaneSource,YResolution,"YResolution (default 100)",int,"");
46         BBTK_OUTPUT(PlaneSource,Plane,"Plane",vtkDataSet*,"");
47         BBTK_OUTPUT(PlaneSource,PolyData,"vtkPolyData",vtkPolyData*,"");
48 BBTK_END_DESCRIBE_BLACK_BOX(PlaneSource);
49 //===== 
50 // 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)
51 //===== 
52 }
53 // EO namespace bbcreaVtk
54
55 #endif // __bbcreaVtkPlaneSource_h_INCLUDED__
56