#include <PySimulator.h>
Public Member Functions | |
void | addCollisionCheckPair (PyBody *b1, PyBody *b2) |
PyObject * | bodies () |
void | capture (std::string) |
void | clear () |
PyBody * | createBody (std::string name) |
void | endless (bool flag) |
PyBody * | getBody (std::string name) |
void | initRTCmanager () |
void | initRTCmanager (PyObject *pyo) |
void | initRTCmanager (int argc, char **argv) |
void | initViewer () |
PyBody * | loadBody (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< SceneState > | log |
RTC::Manager * | manager |
double | maxLogLen |
GLscene | scene |
bool | useBBox |
SDLwindow | window |
Definition at line 10 of file PySimulator.h.
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.
void PySimulator::addCollisionCheckPair | ( | PyBody * | b1, |
PyBody * | b2 | ||
) |
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.
unsigned int PySimulator::logLength | ( | ) |
Definition at line 294 of file PySimulator.cpp.
double PySimulator::maxLogLength | ( | ) |
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.
void PySimulator::setMaxLogLength | ( | double | len | ) |
Definition at line 314 of file PySimulator.cpp.
void PySimulator::setShowSensors | ( | bool | flag | ) |
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.
bool PySimulator::showSensors | ( | ) |
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.
LogManager<SceneState> PySimulator::log [private] |
Reimplemented from Simulator.
Definition at line 44 of file PySimulator.h.
RTC::Manager* PySimulator::manager [private] |
Definition at line 47 of file PySimulator.h.
double PySimulator::maxLogLen [private] |
Definition at line 49 of file PySimulator.h.
GLscene PySimulator::scene [private] |
Reimplemented from Simulator.
Definition at line 45 of file PySimulator.h.
bool PySimulator::useBBox [private] |
Definition at line 48 of file PySimulator.h.
SDLwindow PySimulator::window [private] |
Definition at line 46 of file PySimulator.h.