VTK  9.3.1
vtkWin32OutputWindow.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
21 #ifndef vtkWin32OutputWindow_h
22 #define vtkWin32OutputWindow_h
23 
24 #include "vtkCommonCoreModule.h" // For export macro
25 #include "vtkOutputWindow.h"
26 
27 VTK_ABI_NAMESPACE_BEGIN
28 class VTKCOMMONCORE_EXPORT vtkWin32OutputWindow : public vtkOutputWindow
29 {
30 public:
31  // Methods from vtkObject
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
38  static vtkWin32OutputWindow* New();
39 
43  void DisplayText(const char*) override;
44 
48  virtual const char* GetWindowTitle() { return "vtkOutputWindow"; }
49 
50 protected:
52  ~vtkWin32OutputWindow() override;
53 
54  virtual void PromptText(const char* text);
55  virtual void AddText(const char*);
56  virtual int Initialize();
57 
58 private:
60  void operator=(const vtkWin32OutputWindow&) = delete;
61 };
62 
63 VTK_ABI_NAMESPACE_END
64 #endif
virtual void DisplayText(const char *)
Display the text.
static vtkOutputWindow * New()
Creates a new instance of vtkOutputWindow.
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Print ObjectFactor to stream.
base class for writing debug output to a console
Win32 Specific output window class.
virtual const char * GetWindowTitle()
Returns the window title.