summaryrefslogtreecommitdiff
path: root/morpher/src/morphmesh.h
blob: 303533c88abc76a6a5e354b293208012235f816e (plain)
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
#ifndef MORPHMESH_H
#define MORPHMESH_H

#include <iostream>
#include <iterator>

#include <ofMesh.h>
#include <ofxXmlSettings.h>


class morphmesh : public ofMesh
{
    public:
        morphmesh();
        virtual ~morphmesh();
	bool loadfile(string filename);
	void draw(int target);
	void draw(const vector<float>& targetBlend);
    int getNumTargets();
    protected:
    private:
    //vector < <vector <ofVec3f> >targets;
    vector< vector<ofVec3f> > targets;
};

#endif // MORPHMESH_H