OSDN Git Service

fix bone.
[meshio/meshio.git] / swig / vmd.i
1 %module vmd
2 %{
3 #include <vmd.h>
4 using namespace meshio;
5 using namespace vmd;
6 %}
7 %include "std_wstring.i"
8 %include "std_vector.i"
9 %include "std_map.i"
10 %include "../include/vmd.h"
11 %include "../include/color.h"
12 %include "../include/la.h"
13
14 %template(BoneKeyFrame) meshio::vmd::KeyFrame<meshio::vmd::BoneKey>;
15 %template(BoneKeyFrameVector) std::vector<meshio::vmd::KeyFrame<meshio::vmd::BoneKey> >;
16 %template(BoneKeyFrameList) meshio::vmd::KeyFrameList<meshio::vmd::KeyFrame<meshio::vmd::BoneKey> >;
17
18 %template(MorphKeyFrame) meshio::vmd::KeyFrame<meshio::vmd::MorphKey>;
19 %template(MorphKeyFrameVector) std::vector<meshio::vmd::KeyFrame<meshio::vmd::MorphKey> >;
20 %template(MorphKeyFrameList) meshio::vmd::KeyFrameList<meshio::vmd::KeyFrame<meshio::vmd::MorphKey> >;
21
22 %template(WStringVector) std::vector<std::wstring>;
23