diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-03-28 16:28:45 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-03-28 16:28:45 +0100 |
| commit | 623e1924aeea83ea70c8ae7f645b067f17a293ea (patch) | |
| tree | 6016c770098ef923e6fac0be12040703d99fcbb2 /morpher/src/morphmesh.h | |
| parent | a47b39541a7f60dfdda921c9598abe947e1e6ad9 (diff) | |
mesh loader and morpher working
Diffstat (limited to 'morpher/src/morphmesh.h')
| -rw-r--r-- | morpher/src/morphmesh.h | 11 |
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 |
