VTK  9.1.20211024
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 class VTKCOMMONCORE_EXPORT vtkWin32OutputWindow : public vtkOutputWindow
40 {
41 public:
42  // Methods from vtkObject
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
50 
54  void DisplayText(const char*) override;
55 
59  virtual const char* GetWindowTitle() { return "vtkOutputWindow"; }
60 
61 protected:
64 
65  virtual void PromptText(const char* text);
66  virtual void AddText(const char*);
67  virtual int Initialize();
68 
69 private:
71  void operator=(const vtkWin32OutputWindow&) = delete;
72 };
73 
74 #endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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.