 |
VTK
9.1.0
|
Go to the documentation of this file.
31 #ifndef vtkOutputWindow_h
32 #define vtkOutputWindow_h
34 #include "vtkCommonCoreModule.h"
50 class vtkOutputWindowPrivateAccessor;
103 vtkBooleanMacro(PromptUser,
bool);
104 vtkSetMacro(PromptUser,
bool);
118 void SetUseStdErrorForAllMessages(
bool);
120 bool GetUseStdErrorForAllMessages();
122 void UseStdErrorForAllMessagesOn();
124 void UseStdErrorForAllMessagesOff();
159 vtkSetClampMacro(DisplayMode,
int, DEFAULT, ALWAYS_STDERR);
160 vtkGetMacro(DisplayMode,
int);
205 int InStandardMacros;
208 friend class vtkOutputWindowPrivateAccessor;
void SetDisplayModeToAlways()
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
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()
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
static vtkOutputWindowCleanup vtkOutputWindowCleanupInstance
static vtkOutputWindow * New()
Creates a new instance of vtkOutputWindow.
static vtkOutputWindow * GetInstance()
Return the singleton instance with no reference counting.
void SetDisplayModeToNever()
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
static void SetInstance(vtkOutputWindow *instance)
Supply a user defined output window.
virtual void DisplayDebugText(const char *)
Display the text.
base class for writing debug output to a console
virtual void DisplayText(const char *)
Display the text.
a simple class to control print indentation
#define VTK_DEPRECATED_IN_9_0_0(reason)
virtual void DisplayGenericWarningText(const char *)
Display the text.
@ MESSAGE_TYPE_GENERIC_WARNING
~vtkOutputWindow() override
void SetDisplayModeToDefault()
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
~vtkOutputWindowCleanup()
virtual void DisplayWarningText(const char *)
Display the text.
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 *)
Display the text.