]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkVoiMPR.h
b5f4c8adef6dda6337664417ec1cb4d4bee3da84
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkVoiMPR.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 __bbcreaVtkVoiMPR_h_INCLUDED__
5 #define __bbcreaVtkVoiMPR_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include "vtkPoints.h"
12 #include "vtkCellArray.h"
13 #include "vtkPolyData.h"
14 #include "vtkPolyDataMapper.h"
15 #include "vtkActor.h"
16 #include "vtkRenderer.h"
17
18
19 namespace bbcreaVtk
20 {
21
22 class bbcreaVtk_EXPORT VoiMPR
23  : 
24    public bbtk::AtomicBlackBox
25 {
26   BBTK_BLACK_BOX_INTERFACE(VoiMPR,bbtk::AtomicBlackBox);
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   BBTK_DECLARE_INPUT(In,std::vector<int>);
31   BBTK_DECLARE_INPUT(ActualPoint,std::vector<int>);
32   BBTK_DECLARE_INPUT(XYrender,vtkRenderer*);
33   BBTK_DECLARE_INPUT(YZrender,vtkRenderer*);
34   BBTK_DECLARE_INPUT(XZrender,vtkRenderer*);
35   BBTK_DECLARE_INPUT(Active,bool);
36 //  BBTK_DECLARE_OUTPUT(Out,double);
37   BBTK_PROCESS(Process);
38   void Process();
39
40         vtkPoints                       *pointsXY;
41         vtkCellArray            *linesXY;
42         vtkPolyData             *polygonXY;
43         vtkPolyDataMapper       *polygonMapperXY;
44         vtkActor                        *polygonActorXY;
45     bool                                actorAddedXY;
46
47         vtkPoints                       *pointsXZ;
48         vtkCellArray            *linesXZ;
49         vtkPolyData             *polygonXZ;
50         vtkPolyDataMapper       *polygonMapperXZ;
51         vtkActor                        *polygonActorXZ;
52     bool                                actorAddedXZ;
53
54
55         vtkPoints                       *pointsYZ;
56         vtkCellArray            *linesYZ;
57         vtkPolyData             *polygonYZ;
58         vtkPolyDataMapper       *polygonMapperYZ;
59         vtkActor                        *polygonActorYZ;
60     bool                                actorAddedYZ;
61
62 //===== 
63 // 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)
64 //===== 
65 };
66
67 BBTK_BEGIN_DESCRIBE_BLACK_BOX(VoiMPR,bbtk::AtomicBlackBox);
68   BBTK_NAME("VoiMPR");
69   BBTK_AUTHOR("InfoDev");
70   BBTK_DESCRIPTION("No Description.");
71   BBTK_CATEGORY("empty");
72
73   BBTK_INPUT(VoiMPR,In,"input box (minX maxX minY maxY minZ maxZ)",std::vector<int>,"");
74   BBTK_INPUT(VoiMPR,ActualPoint,"Actual point [x y z]",std::vector<int>,"");
75   BBTK_INPUT(VoiMPR,XYrender,"vtkRenderer XY",vtkRenderer*,"");
76   BBTK_INPUT(VoiMPR,YZrender,"vtkRenderer YZ",vtkRenderer*,"");
77   BBTK_INPUT(VoiMPR,XZrender,"vtkRenderer XZ",vtkRenderer*,"");
78   BBTK_INPUT(VoiMPR,Active,"(default true) Visible true / Not visible false",bool,"");
79 //  BBTK_OUTPUT(VoiMPR,Out,"First output",double,"");
80
81 BBTK_END_DESCRIBE_BLACK_BOX(VoiMPR);
82 //===== 
83 // 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)
84 //===== 
85 }
86 // EO namespace bbcreaVtk
87
88 #endif // __bbcreaVtkVoiMPR_h_INCLUDED__
89