VTK  9.4.20250102
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
27VTK_ABI_NAMESPACE_BEGIN
28class VTKCOMMONCORE_EXPORT vtkWin32OutputWindow : public vtkOutputWindow
29{
30public:
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
50protected:
53
54 virtual void PromptText(const char* text);
55 virtual void AddText(const char*);
56 virtual int Initialize();
57
58private:
60 void operator=(const vtkWin32OutputWindow&) = delete;
61};
62
63VTK_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.
static vtkWin32OutputWindow * New()
Create a vtkWin32OutputWindow.
virtual const char * GetWindowTitle()
Returns the window title.
virtual void AddText(const char *)
~vtkWin32OutputWindow() override