Studio/src/Visualization/StudioVtkOutputWindow.h
Namespaces
Name |
---|
shapeworks |
Classes
Name | |
---|---|
class | shapeworks::StudioVtkOutputWindow Implementation of vtkOutputWindow to capture and display VTK error messages. |
Source code
#pragma once
#include <QObject>
#include <vtkOutputWindow.h>
namespace shapeworks {
class StudioVtkOutputWindow : public QObject, public vtkOutputWindow {
Q_OBJECT;
public:
static StudioVtkOutputWindow* New();
vtkTypeMacro(StudioVtkOutputWindow, vtkOutputWindow);
StudioVtkOutputWindow();
void DisplayErrorText(const char* text) override;
void DisplayWarningText(const char* text) override;
Q_SIGNALS:
void warning(QString message);
void error(QString message);
private:
};
}
Updated on 2022-07-23 at 16:40:07 -0600