summaryrefslogtreecommitdiffstats
path: root/src/datavis3d/utils/meshloader_p.h
blob: 4507ceb7fd4daf060295b228c667f3dd12e5fe21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef MESHLOADER_P_H
#define MESHLOADER_P_H

#include "qdatavis3dglobal.h"

class QVector2D;
class QVector3D;

QTCOMMERCIALDATAVIS3D_BEGIN_NAMESPACE

class MeshLoader
{
public:
    static bool loadOBJ(QString path,
                        QVector<QVector3D> &out_vertices,
                        QVector<QVector2D> &out_uvs,
                        QVector<QVector3D> &out_normals);
    // TODO: add loaders for other formats?
};

QTCOMMERCIALDATAVIS3D_END_NAMESPACE

#endif