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 __bbcreaVtkVoiMPR_h_INCLUDED__
5 #define __bbcreaVtkVoiMPR_h_INCLUDED__
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
11 #include "vtkPoints.h"
12 #include "vtkCellArray.h"
13 #include "vtkPolyData.h"
14 #include "vtkPolyDataMapper.h"
16 #include "vtkRenderer.h"
22 class bbcreaVtk_EXPORT VoiMPR
24 public bbtk::AtomicBlackBox
26 BBTK_BLACK_BOX_INTERFACE(VoiMPR,bbtk::AtomicBlackBox);
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)
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);
42 vtkCellArray *linesXY;
43 vtkPolyData *polygonXY;
44 vtkPolyDataMapper *polygonMapperXY;
45 vtkActor *polygonActorXY;
49 vtkCellArray *linesXZ;
50 vtkPolyData *polygonXZ;
51 vtkPolyDataMapper *polygonMapperXZ;
52 vtkActor *polygonActorXZ;
56 vtkCellArray *linesYZ;
57 vtkPolyData *polygonYZ;
58 vtkPolyDataMapper *polygonMapperYZ;
59 vtkActor *polygonActorYZ;
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)
67 BBTK_BEGIN_DESCRIBE_BLACK_BOX(VoiMPR,bbtk::AtomicBlackBox);
69 BBTK_AUTHOR("InfoDev");
70 BBTK_DESCRIPTION("No Description.");
71 BBTK_CATEGORY("empty");
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,"");
82 BBTK_END_DESCRIBE_BLACK_BOX(VoiMPR);
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)
87 // EO namespace bbcreaVtk
89 #endif // __bbcreaVtkVoiMPR_h_INCLUDED__