]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkStructuredPointsReader.h
bcb3f6387d14244b1cc43c56d969c9e4ed303f22
[bbtk.git] / packages / vtk / src / bbvtkStructuredPointsReader.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 __bbvtkStructuredPointsReader_h_INCLUDED__
5 #define __bbvtkStructuredPointsReader_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9 #include <string>
10
11 #include "vtkImageData.h"
12 #include "vtkStructuredPoints.h"
13 #include "vtkStructuredPointsReader.h"
14
15
16 namespace bbvtk
17 {
18
19 class bbvtk_EXPORT StructuredPointsReader
20  : 
21    public bbtk::AtomicBlackBox
22 {
23   BBTK_BLACK_BOX_INTERFACE(StructuredPointsReader,bbtk::AtomicBlackBox);
24 //===== 
25 // 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)
26 //===== 
27   BBTK_DECLARE_INPUT(In,std::string);
28   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
29   BBTK_PROCESS(Process);
30   void Process();
31         
32 private:
33         vtkImageData* sp;
34         vtkStructuredPointsReader* spr;
35         
36 //===== 
37 // 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)
38 //===== 
39 };
40
41 BBTK_BEGIN_DESCRIBE_BLACK_BOX(StructuredPointsReader,bbtk::AtomicBlackBox);
42         BBTK_NAME("StructuredPointsReader");
43         BBTK_AUTHOR("Info-Dev");
44         BBTK_DESCRIPTION("vtkStructuredPointsReader");
45         BBTK_CATEGORY("read/write");
46         BBTK_INPUT(StructuredPointsReader,In,"FileName",std::string,"");
47         BBTK_OUTPUT(StructuredPointsReader,Out,"Output Image",vtkImageData*,"");
48 BBTK_END_DESCRIBE_BLACK_BOX(StructuredPointsReader);
49 //===== 
50 // 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)
51 //===== 
52 }
53 // EO namespace bbvtk
54
55 #endif // __bbvtkStructuredPointsReader_h_INCLUDED__
56