VTK  9.1.0
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
39class VTKCOMMONCORE_EXPORT vtkWin32OutputWindow : public vtkOutputWindow
40{
41public:
42 // Methods from vtkObject
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
50
54 void DisplayText(const char*) override;
55
57
63 VTK_DEPRECATED_IN_9_0_0("Use vtkWin32OutputWindow::SetDisplayMode")
64 void SetSendToStdErr(bool);
66 bool GetSendToStdErr();
68 void SendToStdErrOn();
70 void SendToStdErrOff();
72
76 virtual const char* GetWindowTitle() { return "vtkOutputWindow"; }
77
78protected:
81
82 virtual void PromptText(const char* text);
83 virtual void AddText(const char*);
84 virtual int Initialize();
85
86private:
88 void operator=(const vtkWin32OutputWindow&) = delete;
89};
90
91#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.
static vtkWin32OutputWindow * New()
Create a vtkWin32OutputWindow.
virtual void AddText(const char *)
~vtkWin32OutputWindow() override
#define VTK_DEPRECATED_IN_9_0_0(reason)