Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
GLscene Class Reference

#include <GLmodel.h>

Inheritance diagram for GLscene:
Inheritance graph
[legend]

List of all members.

Public Member Functions

GLbodyaddBody (OpenHRP::BodyInfo_var i_binfo)
void addBody (GLbody *i_body)
GLbodybody (unsigned int i_rank)
void capture (unsigned char *o_image)
void draw ()
void draw (bool swap=true)
GLcameragetCamera ()
GLcameragetCamera ()
irr::scene::ISceneManager * getSceneManager ()
irr::video::IVideoDriver * getVideoDriver ()
 GLscene (LogManagerBase *i_log)
 GLscene (LogManagerBase *i_log)
 GLscene (LogManagerBase *i_log)
 GLscene (LogManagerBase *i_log)
 GLscene (LogManagerBase *i_log)
 GLscene ()
bool init (int w=640, int h=480)
void init ()
unsigned int numBodies () const
void save (const char *i_fname)
void setCamera (GLcamera *i_camera)
void setCamera (GLcamera *i_camera)
void setCollisionCheckPairs (const std::vector< hrp::ColdetLinkPairPtr > &i_pairs)
void showCollision (bool flag)
bool showCollision ()
void showCoMonFloor (bool flag)
void showSensors (bool flag)
bool showSensors ()
 ~GLscene ()
 ~GLscene ()

Static Public Member Functions

static GLscenegetInstance ()
static GLscenegetInstance ()

Private Member Functions

void drawAdditionalLines ()
void drawAdditionalLines ()
void drawAdditionalLines ()
void drawSensorOutput (hrp::Body *i_body, hrp::Sensor *i_sensor)
 GLscene ()
void showStatus ()
void showStatus ()
void showStatus ()
void showStatus ()
void updateScene ()
void updateScene ()
void updateScene ()
void updateScene ()
void updateScene ()
 ~GLscene ()

Private Attributes

std::vector< GLbody * > m_bodies
GLcameram_camera
irr::scene::ICameraSceneNode * m_cnode
GLcameram_default_camera
GLcameram_defaultCamera
irr::IrrlichtDevice * m_device
std::vector
< hrp::ColdetLinkPairPtr
m_pairs
irr::IEventReceiver * m_receiver
bool m_showCollision
bool m_showCoMonFloor
bool m_showSensors

Static Private Attributes

static GLscenem_scene = new GLscene()

Detailed Description

Definition at line 78 of file GLmodel.h.


Constructor & Destructor Documentation

GLscene::GLscene ( ) [private]

Definition at line 347 of file GLmodel.cpp.

GLscene::~GLscene ( ) [private]

Definition at line 357 of file GLmodel.cpp.

GLscene::GLscene ( LogManagerBase i_log) [inline]

Definition at line 11 of file rtc/Viewer/GLscene.h.

GLscene::GLscene ( LogManagerBase i_log) [inline]

Definition at line 11 of file rtc/VirtualCamera/GLscene.h.

GLscene::GLscene ( LogManagerBase i_log) [inline]

Definition at line 12 of file util/monitor/GLscene.h.


Member Function Documentation

GLbody * GLscene::addBody ( OpenHRP::BodyInfo_var  i_binfo)

Definition at line 550 of file IrrModel.cpp.

void GLscene::addBody ( GLbody i_body)

Definition at line 293 of file GLmodel.cpp.

GLbody * GLscene::body ( unsigned int  i_rank)

Definition at line 442 of file GLmodel.cpp.

void GLscene::capture ( unsigned char *  o_image)

Definition at line 408 of file GLmodel.cpp.

Reimplemented from GLsceneBase.

Definition at line 496 of file IrrModel.cpp.

void GLscene::draw ( bool  swap = true)

Definition at line 297 of file GLmodel.cpp.

void GLscene::drawAdditionalLines ( ) [private, virtual]

Reimplemented from GLsceneBase.

void GLscene::drawAdditionalLines ( ) [private, virtual]

Reimplemented from GLsceneBase.

void GLscene::drawAdditionalLines ( ) [private, virtual]

Reimplemented from GLsceneBase.

Definition at line 272 of file util/monitor/GLscene.cpp.

void GLscene::drawSensorOutput ( hrp::Body i_body,
hrp::Sensor i_sensor 
) [private]

Definition at line 171 of file util/simulator/GLscene.cpp.

Reimplemented from GLsceneBase.

Reimplemented from GLsceneBase.

Definition at line 429 of file GLmodel.cpp.

static GLscene* GLscene::getInstance ( ) [static]
GLscene * GLscene::getInstance ( ) [static]

Definition at line 332 of file GLmodel.cpp.

ISceneManager * GLscene::getSceneManager ( )

Definition at line 572 of file IrrModel.cpp.

IVideoDriver * GLscene::getVideoDriver ( )

Definition at line 577 of file IrrModel.cpp.

bool GLscene::init ( int  w = 640,
int  h = 480 
)

Definition at line 524 of file IrrModel.cpp.

Reimplemented from GLsceneBase.

Definition at line 362 of file GLmodel.cpp.

unsigned int GLscene::numBodies ( ) const

Definition at line 437 of file GLmodel.cpp.

void GLscene::save ( const char *  i_fname)

Reimplemented from GLsceneBase.

Definition at line 391 of file GLmodel.cpp.

void GLscene::setCamera ( GLcamera i_camera)

Reimplemented from GLsceneBase.

void GLscene::setCamera ( GLcamera i_camera)

Reimplemented from GLsceneBase.

Definition at line 420 of file GLmodel.cpp.

Definition at line 298 of file util/monitor/GLscene.cpp.

void GLscene::showCollision ( bool  flag)

Definition at line 261 of file util/simulator/GLscene.cpp.

Definition at line 266 of file util/simulator/GLscene.cpp.

void GLscene::showCoMonFloor ( bool  flag)

Definition at line 303 of file util/monitor/GLscene.cpp.

void GLscene::showSensors ( bool  flag)

Definition at line 251 of file util/simulator/GLscene.cpp.

Definition at line 256 of file util/simulator/GLscene.cpp.

void GLscene::showStatus ( ) [private, virtual]

Reimplemented from GLsceneBase.

void GLscene::showStatus ( ) [private, virtual]

Reimplemented from GLsceneBase.

Definition at line 71 of file rtc/Viewer/GLscene.cpp.

void GLscene::showStatus ( ) [private, virtual]

Reimplemented from GLsceneBase.

void GLscene::showStatus ( ) [private, virtual]

Reimplemented from GLsceneBase.

void GLscene::updateScene ( ) [private, virtual]

Implements GLsceneBase.

Definition at line 51 of file rtc/Viewer/GLscene.cpp.

void GLscene::updateScene ( ) [private, virtual]

Implements GLsceneBase.

void GLscene::updateScene ( ) [private, virtual]

Implements GLsceneBase.

void GLscene::updateScene ( ) [private, virtual]

Implements GLsceneBase.

void GLscene::updateScene ( ) [private, virtual]

Implements GLsceneBase.


Member Data Documentation

std::vector<GLbody *> GLscene::m_bodies [private]

Definition at line 97 of file GLmodel.h.

Reimplemented from GLsceneBase.

Definition at line 98 of file GLmodel.h.

irr::scene::ICameraSceneNode* GLscene::m_cnode [private]

Definition at line 28 of file IrrModel.h.

Reimplemented from GLsceneBase.

Definition at line 98 of file GLmodel.h.

Definition at line 27 of file IrrModel.h.

irr::IrrlichtDevice* GLscene::m_device [private]

Definition at line 26 of file IrrModel.h.

std::vector<hrp::ColdetLinkPairPtr> GLscene::m_pairs [private]

Definition at line 19 of file util/monitor/GLscene.h.

irr::IEventReceiver* GLscene::m_receiver [private]

Definition at line 29 of file IrrModel.h.

static GLscene * GLscene::m_scene = new GLscene() [static, private]

Definition at line 96 of file GLmodel.h.

bool GLscene::m_showCollision [private]

Definition at line 20 of file util/simulator/GLscene.h.

bool GLscene::m_showCoMonFloor [private]

Definition at line 20 of file util/monitor/GLscene.h.

bool GLscene::m_showSensors [private]

Definition at line 20 of file util/simulator/GLscene.h.


The documentation for this class was generated from the following files:


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed May 15 2019 05:02:20