GLutil.h
Go to the documentation of this file.
1 #ifndef __GLUTIL_H__
2 #define __GLUTIL_H__
3 
4 #include <vector>
5 #include <hrpCorba/ModelLoader.hh>
6 #ifdef __APPLE__
7 #include <OpenGL/gl.h>
8 #else
9 #include <GL/gl.h>
10 #endif
11 
12 class GLshape;
13 class GLlink;
14 class GLbody;
15 
16 void mulTrans(const double i_m1[16], const double i_m2[16], double o_m[16]);
17 void loadCube(GLshape *shape, double x, double y, double z);
18 void loadShapeFromBodyInfo(GLbody *body, OpenHRP::BodyInfo_var i_binfo,
19  GLshape *(*shapeFactory)()=NULL);
20 void loadShapeFromSceneInfo(GLlink *link, OpenHRP::SceneInfo_var i_sinfo,
21  GLshape *(*shapeFactory)()=NULL);
22 void loadShapeFromLinkInfo(GLlink *link,
23  const OpenHRP::LinkInfo &i_li,
24  OpenHRP::ShapeSetInfo_ptr i_ssinfo,
25  GLshape *(*shapeFactory)()=NULL);
26 
27 #endif
void loadShapeFromBodyInfo(GLbody *body, OpenHRP::BodyInfo_var i_binfo, GLshape *(*shapeFactory)()=NULL)
void loadShapeFromSceneInfo(GLlink *link, OpenHRP::SceneInfo_var i_sinfo, GLshape *(*shapeFactory)()=NULL)
void loadShapeFromLinkInfo(GLlink *link, const OpenHRP::LinkInfo &i_li, OpenHRP::ShapeSetInfo_ptr i_ssinfo, GLshape *(*shapeFactory)()=NULL)
Definition: GLutil.cpp:202
Definition: GLbody.h:11
void loadCube(GLshape *shape, double x, double y, double z)
Definition: GLutil.cpp:141
Link * link(int index) const
void mulTrans(const double i_m1[16], const double i_m2[16], double o_m[16])
Definition: GLutil.cpp:58


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:50