server/ModelLoader/VrmlWriter.h
Go to the documentation of this file.
1 #ifndef __VRML_WRITER_H__
2 #define __VRML_WRITER_H__
3 
4 #include <iostream>
5 #include <hrpCorba/ModelLoader.hh>
6 
7 class VrmlWriter
8 {
9 public:
11  void write(OpenHRP::BodyInfo_var binfo, std::ostream &ofs);
12  void useInlineShape(bool use_inline);
13 private:
14  void writeProtoNodes(std::ostream &ofs);
15  void writeHumanoidNode(OpenHRP::BodyInfo_var binfo, std::ostream &ofs);
16  void writeLink(int index, std::ostream &ofs);
17  void writeShape(OpenHRP::TransformedShapeIndex &tsi, std::ostream &ofs);
18  void indent(std::ostream &ofs);
19  int m_indent;
21  OpenHRP::LinkInfoSequence_var links;
22  OpenHRP::ShapeInfoSequence_var shapes;
23  OpenHRP::AppearanceInfoSequence_var appearances;
24  OpenHRP::MaterialInfoSequence_var materials;
25  OpenHRP::TextureInfoSequence_var textures;
26 };
27 
28 #endif
OpenHRP::LinkInfoSequence_var links
void writeLink(int index, std::ostream &ofs)
OpenHRP::AppearanceInfoSequence_var appearances
void writeHumanoidNode(OpenHRP::BodyInfo_var binfo, std::ostream &ofs)
list index
OpenHRP::TextureInfoSequence_var textures
void writeProtoNodes(std::ostream &ofs)
void useInlineShape(bool use_inline)
OpenHRP::ShapeInfoSequence_var shapes
void write(OpenHRP::BodyInfo_var binfo, std::ostream &ofs)
OpenHRP::MaterialInfoSequence_var materials
void indent(std::ostream &ofs)
void writeShape(OpenHRP::TransformedShapeIndex &tsi, std::ostream &ofs)


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:41