Skip to content

Studio/Visualization/StudioVtkOutputWindow.h

Namespaces

Name
shapeworks
User usage reporting (telemetry)

Classes

Name
class shapeworks::StudioVtkOutputWindow
Implementation of vtkOutputWindow to capture and display VTK error messages.

Source code

#pragma once

#include <vtkOutputWindow.h>

#include <QObject>

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;
  void DisplayGenericWarningText(const char* text) override;
  void DisplayDebugText(const char* text) override;
 private:
};
}  // namespace shapeworks

Updated on 2024-11-11 at 19:51:46 +0000