]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkVoiMPR.h
#3316 creaVtk Feature New Normal - VoiMPR box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkVoiMPR.h
diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkVoiMPR.h b/bbtk_creaVtk_PKG/src/bbcreaVtkVoiMPR.h
new file mode 100644 (file)
index 0000000..b5f4c8a
--- /dev/null
@@ -0,0 +1,89 @@
+//===== 
+// 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)
+//===== 
+#ifndef __bbcreaVtkVoiMPR_h_INCLUDED__
+#define __bbcreaVtkVoiMPR_h_INCLUDED__
+
+#include "bbcreaVtk_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include "vtkPoints.h"
+#include "vtkCellArray.h"
+#include "vtkPolyData.h"
+#include "vtkPolyDataMapper.h"
+#include "vtkActor.h"
+#include "vtkRenderer.h"
+
+
+namespace bbcreaVtk
+{
+
+class bbcreaVtk_EXPORT VoiMPR
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(VoiMPR,bbtk::AtomicBlackBox);
+//===== 
+// 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)
+//===== 
+  BBTK_DECLARE_INPUT(In,std::vector<int>);
+  BBTK_DECLARE_INPUT(ActualPoint,std::vector<int>);
+  BBTK_DECLARE_INPUT(XYrender,vtkRenderer*);
+  BBTK_DECLARE_INPUT(YZrender,vtkRenderer*);
+  BBTK_DECLARE_INPUT(XZrender,vtkRenderer*);
+  BBTK_DECLARE_INPUT(Active,bool);
+//  BBTK_DECLARE_OUTPUT(Out,double);
+  BBTK_PROCESS(Process);
+  void Process();
+
+       vtkPoints                       *pointsXY;
+       vtkCellArray            *linesXY;
+       vtkPolyData             *polygonXY;
+       vtkPolyDataMapper       *polygonMapperXY;
+       vtkActor                        *polygonActorXY;
+    bool                               actorAddedXY;
+
+       vtkPoints                       *pointsXZ;
+       vtkCellArray            *linesXZ;
+       vtkPolyData             *polygonXZ;
+       vtkPolyDataMapper       *polygonMapperXZ;
+       vtkActor                        *polygonActorXZ;
+    bool                               actorAddedXZ;
+
+
+       vtkPoints                       *pointsYZ;
+       vtkCellArray            *linesYZ;
+       vtkPolyData             *polygonYZ;
+       vtkPolyDataMapper       *polygonMapperYZ;
+       vtkActor                        *polygonActorYZ;
+    bool                               actorAddedYZ;
+
+//===== 
+// 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)
+//===== 
+};
+
+BBTK_BEGIN_DESCRIBE_BLACK_BOX(VoiMPR,bbtk::AtomicBlackBox);
+  BBTK_NAME("VoiMPR");
+  BBTK_AUTHOR("InfoDev");
+  BBTK_DESCRIPTION("No Description.");
+  BBTK_CATEGORY("empty");
+
+  BBTK_INPUT(VoiMPR,In,"input box (minX maxX minY maxY minZ maxZ)",std::vector<int>,"");
+  BBTK_INPUT(VoiMPR,ActualPoint,"Actual point [x y z]",std::vector<int>,"");
+  BBTK_INPUT(VoiMPR,XYrender,"vtkRenderer XY",vtkRenderer*,"");
+  BBTK_INPUT(VoiMPR,YZrender,"vtkRenderer YZ",vtkRenderer*,"");
+  BBTK_INPUT(VoiMPR,XZrender,"vtkRenderer XZ",vtkRenderer*,"");
+  BBTK_INPUT(VoiMPR,Active,"(default true) Visible true / Not visible false",bool,"");
+//  BBTK_OUTPUT(VoiMPR,Out,"First output",double,"");
+
+BBTK_END_DESCRIBE_BLACK_BOX(VoiMPR);
+//===== 
+// 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)
+//===== 
+}
+// EO namespace bbcreaVtk
+
+#endif // __bbcreaVtkVoiMPR_h_INCLUDED__
+