2021-02-04 14:58:03 +00:00
|
|
|
#ifndef MODEL_HPP
|
|
|
|
#define MODEL_HPP
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <modelpart.hpp>
|
|
|
|
#include <cv.hpp>
|
|
|
|
|
|
|
|
class Model {
|
|
|
|
std::vector<ModelPart> parts;
|
|
|
|
|
2021-02-07 11:03:27 +00:00
|
|
|
std::string name;
|
|
|
|
|
2021-11-12 16:43:45 +00:00
|
|
|
std::string artist;
|
|
|
|
std::string modeler;
|
|
|
|
std::string license;
|
|
|
|
|
2021-02-04 14:58:03 +00:00
|
|
|
public:
|
|
|
|
Model(const char* path);
|
|
|
|
|
|
|
|
void draw();
|
|
|
|
|
|
|
|
void updateTransforms(struct FaceData faceData);
|
2021-02-07 11:03:27 +00:00
|
|
|
|
|
|
|
std::string getName();
|
2021-11-12 16:43:45 +00:00
|
|
|
std::string getInfoString();
|
2021-02-04 14:58:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|