Classes | Functions
GLutil.cpp File Reference
#include <iostream>
#include <math.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <hrpUtil/Eigen3d.h>
#include "GLshape.h"
#include "GLbody.h"
#include "GLlink.h"
#include "GLcamera.h"
#include "GLtexture.h"
#include "GLutil.h"
Include dependency graph for GLutil.cpp:

Go to the source code of this file.

Classes

class  shapeLoader
 

Functions

void loadCube (GLshape *shape, double x, double y, double z)
 
void loadShapeFromBodyInfo (GLbody *body, BodyInfo_var i_binfo, GLshape *(*shapeFactory)())
 
void loadShapeFromLinkInfo (GLlink *link, const OpenHRP::LinkInfo &i_li, OpenHRP::ShapeSetInfo_ptr i_ssinfo, GLshape *(*shapeFactory)())
 
void loadShapeFromSceneInfo (GLlink *link, SceneInfo_var i_sinfo, GLshape *(*shapeFactory)())
 
bool loadTextureFromTextureInfo (GLtexture *texture, TextureInfo &ti)
 
void mulTrans (const double i_m1[16], const double i_m2[16], double o_m[16])
 

Function Documentation

◆ loadCube()

void loadCube ( GLshape shape,
double  x,
double  y,
double  z 
)

Definition at line 141 of file GLutil.cpp.

◆ loadShapeFromBodyInfo()

void loadShapeFromBodyInfo ( GLbody body,
BodyInfo_var  i_binfo,
GLshape *(*)()  shapeFactory 
)

Definition at line 181 of file GLutil.cpp.

◆ loadShapeFromLinkInfo()

void loadShapeFromLinkInfo ( GLlink link,
const OpenHRP::LinkInfo &  i_li,
OpenHRP::ShapeSetInfo_ptr  i_ssinfo,
GLshape *(*)()  shapeFactory 
)

Definition at line 202 of file GLutil.cpp.

◆ loadShapeFromSceneInfo()

void loadShapeFromSceneInfo ( GLlink link,
SceneInfo_var  i_sinfo,
GLshape *(*)()  shapeFactory 
)

Definition at line 189 of file GLutil.cpp.

◆ loadTextureFromTextureInfo()

bool loadTextureFromTextureInfo ( GLtexture texture,
TextureInfo &  ti 
)

Definition at line 71 of file GLutil.cpp.

◆ mulTrans()

void mulTrans ( const double  i_m1[16],
const double  i_m2[16],
double  o_m[16] 
)

Definition at line 58 of file GLutil.cpp.



hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Sat Dec 17 2022 03:52:21