Common/vtkWin32OutputWindow.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00046 #ifndef __vtkWin32OutputWindow_h
00047 #define __vtkWin32OutputWindow_h
00048
00049 #include "vtkOutputWindow.h"
00050
00051
00052 class VTK_COMMON_EXPORT vtkWin32OutputWindow : public vtkOutputWindow
00053 {
00054 public:
00055
00056 vtkTypeRevisionMacro(vtkWin32OutputWindow,vtkOutputWindow);
00058
00059 static vtkWin32OutputWindow* New();
00060
00061
00062 virtual void DisplayText(const char*);
00063
00064 static LRESULT APIENTRY WndProc(HWND hWnd, UINT message,
00065 WPARAM wParam, LPARAM lParam);
00066
00068 protected:
00069 vtkWin32OutputWindow() {};
00070 virtual ~vtkWin32OutputWindow() {};
00071
00072 void PromptText(const char* text);
00073 static void AddText(const char*);
00074 static int Initialize();
00075 static HWND OutputWindow;
00076 private:
00077 vtkWin32OutputWindow(const vtkWin32OutputWindow&);
00078 void operator=(const vtkWin32OutputWindow&);
00079 };
00080
00081
00082
00083 #endif