summaryrefslogtreecommitdiff
path: root/morpher/src/morphmesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'morpher/src/morphmesh.h')
-rw-r--r--morpher/src/morphmesh.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/morpher/src/morphmesh.h b/morpher/src/morphmesh.h
index 3f401c6..303533c 100644
--- a/morpher/src/morphmesh.h
+++ b/morpher/src/morphmesh.h
@@ -1,6 +1,9 @@
#ifndef MORPHMESH_H
#define MORPHMESH_H
+#include <iostream>
+#include <iterator>
+
#include <ofMesh.h>
#include <ofxXmlSettings.h>
@@ -10,10 +13,14 @@ class morphmesh : public ofMesh
public:
morphmesh();
virtual ~morphmesh();
- bool loadmesh(string filename);
+ 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;
+ vector< vector<ofVec3f> > targets;
};
#endif // MORPHMESH_H