VTK  9.2.20230606
vtkWin32OutputWindow.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkWin32OutputWindow.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
33 #ifndef vtkWin32OutputWindow_h
34 #define vtkWin32OutputWindow_h
35 
36 #include "vtkCommonCoreModule.h" // For export macro
37 #include "vtkOutputWindow.h"
38 
39 VTK_ABI_NAMESPACE_BEGIN
40 class VTKCOMMONCORE_EXPORT vtkWin32OutputWindow : public vtkOutputWindow
41 {
42 public:
43  // Methods from vtkObject
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
51 
55  void DisplayText(const char*) override;
56 
60  virtual const char* GetWindowTitle() { return "vtkOutputWindow"; }
61 
62 protected:
65 
66  virtual void PromptText(const char* text);
67  virtual void AddText(const char*);
68  virtual int Initialize();
69 
70 private:
72  void operator=(const vtkWin32OutputWindow&) = delete;
73 };
74 
75 VTK_ABI_NAMESPACE_END
76 #endif
a simple class to control print indentation
Definition: vtkIndent.h:120
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.