Public Member Functions | Private Member Functions | List of all members
CollisionDetectorComponent::GLscene Class Reference

#include <GLscene.h>

Inheritance diagram for CollisionDetectorComponent::GLscene:
Inheritance graph
[legend]

Public Member Functions

 GLscene (LogManagerBase *i_log)
 
- Public Member Functions inherited from GLsceneBase
void addBody (hrp::BodyPtr i_body)
 
void capture (char *o_image)
 
void capture ()
 
hrp::Vector3 center ()
 
void clear ()
 
void defaultLights (bool flag)
 
bool defaultLights ()
 
void draw ()
 
size_t drawObjects (bool showSensors=true)
 
GLcameragetCamera ()
 
GLcameragetDefaultCamera ()
 
 GLsceneBase (LogManagerBase *i_log)
 
void init ()
 
void initLights ()
 
void maxEdgeLen (double i_len)
 
void nextCamera ()
 
void nextObject ()
 
void requestCapture (const char *i_fname)
 
void requestClear ()
 
void save (const char *i_fname)
 
void setBackGroundColor (float rgb[3])
 
void setCamera (GLcamera *i_camera)
 
void setMessages (const std::vector< std::string > &i_msgs)
 
void setScreenSize (int w, int h)
 
void setView ()
 
void showFloorGrid (bool flag)
 
bool showFloorGrid ()
 
void showInfo (bool flag)
 
void showSlider (bool flag)
 
hrp::BodyPtr targetObject ()
 
void toggleRobotState ()
 
virtual ~GLsceneBase ()
 
- Public Member Functions inherited from hrp::World< hrp::ConstraintForceSolver >
virtual void calcNextState (OpenHRP::CollisionSequence &corbaCollisionSequence)
 
virtual void initialize ()
 
 World ()
 
- Public Member Functions inherited from hrp::WorldBase
int addBody (BodyPtr body)
 
BodyPtr body (int index)
 
BodyPtr body (const std::string &name)
 
int bodyIndex (const std::string &name)
 
virtual void calcNextState ()
 
void clearBodies ()
 
void clearCollisionPairs ()
 
double currentTime (void) const
 
void enableSensors (bool on)
 
ForwardDynamicsPtr forwardDynamics (int index)
 
const Vector3getGravityAcceleration ()
 
std::pair< int, bool > getIndexOfLinkPairs (Link *link1, Link *link2)
 
unsigned int numBodies ()
 
void setCurrentTime (double tm)
 
void setEulerMethod ()
 
void setGravityAcceleration (const Vector3 &g)
 
void setRungeKuttaMethod ()
 
void setTimeStep (double dt)
 
double timeStep (void) const
 
 WorldBase ()
 
virtual ~WorldBase ()
 

Private Member Functions

void drawAdditionalLines ()
 
void showStatus ()
 
void updateScene ()
 

Additional Inherited Members

- Public Attributes inherited from hrp::World< hrp::ConstraintForceSolver >
hrp::ConstraintForceSolver constraintForceSolver
 
- Protected Types inherited from GLsceneBase
enum  { REQ_NONE, REQ_CLEAR, REQ_CAPTURE }
 
- Protected Member Functions inherited from GLsceneBase
void drawFloorGrid ()
 
void drawInfo (double fps, size_t ntri)
 
- Protected Attributes inherited from GLsceneBase
float m_bgColor [3]
 
GLcameram_camera
 
IplImage * m_cvImage
 
GLcameram_default_camera
 
bool m_defaultLights
 
std::string m_fname
 
int m_height
 
bool m_isCapturing
 
struct timeval m_lastDraw
 
LogManagerBasem_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_
 

Detailed Description

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

Constructor & Destructor Documentation

CollisionDetectorComponent::GLscene::GLscene ( LogManagerBase i_log)
inline

Definition at line 14 of file rtc/CollisionDetector/GLscene.h.

Member Function Documentation

void GLscene::drawAdditionalLines ( )
privatevirtual

Reimplemented from GLsceneBase.

Definition at line 63 of file rtc/CollisionDetector/GLscene.cpp.

void GLscene::showStatus ( )
privatevirtual

Reimplemented from GLsceneBase.

Definition at line 128 of file rtc/CollisionDetector/GLscene.cpp.

void GLscene::updateScene ( )
privatevirtual

Implements GLsceneBase.

Definition at line 30 of file rtc/CollisionDetector/GLscene.cpp.


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


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:53