]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkVoiMPR.h
#3470 merge vtk8itk5wx3-mingw64
[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(Spacing,std::vector<double>);
32   BBTK_DECLARE_INPUT(ActualPoint,std::vector<int>);
33   BBTK_DECLARE_INPUT(XYrender,vtkRenderer*);
34   BBTK_DECLARE_INPUT(YZrender,vtkRenderer*);
35   BBTK_DECLARE_INPUT(XZrender,vtkRenderer*);
36   BBTK_DECLARE_INPUT(Active,bool);
37 //  BBTK_DECLARE_OUTPUT(Out,double);
38   BBTK_PROCESS(Process);
39   void Process();
40
41         vtkPoints                       *pointsXY;
42         vtkCellArray            *linesXY;
43         vtkPolyData             *polygonXY;
44         vtkPolyDataMapper       *polygonMapperXY;
45         vtkActor                        *polygonActorXY;
46     bool                                actorAddedXY;
47
48         vtkPoints                       *pointsXZ;
49         vtkCellArray            *linesXZ;
50         vtkPolyData             *polygonXZ;
51         vtkPolyDataMapper       *polygonMapperXZ;
52         vtkActor                        *polygonActorXZ;
53     bool                                actorAddedXZ;
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,Spacing,"default [1 1 1]. Spacing [sx sy sz]",std::vector<double>,"");
75   BBTK_INPUT(VoiMPR,ActualPoint,"Actual point [x y z]",std::vector<int>,"");
76   BBTK_INPUT(VoiMPR,XYrender,"vtkRenderer XY",vtkRenderer*,"");
77   BBTK_INPUT(VoiMPR,YZrender,"vtkRenderer YZ",vtkRenderer*,"");
78   BBTK_INPUT(VoiMPR,XZrender,"vtkRenderer XZ",vtkRenderer*,"");
79   BBTK_INPUT(VoiMPR,Active,"(default true) Visible true / Not visible false",bool,"");
80 //  BBTK_OUTPUT(VoiMPR,Out,"First output",double,"");
81
82 BBTK_END_DESCRIBE_BLACK_BOX(VoiMPR);
83 //===== 
84 // 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)
85 //===== 
86 }
87 // EO namespace bbcreaVtk
88
89 #endif // __bbcreaVtkVoiMPR_h_INCLUDED__
90