]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkOutputWindow.h
#2817 creaVtk Feature New Normal - avoid vtk messages OutputWindwo box (vtkOutputWindow)
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkOutputWindow.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 __bbcreaVtkOutputWindow_h_INCLUDED__
5 #define __bbcreaVtkOutputWindow_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkOutputWindow.h"
11
12 namespace bbcreaVtk
13 {
14
15 class vtkOutputWindowBBTK : public vtkOutputWindow
16 {
17 public:
18         vtkOutputWindowBBTK();
19         static vtkOutputWindowBBTK* New() { return new vtkOutputWindowBBTK;}
20
21         virtual void    DisplayDebugText (const char *);
22         virtual void    DisplayText (const char *);
23         virtual void    DisplayErrorText (const char *);
24         virtual void    DisplayWarningText (const char *);
25         virtual void    DisplayGenericWarningText (const char *);
26
27 protected:
28 };
29
30
31
32 class bbcreaVtk_EXPORT OutputWindow
33  : 
34    public bbtk::AtomicBlackBox
35 {
36   BBTK_BLACK_BOX_INTERFACE(OutputWindow,bbtk::AtomicBlackBox);
37 //===== 
38 // 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)
39 //===== 
40
41 //  BBTK_DECLARE_INPUT(In,double);
42 //  BBTK_DECLARE_OUTPUT(Out,double);
43
44   BBTK_PROCESS(Process);
45   void Process();
46
47   bool firsttime;
48 //===== 
49 // 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)
50 //===== 
51 };
52
53 BBTK_BEGIN_DESCRIBE_BLACK_BOX(OutputWindow,bbtk::AtomicBlackBox);
54   BBTK_NAME("OutputWindow");
55   BBTK_AUTHOR("InfoDev");
56   BBTK_DESCRIPTION("No Description.");
57   BBTK_CATEGORY("empty");
58
59 //  BBTK_INPUT(OutputWindow,In,"First input",double,"");
60
61 //  BBTK_OUTPUT(OutputWindow,Out,"First output",double,"");
62
63 BBTK_END_DESCRIBE_BLACK_BOX(OutputWindow);
64 //===== 
65 // 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)
66 //===== 
67 }
68 // EO namespace bbcreaVtk
69
70 #endif // __bbcreaVtkOutputWindow_h_INCLUDED__
71