 |
VTK
9.0.1
|
Go to the documentation of this file.
25 #ifndef vtkOutputWindow_h
26 #define vtkOutputWindow_h
28 #include "vtkCommonCoreModule.h"
43 class vtkOutputWindowPrivateAccessor;
96 vtkBooleanMacro(PromptUser,
bool);
97 vtkSetMacro(PromptUser,
bool);
148 vtkSetClampMacro(DisplayMode,
int, DEFAULT, ALWAYS_STDERR);
149 vtkGetMacro(DisplayMode,
int);
194 int InStandardMacros;
197 friend class vtkOutputWindowPrivateAccessor;
void SetDisplayModeToAlways()
bool GetUseStdErrorForAllMessages()
abstract base class for most VTK objects
virtual StreamType GetDisplayStream(MessageTypes msgType) const
Returns the standard output stream to post the message of the given type on.
void SetDisplayModeToAlwaysStdErr()
static vtkOutputWindowCleanup vtkOutputWindowCleanupInstance
static vtkOutputWindow * New()
Creates a new instance of vtkOutputWindow.
static vtkOutputWindow * GetInstance()
Return the singleton instance with no reference counting.
void SetUseStdErrorForAllMessages(bool)
Historically (VTK 8.1 and earlier), when printing messages to terminals, vtkOutputWindow would always...
void SetDisplayModeToNever()
static void SetInstance(vtkOutputWindow *instance)
Supply a user defined output window.
virtual void DisplayDebugText(const char *)
base class for writing debug output to a console
virtual void DisplayText(const char *)
Display the text.
a simple class to control print indentation
void UseStdErrorForAllMessagesOn()
virtual void DisplayGenericWarningText(const char *)
@ MESSAGE_TYPE_GENERIC_WARNING
~vtkOutputWindow() override
void SetDisplayModeToDefault()
~vtkOutputWindowCleanup()
virtual void DisplayWarningText(const char *)
void UseStdErrorForAllMessagesOff()
void PrintSelf(ostream &os, vtkIndent indent) override
Print ObjectFactor to stream.
DisplayModes
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
virtual void DisplayErrorText(const char *)