14 #include <QVariantHash>
16 #include "FSTReader.h"
22 class FST :
public QObject {
24 Q_PROPERTY(QString name READ getName WRITE setName NOTIFY nameChanged)
25 Q_PROPERTY(QString modelPath READ getModelPath WRITE setModelPath NOTIFY modelPathChanged)
27 FST(QString fstPath, QMultiHash<QString, QVariant> data);
29 static FST* createFSTFromModel(
const QString& fstPath,
const QString& modelFilePath,
const hfm::Model& hfmModel);
31 QString absoluteModelPath()
const;
33 QString getName()
const {
return _name; }
34 void setName(
const QString& name);
36 QString getModelPath()
const {
return _modelPath; }
37 void setModelPath(
const QString& modelPath);
39 QStringList getScriptPaths()
const {
return _scriptPaths; }
40 void setScriptPaths(QStringList scriptPaths) { _scriptPaths = scriptPaths; }
42 QString getPath()
const {
return _fstPath; }
44 QMultiHash<QString, QVariant> getMapping()
const;
49 void nameChanged(
const QString& name);
50 void modelPathChanged(
const QString& modelPath);
58 QStringList _scriptPaths{};
60 QVariantHash _other{};
A generic 3D model displaying geometry loaded from a URL.
Definition: Model.h:84
The runtime model format.
Definition: HFM.h:302