This class overrides vtk::OutputWindow to redirect messages from VTK to itk::Logger.
More...
#include <igstkVTKLoggerOutput.h>
Inherits vtkOutputWindow.
This class overrides vtk::OutputWindow to redirect messages from VTK to itk::Logger.
Text messages that the system should display to the user are sent to this object (or subclasses of this class).
Although this is a VTK class, do not call Delete() if you have called OverrideVTKWindow(). After you call OverrideVTKWindow(), the VTKLoggerOutput object will automatically be deleted when the program exits.
Definition at line 46 of file igstkVTKLoggerOutput.h.
igstk::VTKLoggerOutput::VTKLoggerOutput |
( |
| ) |
|
|
protected |
virtual igstk::VTKLoggerOutput::~VTKLoggerOutput |
( |
| ) |
|
|
protectedvirtual |
virtual const char* igstk::VTKLoggerOutput::GetNameOfClass |
( |
| ) |
const |
|
virtual |
Run-time type information (and related methods).
virtual void igstk::VTKLoggerOutput::DisplayText |
( |
const char * |
t | ) |
|
|
virtual |
Send a string to display.
virtual void igstk::VTKLoggerOutput::DisplayErrorText |
( |
const char * |
t | ) |
|
|
virtual |
Send a string as an error message to display.
The default implementation calls DisplayText() but subclasses could present this message differently.
virtual void igstk::VTKLoggerOutput::DisplayWarningText |
( |
const char * |
t | ) |
|
|
virtual |
Send a string as a warningmessage to display.
The default implementation calls DisplayText() but subclasses could present this message differently.
virtual void igstk::VTKLoggerOutput::DisplayGenericWarningText |
( |
const char * |
t | ) |
|
|
virtual |
Send a string as a message to display.
The default implementation calls DisplayText() but subclasses could present this message differently.
virtual void igstk::VTKLoggerOutput::DisplayDebugText |
( |
const char * |
t | ) |
|
|
virtual |
Send a string as a debug message to display.
The default implementation calls DisplayText() but subclasses could present this message differently.
virtual void igstk::VTKLoggerOutput::OverrideVTKWindow |
( |
| ) |
|
|
virtual |
Print information about this object.
LoggerType* igstk::VTKLoggerOutput::GetLogger |
( |
| ) |
const |
|
protected |
Declarations related to the Logger.
void igstk::VTKLoggerOutput::SetLogger |
( |
LoggerType * |
logger | ) |
|
virtual unsigned int igstk::VTKLoggerOutput::GetNumberOfErrorMessages |
( |
| ) |
|
|
virtual |
Returns the number of error messages that have been posted to the output.
virtual unsigned int igstk::VTKLoggerOutput::GetNumberOfWarningMessages |
( |
| ) |
|
|
virtual |
Returns the number of warning messages that have been posted to the output.
void igstk::VTKLoggerOutput::UnRegister |
( |
vtkObjectBase * |
o | ) |
|
|
protected |
Override UnRegister for special reference count handling.
void igstk::VTKLoggerOutput::PrintSelf |
( |
StdOStreamType & |
os, |
|
|
itk::Indent |
indent |
|
) |
| const |
|
protected |
Print information about this object.
The documentation for this class was generated from the following file: