-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathTrainingImageRenderWindow.h
More file actions
33 lines (28 loc) · 969 Bytes
/
TrainingImageRenderWindow.h
File metadata and controls
33 lines (28 loc) · 969 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#pragma once
#include <QtWidgets/QMainWindow>
#include "Ui_TrainingImageRenderWindow.h"
#include <memory>
class RenderedClothBodyInfo;
class BatchRenderDistMap;
class ObjMesh;
class TrainingImageRenderWindow : public QMainWindow
{
Q_OBJECT
public:
TrainingImageRenderWindow(QWidget *parent = 0);
~TrainingImageRenderWindow();
void init();
void loadBodyInfosFromXml(QString xmlName, std::vector<std::shared_ptr<RenderedClothBodyInfo>>& bodyInfos)const;
RenderedClothBodyInfo* findCorrespondingBodyInfo(QString objFileName);
public slots:
void on_actionLoad_cloth_mesh_triggered();
void on_actionBatch_render_dist_map_triggered();
void on_actionRender_current_to_distmap_triggered();
protected:
virtual void timerEvent(QTimerEvent* ev);
private:
Ui_TrainingImageRenderWindow ui;
std::shared_ptr<ObjMesh> m_clothMeshLoaded;
std::vector<std::shared_ptr<RenderedClothBodyInfo>> m_bodyInfos;
std::shared_ptr<BatchRenderDistMap> m_batchDistMapRenderer;
};