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