Go to the documentation of this file.00001
00005 #ifndef OPENHRP_MODEL_LOADER_VRML_UTIL_H_INCLUDED
00006 #define OPENHRP_MODEL_LOADER_VRML_UTIL_H_INCLUDED
00007
00008 #include <string>
00009 #include <hrpCorba/ModelLoader.hh>
00010 #include <hrpUtil/VrmlNodes.h>
00011 #include <hrpUtil/UrlUtil.h>
00012
00013 using namespace hrp;
00014 using namespace OpenHRP;
00015
00016 void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, std::string& out_s);
00017 void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, DblSequence& out_v);
00018 void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, CORBA::Double& out_v);
00019 void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, CORBA::Long& out_v);
00020
00021
00022
00023
00024 void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, DblArray3& out_v);
00025 void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, DblArray9& out_m);
00026
00027 void copyVrmlRotationFieldToDblArray9(TProtoFieldMap& fieldMap, const std::string name, DblArray9& out_R);
00028 void copyVrmlRotationFieldToDblArray4(TProtoFieldMap& fieldMap, const std::string name, DblArray4& out_R);
00029
00030 std::string setTexturefileUrl( std::string modelfileDir, hrp::MFString urls);
00031 #endif