Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
lib
util
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
loadShapeFromBodyInfo
void loadShapeFromBodyInfo(GLbody *body, OpenHRP::BodyInfo_var i_binfo, GLshape *(*shapeFactory)()=NULL)
GLshape
Definition:
GLshape.h:17
loadShapeFromSceneInfo
void loadShapeFromSceneInfo(GLlink *link, OpenHRP::SceneInfo_var i_sinfo, GLshape *(*shapeFactory)()=NULL)
GLlink
Definition:
GLlink.h:17
loadShapeFromLinkInfo
void loadShapeFromLinkInfo(GLlink *link, const OpenHRP::LinkInfo &i_li, OpenHRP::ShapeSetInfo_ptr i_ssinfo, GLshape *(*shapeFactory)()=NULL)
Definition:
GLutil.cpp:202
GLbody
Definition:
GLbody.h:11
simTest5.body
body
Definition:
simTest5.py:6
loadCube
void loadCube(GLshape *shape, double x, double y, double z)
Definition:
GLutil.cpp:141
hrp::Body::link
Link * link(int index) const
mulTrans
void mulTrans(const double i_m1[16], const double i_m2[16], double o_m[16])
Definition:
GLutil.cpp:58
sample.y
y
Definition:
rtc/OccupancyGridMap3D/sample/sample.py:12
sample.x
x
Definition:
rtc/OccupancyGridMap3D/sample/sample.py:11
sample.z
z
Definition:
rtc/OccupancyGridMap3D/sample/sample.py:13
hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:50