12 #ifndef hifi_ModelPropertiesDialog_h
13 #define hifi_ModelPropertiesDialog_h
18 #include <FSTReader.h>
20 #include "ui/ModelsBrowser.h"
33 const QString& basePath,
const HFMModel& hfmModel);
35 QVariantHash getMapping()
const;
39 void chooseTextureDirectory();
40 void chooseScriptDirectory();
41 void updatePivotJoint();
44 QComboBox* createJointBox(
bool withNone =
true)
const;
45 QDoubleSpinBox* createTranslationBox()
const;
46 void insertJointMapping(QVariantHash& joints,
const QString& joint,
const QString& name)
const;
48 QVariantHash _originalMapping;
51 QLineEdit* _name =
nullptr;
52 QPushButton* _textureDirectory =
nullptr;
53 QPushButton* _scriptDirectory =
nullptr;
54 QDoubleSpinBox* _scale =
nullptr;
55 QDoubleSpinBox* _translationX =
nullptr;
56 QDoubleSpinBox* _translationY =
nullptr;
57 QDoubleSpinBox* _translationZ =
nullptr;
58 QCheckBox* _pivotAboutCenter =
nullptr;
59 QComboBox* _pivotJoint =
nullptr;
60 QComboBox* _leftEyeJoint =
nullptr;
61 QComboBox* _rightEyeJoint =
nullptr;
62 QComboBox* _neckJoint =
nullptr;
63 QComboBox* _rootJoint =
nullptr;
64 QComboBox* _leanJoint =
nullptr;
65 QComboBox* _headJoint =
nullptr;
66 QComboBox* _leftHandJoint =
nullptr;
67 QComboBox* _rightHandJoint =
nullptr;
A dialog that allows customization of various model properties.
Definition: ModelPropertiesDialog.h:28
The runtime model format.
Definition: HFM.h:302