]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkPointsXYZtoVTKPoints.h
Merge branch 'vtk8itk5wx3-mingw64' of ssh://git.creatis.insa-lyon.fr/bbtk into vtk8it...
[bbtk.git] / packages / vtk / src / bbvtkPointsXYZtoVTKPoints.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 __bbvtkPointsXYZtoVTKPoints_h_INCLUDED__
5 #define __bbvtkPointsXYZtoVTKPoints_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8
9 #include "iostream"
10 #include "vector"
11
12 //VTK
13 #include "vtkPoints.h"
14
15 namespace bbvtk
16 {
17
18 class bbvtk_EXPORT PointsXYZtoVTKPoints
19  : 
20    public bbtk::AtomicBlackBox
21 {
22   BBTK_BLACK_BOX_INTERFACE(PointsXYZtoVTKPoints,bbtk::AtomicBlackBox);
23 //===== 
24 // 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)
25 //===== 
26   BBTK_DECLARE_INPUT( LstPointsX, std::vector<int> );
27   BBTK_DECLARE_INPUT( LstPointsY, std::vector<int> );
28   BBTK_DECLARE_INPUT( LstPointsZ, std::vector<int> );
29   BBTK_DECLARE_OUTPUT(Points,vtkPoints*);
30   BBTK_PROCESS(Process);
31   void Process();
32
33 private:
34   vtkPoints* _points;
35 //===== 
36 // 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)
37 //===== 
38 };
39
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PointsXYZtoVTKPoints,bbtk::AtomicBlackBox);
41 BBTK_NAME("PointsXYZtoVTKPoints");
42 BBTK_AUTHOR("Ricardo A Corredor");
43 BBTK_DESCRIPTION("Transforms independent vectors of X, Y and Z coordinates into a vtkPoints object");
44 BBTK_CATEGORY("");
45 BBTK_INPUT(PointsXYZtoVTKPoints,LstPointsX,"List of points X-coordinate", std::vector<int> ,"");
46 BBTK_INPUT(PointsXYZtoVTKPoints,LstPointsY,"List of points Y-coordinate", std::vector<int> ,"");
47 BBTK_INPUT(PointsXYZtoVTKPoints,LstPointsZ,"List of points Z-coordinate", std::vector<int> ,"");
48 BBTK_OUTPUT(PointsXYZtoVTKPoints,Points,"Points in vtkPoints",vtkPoints*,"");
49 BBTK_END_DESCRIBE_BLACK_BOX(PointsXYZtoVTKPoints);
50 //===== 
51 // 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)
52 //===== 
53 }
54 // EO namespace bbvtk
55
56 #endif // __bbvtkPointsXYZtoVTKPoints_h_INCLUDED__
57