VTK  9.3.20240229
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 
39 
43  void DisplayText(const char*) override;
44 
48  virtual const char* GetWindowTitle() { return "vtkOutputWindow"; }
49 
50 protected:
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
a simple class to control print indentation
Definition: vtkIndent.h:108
base class for writing debug output to a console
Win32 Specific output window class.
void PrintSelf(ostream &os, vtkIndent indent) override
Print ObjectFactor to stream.
virtual void PromptText(const char *text)
virtual int Initialize()
void DisplayText(const char *) override
New lines are converted to carriage return new lines.
virtual void AddText(const char *)
virtual const char * GetWindowTitle()
Returns the window title.
~vtkWin32OutputWindow() override
static vtkWin32OutputWindow * New()
Create a vtkWin32OutputWindow.