#include <GLsceneBase.h>
Protected Types | |
enum | { REQ_NONE, REQ_CLEAR, REQ_CAPTURE } |
Protected Member Functions | |
void | drawFloorGrid () |
void | drawInfo (double fps, size_t ntri) |
Protected Attributes | |
float | m_bgColor [3] |
GLcamera * | m_camera |
IplImage * | m_cvImage |
GLcamera * | m_default_camera |
bool | m_defaultLights |
std::string | m_fname |
int | m_height |
bool | m_isCapturing |
struct timeval | m_lastDraw |
LogManagerBase * | m_log |
double | m_maxEdgeLen |
std::vector< std::string > | m_msgs |
int | m_request |
SDL_sem * | m_sem |
bool | m_showFloorGrid |
bool | m_showInfo |
bool | m_showingStatus |
bool | m_showSlider |
int | m_targetObject |
CvVideoWriter * | m_videoWriter |
int | m_width |
Protected Attributes inherited from hrp::WorldBase | |
std::vector< BodyInfo > | bodyInfoArray |
double | currentTime_ |
bool | sensorsAreEnabled |
double | timeStep_ |
Additional Inherited Members | |
Public Attributes inherited from hrp::World< hrp::ConstraintForceSolver > | |
hrp::ConstraintForceSolver | constraintForceSolver |
Definition at line 25 of file GLsceneBase.h.
|
protected |
Enumerator | |
---|---|
REQ_NONE | |
REQ_CLEAR | |
REQ_CAPTURE |
Definition at line 64 of file GLsceneBase.h.
GLsceneBase::GLsceneBase | ( | LogManagerBase * | i_log | ) |
Definition at line 28 of file GLsceneBase.cpp.
|
virtual |
Definition at line 48 of file GLsceneBase.cpp.
void GLsceneBase::addBody | ( | hrp::BodyPtr | i_body | ) |
Definition at line 414 of file GLsceneBase.cpp.
void GLsceneBase::capture | ( | char * | o_image | ) |
Definition at line 121 of file GLsceneBase.cpp.
|
inline |
Definition at line 62 of file GLsceneBase.h.
hrp::Vector3 GLsceneBase::center | ( | ) |
Definition at line 442 of file GLsceneBase.cpp.
Definition at line 402 of file GLsceneBase.cpp.
void GLsceneBase::defaultLights | ( | bool | flag | ) |
Definition at line 154 of file GLsceneBase.cpp.
bool GLsceneBase::defaultLights | ( | ) |
Definition at line 168 of file GLsceneBase.cpp.
void GLsceneBase::draw | ( | ) |
Definition at line 289 of file GLsceneBase.cpp.
|
inlinevirtual |
Reimplemented in GLscene, GLscene, CollisionDetectorComponent::GLscene, and GLscene.
Definition at line 52 of file GLsceneBase.h.
|
protected |
Definition at line 200 of file GLsceneBase.cpp.
|
protected |
Definition at line 229 of file GLsceneBase.cpp.
size_t GLsceneBase::drawObjects | ( | bool | showSensors = true | ) |
Definition at line 271 of file GLsceneBase.cpp.
GLcamera * GLsceneBase::getCamera | ( | ) |
Definition at line 94 of file GLsceneBase.cpp.
GLcamera * GLsceneBase::getDefaultCamera | ( | ) |
Definition at line 99 of file GLsceneBase.cpp.
void GLsceneBase::init | ( | ) |
Definition at line 173 of file GLsceneBase.cpp.
void GLsceneBase::initLights | ( | ) |
Definition at line 136 of file GLsceneBase.cpp.
void GLsceneBase::maxEdgeLen | ( | double | i_len | ) |
Definition at line 423 of file GLsceneBase.cpp.
void GLsceneBase::nextCamera | ( | ) |
Definition at line 67 of file GLsceneBase.cpp.
void GLsceneBase::nextObject | ( | ) |
Definition at line 88 of file GLsceneBase.cpp.
Definition at line 395 of file GLsceneBase.cpp.
void GLsceneBase::requestClear | ( | ) |
Definition at line 389 of file GLsceneBase.cpp.
Definition at line 104 of file GLsceneBase.cpp.
void GLsceneBase::setBackGroundColor | ( | float | rgb[3] | ) |
Definition at line 437 of file GLsceneBase.cpp.
Definition at line 60 of file GLsceneBase.cpp.
Definition at line 44 of file GLsceneBase.h.
Definition at line 55 of file GLsceneBase.cpp.
void GLsceneBase::setView | ( | ) |
Definition at line 408 of file GLsceneBase.cpp.
void GLsceneBase::showFloorGrid | ( | bool | flag | ) |
Definition at line 190 of file GLsceneBase.cpp.
bool GLsceneBase::showFloorGrid | ( | ) |
Definition at line 195 of file GLsceneBase.cpp.
void GLsceneBase::showInfo | ( | bool | flag | ) |
Definition at line 224 of file GLsceneBase.cpp.
|
inline |
Definition at line 45 of file GLsceneBase.h.
|
inlinevirtual |
Reimplemented in CollisionDetectorComponent::GLscene, GLscene, GLscene, GLscene, and GLscene.
Definition at line 51 of file GLsceneBase.h.
hrp::BodyPtr GLsceneBase::targetObject | ( | ) |
Definition at line 428 of file GLsceneBase.cpp.
|
inline |
Definition at line 47 of file GLsceneBase.h.
|
pure virtual |
|
protected |
Definition at line 83 of file GLsceneBase.h.
|
protected |
Definition at line 72 of file GLsceneBase.h.
|
protected |
Definition at line 75 of file GLsceneBase.h.
|
protected |
Definition at line 72 of file GLsceneBase.h.
|
protected |
Definition at line 78 of file GLsceneBase.h.
|
protected |
Definition at line 80 of file GLsceneBase.h.
|
protected |
Definition at line 71 of file GLsceneBase.h.
|
protected |
Definition at line 84 of file GLsceneBase.h.
|
protected |
Definition at line 73 of file GLsceneBase.h.
|
protected |
Definition at line 76 of file GLsceneBase.h.
|
protected |
Definition at line 81 of file GLsceneBase.h.
|
protected |
Definition at line 69 of file GLsceneBase.h.
|
protected |
Definition at line 79 of file GLsceneBase.h.
|
protected |
Definition at line 77 of file GLsceneBase.h.
|
protected |
Definition at line 78 of file GLsceneBase.h.
|
protected |
Definition at line 78 of file GLsceneBase.h.
|
protected |
Definition at line 70 of file GLsceneBase.h.
|
protected |
Definition at line 70 of file GLsceneBase.h.
|
protected |
Definition at line 82 of file GLsceneBase.h.
|
protected |
Definition at line 74 of file GLsceneBase.h.
|
protected |
Definition at line 71 of file GLsceneBase.h.