15 #ifndef QQmlVTKPlugin_h
16 #define QQmlVTKPlugin_h
19 #include <QQmlExtensionPlugin>
63 typedef QQmlExtensionPlugin Superclass;
65 Q_PLUGIN_METADATA(IID
"org.kitware.VTK")
102 #endif // QQmlVTKPlugin_h
void cleanup()
Destroy any singleton instances that were created during initializeEngine.
void registerTypes(const char *uri)
Register QML types provided by VTK.
QQmlVTKPlugin()=default
Constructor.
virtual ~QQmlVTKPlugin()=default
Destructor.
void initializeEngine(QQmlEngine *engine, const char *uri)
Initialize the extension using the QQmlEngine.
Plugin class to expose a VTK C++ module to QML applications.