Public Member Functions | Private Attributes
PySimulator Class Reference

#include <PySimulator.h>

Inheritance diagram for PySimulator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void addCollisionCheckPair (PyBody *b1, PyBody *b2)
PyObject * bodies ()
void capture (std::string)
void clear ()
PyBodycreateBody (std::string name)
void endless (bool flag)
PyBodygetBody (std::string name)
void initRTCmanager ()
void initRTCmanager (PyObject *pyo)
void initRTCmanager (int argc, char **argv)
void initViewer ()
PyBodyloadBody (std::string name, std::string url)
bool loadProject (std::string fname)
unsigned int logLength ()
double maxLogLength ()
void notifyChanged ()
void pause ()
void play ()
 PySimulator ()
 PySimulator (PyObject *pyo)
void reset ()
void setMaxLogLength (double len)
void setShowSensors (bool flag)
void setUseBBox (bool flag)
void setWindowSize (int s)
bool showSensors ()
void simulate ()
void simulate (double time)
void start (double time)
 ~PySimulator ()

Private Attributes

LogManager< SceneStatelog
RTC::Managermanager
double maxLogLen
GLscene scene
bool useBBox
SDLwindow window

Detailed Description

Definition at line 10 of file PySimulator.h.


Constructor & Destructor Documentation

Definition at line 87 of file PySimulator.cpp.

PySimulator::PySimulator ( PyObject *  pyo)

Definition at line 94 of file PySimulator.cpp.

Definition at line 101 of file PySimulator.cpp.


Member Function Documentation

Definition at line 284 of file PySimulator.cpp.

PyObject * PySimulator::bodies ( )

Definition at line 274 of file PySimulator.cpp.

void PySimulator::capture ( std::string  fname)

Definition at line 289 of file PySimulator.cpp.

Reimplemented from Simulator.

Definition at line 234 of file PySimulator.cpp.

PyBody * PySimulator::createBody ( std::string  name)

Definition at line 256 of file PySimulator.cpp.

void PySimulator::endless ( bool  flag)

Definition at line 226 of file PySimulator.cpp.

PyBody * PySimulator::getBody ( std::string  name)

Definition at line 299 of file PySimulator.cpp.

Definition at line 113 of file PySimulator.cpp.

void PySimulator::initRTCmanager ( PyObject *  pyo)

Definition at line 129 of file PySimulator.cpp.

void PySimulator::initRTCmanager ( int  argc,
char **  argv 
)

Definition at line 120 of file PySimulator.cpp.

Definition at line 108 of file PySimulator.cpp.

PyBody * PySimulator::loadBody ( std::string  name,
std::string  url 
)

Definition at line 139 of file PySimulator.cpp.

bool PySimulator::loadProject ( std::string  fname)

Definition at line 175 of file PySimulator.cpp.

Definition at line 294 of file PySimulator.cpp.

Definition at line 319 of file PySimulator.cpp.

Definition at line 251 of file PySimulator.cpp.

Reimplemented from ThreadedObject.

Definition at line 246 of file PySimulator.cpp.

Definition at line 241 of file PySimulator.cpp.

Definition at line 324 of file PySimulator.cpp.

Definition at line 314 of file PySimulator.cpp.

Definition at line 309 of file PySimulator.cpp.

void PySimulator::setUseBBox ( bool  flag)

Definition at line 335 of file PySimulator.cpp.

Definition at line 340 of file PySimulator.cpp.

Definition at line 304 of file PySimulator.cpp.

Definition at line 209 of file PySimulator.cpp.

void PySimulator::simulate ( double  time)

Definition at line 214 of file PySimulator.cpp.

void PySimulator::start ( double  time)

Definition at line 220 of file PySimulator.cpp.


Member Data Documentation

Reimplemented from Simulator.

Definition at line 44 of file PySimulator.h.

Definition at line 47 of file PySimulator.h.

double PySimulator::maxLogLen [private]

Definition at line 49 of file PySimulator.h.

Reimplemented from Simulator.

Definition at line 45 of file PySimulator.h.

bool PySimulator::useBBox [private]

Definition at line 48 of file PySimulator.h.

Definition at line 46 of file PySimulator.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