vtkOutputWindow.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00040 #ifndef __vtkOutputWindow_h
00041 #define __vtkOutputWindow_h
00042
00043 #include "vtkObject.h"
00044
00045
00046
00047 class VTK_COMMON_EXPORT vtkOutputWindow;
00048
00049 class VTK_COMMON_EXPORT vtkOutputWindowCleanup
00050 {
00051 public:
00052 vtkOutputWindowCleanup();
00053 ~vtkOutputWindowCleanup();
00054 };
00055
00056
00057 class VTK_COMMON_EXPORT vtkOutputWindow : public vtkObject
00058 {
00059 public:
00060
00061 vtkTypeRevisionMacro(vtkOutputWindow,vtkObject);
00063 virtual void PrintSelf(ostream& os, vtkIndent indent);
00064
00066
00070 static vtkOutputWindow* New();
00071
00072
00073 static vtkOutputWindow* GetInstance();
00074
00075
00076
00077 static void SetInstance(vtkOutputWindow *instance);
00078
00079
00080
00081
00082 virtual void DisplayText(const char*);
00083 virtual void DisplayErrorText(const char*);
00084 virtual void DisplayWarningText(const char*);
00085 virtual void DisplayGenericWarningText(const char*);
00087
00088 virtual void DisplayDebugText(const char*);
00090
00092 vtkBooleanMacro(PromptUser,int);
00093 vtkSetMacro(PromptUser, int);
00095
00096
00097
00098
00099 static vtkOutputWindowCleanup Cleanup;
00100
00101 protected:
00102 vtkOutputWindow();
00103 virtual ~vtkOutputWindow();
00104 int PromptUser;
00105 private:
00106 static vtkOutputWindow* Instance;
00107 private:
00108 vtkOutputWindow(const vtkOutputWindow&);
00109 void operator=(const vtkOutputWindow&);
00110 };
00111
00112 #endif