VrmlUtil.h
Go to the documentation of this file.
1 
5 #ifndef OPENHRP_MODEL_LOADER_VRML_UTIL_H_INCLUDED
6 #define OPENHRP_MODEL_LOADER_VRML_UTIL_H_INCLUDED
7 
8 #include <string>
9 #include <hrpCorba/ModelLoader.hh>
10 #include <hrpUtil/VrmlNodes.h>
11 #include <hrpUtil/UrlUtil.h>
12 
13 using namespace hrp;
14 using namespace OpenHRP;
15 
16 void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, std::string& out_s);
17 void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, DblSequence& out_v);
18 void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, CORBA::Double& out_v);
19 void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, CORBA::Long& out_v);
20 
21 //void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, DblSequence3& out_v);
22 //void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, DblSequence9& out_m);
23 
24 void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, DblArray3& out_v);
25 void copyVrmlField(TProtoFieldMap& fmap, const std::string& name, DblArray9& out_m);
26 
27 void copyVrmlRotationFieldToDblArray9(TProtoFieldMap& fieldMap, const std::string name, DblArray9& out_R);
28 void copyVrmlRotationFieldToDblArray4(TProtoFieldMap& fieldMap, const std::string name, DblArray4& out_R);
29 
30 std::string setTexturefileUrl( std::string modelfileDir, hrp::MFString urls);
31 #endif
void copyVrmlField(TProtoFieldMap &fmap, const std::string &name, std::string &out_s)
Definition: VrmlUtil.cpp:22
png_infop png_charpp name
Definition: png.h:2382
std::map< std::string, VrmlVariantField > TProtoFieldMap
Definition: VrmlNodes.h:854
void copyVrmlRotationFieldToDblArray9(TProtoFieldMap &fieldMap, const std::string name, DblArray9 &out_R)
Definition: VrmlUtil.cpp:146
std::string setTexturefileUrl(std::string modelfileDir, hrp::MFString urls)
std::vector< SFString > MFString
Definition: VrmlNodes.h:77
void copyVrmlRotationFieldToDblArray4(TProtoFieldMap &fieldMap, const std::string name, DblArray4 &out_R)
Definition: VrmlUtil.cpp:193


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:26