The QGLSceneFormatPlugin class defines an interface for loading 3D object and scene formats. More...
#include <QGLSceneFormatPlugin>
| QGLSceneFormatPlugin ( QObject * parent = 0 ) | |
| virtual | ~QGLSceneFormatPlugin () |
| virtual QStringList | keys () const = 0 |
| virtual QGLSceneFormatHandler * | create ( QIODevice * device, const QUrl & url, const QString & format = QString() ) const = 0 |
The QGLSceneFormatPlugin class defines an interface for loading 3D object and scene formats.
See also QGLSceneFormatHandler.
Constructs a 3D scene format plugin with the given parent. This is invoked automatically by the Q_EXPORT_PLUGIN2() macro.
Destroys this 3D scene format plugin. This is invoked automatically when the plugin is unloaded.
Creates and returns a QGLSceneFormatHandler for handling the data in device according to format. The url specifies the original location of the data for resolving relative resource references.
See also keys().
Returns the list of format keys this plugin supports. These keys are usually the names of the 3D scene formats that are implemented in the plugin (e.g., "3ds", "obj", etc). The returned elements must be in lower case.
See also create().