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)
4 #ifndef __bbcreaVtkPlaneSource_h_INCLUDED__
5 #define __bbcreaVtkPlaneSource_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
9 #include "vtkPlaneSource.h"
10 #include "vtkDataSet.h"
11 #include "vtkPolyData.h"
16 class bbcreaVtk_EXPORT PlaneSource
18 public bbtk::AtomicBlackBox
20 BBTK_BLACK_BOX_INTERFACE(PlaneSource,bbtk::AtomicBlackBox);
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)
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);
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)
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);
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)
53 // EO namespace bbcreaVtk
55 #endif // __bbcreaVtkPlaneSource_h_INCLUDED__