23 #ifndef vtkOutputWindow_h
24 #define vtkOutputWindow_h
26 #include "vtkCommonCoreModule.h"
30 VTK_ABI_NAMESPACE_BEGIN
31 class vtkOutputWindowPrivateAccessor;
67 virtual void DisplayText(
const char*);
68 virtual void DisplayErrorText(
const char*);
69 virtual void DisplayWarningText(
const char*);
70 virtual void DisplayGenericWarningText(
const char*);
71 virtual void DisplayDebugText(
const char*);
84 vtkBooleanMacro(PromptUser,
bool);
85 vtkSetMacro(PromptUser,
bool);
94 vtkBooleanMacro(ShowWindow,
bool);
95 vtkSetMacro(ShowWindow,
bool);
130 vtkSetClampMacro(DisplayMode,
int, DEFAULT, ALWAYS_STDERR);
131 vtkGetMacro(DisplayMode,
int);
155 vtkGetMacro(CurrentMessageType, MessageTypes);
168 virtual StreamType GetDisplayStream(MessageTypes msgType)
const;
171 bool ShowWindow =
true;
174 std::atomic<MessageTypes> CurrentMessageType;
176 std::atomic<int> InStandardMacros;
179 friend class vtkOutputWindowPrivateAccessor;
185 VTK_ABI_NAMESPACE_END
void SetDisplayModeToAlwaysStdErr()
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetDisplayModeToNever()
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
DisplayModes
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
a simple class to control print indentation
Base class for writing debug output to a console.
void SetDisplayModeToDefault()
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
void SetDisplayModeToAlways()
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...