2022-09-19 13:30:03 +00:00
|
|
|
#include "model_offscreen_render.h"
|
|
|
|
|
|
|
|
ModelOffscreenRender::ModelOffscreenRender(const QSurfaceFormat &format, QScreen *targetScreen):
|
|
|
|
QOffscreenSurface(targetScreen)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
ModelOffscreenRender::~ModelOffscreenRender()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void ModelOffscreenRender::setXRotation(int angle)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void ModelOffscreenRender::setYRotation(int angle)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void ModelOffscreenRender::setZRotation(int angle)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void ModelOffscreenRender::setEyePosition(const QVector3D &eyePosition)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void ModelOffscreenRender::setMoveToPosition(const QVector3D &moveToPosition)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void ModelOffscreenRender::setRenderThread(QThread *thread)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void ModelOffscreenRender::updateMesh(Model *mesh)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
QImage ModelOffscreenRender::toImage(const QSize &size)
|
|
|
|
{
|
|
|
|
// TODO
|
2022-09-20 12:48:22 +00:00
|
|
|
return QImage();
|
2022-09-19 13:30:03 +00:00
|
|
|
}
|