vtkOutputWindow implementation that redirects VTK output messages to dedicated sinals which are then handled by SALOME log window. More...
#include <PVViewer_OutputWindow.h>

Public Member Functions | |
| vtkTypeMacro (PVViewer_OutputWindow, vtkOutputWindow) unsigned int getTextCount() const | |
| Returns the number of text messages received. More... | |
| unsigned int | getErrorCount () const |
| Returns the number of error messages received. More... | |
| unsigned int | getWarningCount () const |
| Returns the number of warning messages received. More... | |
| unsigned int | getGenericWarningCount () const |
| Returns the number of generic warning messages received. More... | |
| unsigned int | getDebugCount () const |
| Returns the number of debug messages received. More... | |
Static Public Member Functions | |
| static PVViewer_OutputWindow * | New () |
Private Member Functions | |
| PVViewer_OutputWindow () | |
| PVViewer_OutputWindow (const PVViewer_OutputWindow &) | |
| PVViewer_OutputWindow & | operator= (const PVViewer_OutputWindow &) |
| ~PVViewer_OutputWindow () | |
| void | DisplayText (const char *) |
| int | count (const MessageTypes &) const |
Private Attributes | |
| QMap< MessageTypes, int > | myCounter |
vtkOutputWindow implementation that redirects VTK output messages to dedicated sinals which are then handled by SALOME log window.
To use, create an instance of PVViewer_OutputWindow and pass it to the vtkOutputWindow::setInstance() static method.
This class is based on pqOutputWindow ParaView class.
|
private |
|
private |
|
private |
|
private |
References myCounter.
|
private |
| unsigned int PVViewer_OutputWindow::getDebugCount | ( | ) | const |
Returns the number of debug messages received.
References count().
| unsigned int PVViewer_OutputWindow::getErrorCount | ( | ) | const |
Returns the number of error messages received.
References count().
| unsigned int PVViewer_OutputWindow::getGenericWarningCount | ( | ) | const |
Returns the number of generic warning messages received.
References count().
| unsigned int PVViewer_OutputWindow::getWarningCount | ( | ) | const |
Returns the number of warning messages received.
References count().
|
static |
|
private |
| PVViewer_OutputWindow::vtkTypeMacro | ( | PVViewer_OutputWindow | , |
| vtkOutputWindow | |||
| ) | const |
Returns the number of text messages received.
|
private |