]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkPointRotation.h
#2446 creaVtk Feature New Normal - Stream Tracer, Stream Line (interface, widget)
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPointRotation.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 __bbcreaVtkPointRotation_h_INCLUDED__
5 #define __bbcreaVtkPointRotation_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 namespace bbcreaVtk
11 {
12
13 class bbcreaVtk_EXPORT PointRotation
14  : 
15    public bbtk::AtomicBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(PointRotation,bbtk::AtomicBlackBox);
18 //===== 
19 // 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)
20 //===== 
21   BBTK_DECLARE_INPUT(Center,std::vector<double>);
22   BBTK_DECLARE_INPUT(Size,double);
23   BBTK_DECLARE_INPUT(Angle,double);
24   BBTK_DECLARE_OUTPUT(Out,std::vector<double>);
25   BBTK_PROCESS(Process);
26   void Process();
27 //===== 
28 // 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)
29 //===== 
30 };
31
32 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PointRotation,bbtk::AtomicBlackBox);
33         BBTK_NAME("PointRotation");
34         BBTK_AUTHOR("Info-Dev");
35         BBTK_DESCRIPTION("Point Rotation with a center reference");
36         BBTK_CATEGORY("empty");
37         BBTK_INPUT(PointRotation,Center,"Center of rotation [x y z]",std::vector<double>,"");
38         BBTK_INPUT(PointRotation,Size,"Size of the segment (default 1)",double,"");
39         BBTK_INPUT(PointRotation,Angle,"Angle in degrees (default 0)",double,"");
40         BBTK_OUTPUT(PointRotation,Out,"End point of the rotated segment",std::vector<double>,"");
41 BBTK_END_DESCRIBE_BLACK_BOX(PointRotation);
42 //===== 
43 // 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)
44 //===== 
45 }
46 // EO namespace bbcreaVtk
47
48 #endif // __bbcreaVtkPointRotation_h_INCLUDED__
49