1 #ifndef __GL_SCENE_BASE_H__ 2 #define __GL_SCENE_BASE_H__ 11 #include <SDL/SDL_thread.h> 12 #include <hrpCorba/ModelLoader.hh> 14 #include <hrpModel/World.h> 22 #define SLIDER_AREA_HEIGHT 30 23 #define SLIDER_SIDE_MARGIN 10 30 void save(
const char *i_fname);
67 void drawInfo(
double fps,
size_t ntri);
void setCamera(GLcamera *i_camera)
GLcamera * m_default_camera
virtual void updateScene()=0
GLsceneBase(LogManagerBase *i_log)
void setBackGroundColor(float rgb[3])
std::vector< std::string > m_msgs
GLcamera * getDefaultCamera()
size_t drawObjects(bool showSensors=true)
void addBody(hrp::BodyPtr i_body)
void showSlider(bool flag)
void save(const char *i_fname)
virtual void showStatus()
void requestCapture(const char *i_fname)
void setScreenSize(int w, int h)
hrp::BodyPtr targetObject()
void drawInfo(double fps, size_t ntri)
void maxEdgeLen(double i_len)
void setMessages(const std::vector< std::string > &i_msgs)
virtual void drawAdditionalLines()
png_infop png_uint_32 flag
CvVideoWriter * m_videoWriter
struct timeval m_lastDraw