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
copyVrmlField
void copyVrmlField(TProtoFieldMap &fmap, const std::string &name, std::string &out_s)
Definition: VrmlUtil.cpp:22
hrp::TProtoFieldMap
std::map< std::string, VrmlVariantField > TProtoFieldMap
Definition: VrmlNodes.h:854
hrp
Definition: ColdetModel.h:28
VrmlNodes.h
hrp::MFString
std::vector< SFString > MFString
Definition: VrmlNodes.h:77
OpenHRP
Definition: ConstraintForceSolver.h:19
name
png_infop png_charpp name
Definition: png.h:2379
copyVrmlRotationFieldToDblArray9
void copyVrmlRotationFieldToDblArray9(TProtoFieldMap &fieldMap, const std::string name, DblArray9 &out_R)
Definition: VrmlUtil.cpp:146
UrlUtil.h
copyVrmlRotationFieldToDblArray4
void copyVrmlRotationFieldToDblArray4(TProtoFieldMap &fieldMap, const std::string name, DblArray4 &out_R)
Definition: VrmlUtil.cpp:193
setTexturefileUrl
std::string setTexturefileUrl(std::string modelfileDir, hrp::MFString urls)


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:04