8 #include "LodGeneratorOptionsPanel.h"
12 enum ELodGeneratorState
14 eLGS_GeneratePreparePre
,
17 eLGS_GenerateMaterial
,
27 class CLodGeneratorAllPanel
;
30 class CLodGeneratorAllPanel
: public QWidget
35 explicit CLodGeneratorAllPanel(QWidget
*parent
= 0);
36 ~CLodGeneratorAllPanel();
38 const QString
LoadedFile();
39 const QString
MaterialFile();
40 const void RefreshMaterialFile();
44 void SelectMeshFile_Signal(const QString
);
45 void SelectMateralFile_Signal(const QString
);
46 void UpdateProgress_Signal(int Progress
);
49 void SelectMeshFile_Slot();
50 void SelectObjFile_Slot();
51 void SelectMaterial_Slot();
52 void SelectConfig_Slot(int index
);
55 void GenerateOption();
58 void OnGenerateMeshs();
59 void OnGenerateMaterials();
61 void OnOpenWithPathParameter(const QString
& objectPath
);
62 void ShowMessage(std::string message
);
63 void timerEvent( QTimerEvent
*event
);
66 void SetState(Ui::ELodGeneratorState lodGeneratorState
);
72 Ui::CLodGeneratorAllPanel
*ui
;
77 QString m_MaterialPath
;
78 Ui::ELodGeneratorState m_LodGeneratorState
;
80 std::vector
<Ui::LodInfo
> m_LodInfoList
;
82 CLodGeneratorOptionsPanel
* m_LodGeneratorOptionsPanel
;