|
| PyHeliosSimulation (std::string surveyPath, std::string assetsPath="assets/", std::string outputPath="output/", size_t numThreads=0, bool lasOutput=false, bool zipOutput=false) |
| Build a PyHeliosSimulation instance. More...
|
|
bool | isStarted () |
| Check if the simulation has been started or not. More...
|
|
bool | isPaused () |
| Check if the simulation has been paused or not. More...
|
|
bool | isStopped () |
| Check if the simulation has been stopped or not. More...
|
|
bool | isFinished () |
| Check if the simulation has finished or not. More...
|
|
bool | isRunning () |
| Check if the simulation is running or not. More...
|
|
std::string | getSurveyPath () |
| Obtain the survey path used by the simulation. More...
|
|
std::string | getAssetsPath () |
| Obtain the path to assets directory used by the simulation. More...
|
|
Survey & | getSurvey () |
| Obtain the survey used by the simulation. More...
|
|
Scanner & | getScanner () |
| Obtain the scanner used by the simulation. More...
|
|
PyPlatformWrapper * | getPlatform () |
| Obtain the platform used by the simulation. More...
|
|
PySceneWrapper * | getScene () |
|
int | getNumLegs () |
| Obtain the number of legs. More...
|
|
Leg & | getLeg (int index) |
| Obtain leg at given index. More...
|
|
void | removeLeg (int index) |
| Remove leg at given index. More...
|
|
Leg & | newLeg (int index) |
| Create a new empty leg. More...
|
|
size_t | getSimFrequency () |
| Obtain simulation frequency. More...
|
|
size_t | getNumThreads () |
| Obtain the number of threads. More...
|
|
void | setNumThreads (size_t numThreads) |
| Set the number of threads.
|
|
void | setSimFrequency (size_t simFrequency) |
| Set the simulation frequency.
|
|
void | setCallback (PyObject *pyCallback) |
| Set the simulation callback to specified python object functor.
|
|
void | clearCallback () |
| Clear simulation callback so it will no longer be invoked.
|
|
void | setLasOutput (double lasOutput) |
|
double | getLasOutput () |
|
double | getZipOutput () |
|
void | setZipOutput (bool zipOutput) |
|
void | start () |
| Start the simulation if possible. Otherwise, PyHeliosException will be thrown.
|
|
void | pause () |
| Pause the simulation if possible. Otherwise, PyHeliosException will be thrown.
|
|
void | stop () |
| Stop the simulation if possible. Otherwise, PyHeliosException will be thrown.
|
|
void | resume () |
| Resume the simulation if possible. Otherwise, PyHeliosException will be thrown.
|
|
PyHeliosOutputWrapper * | join () |
| Cause caller thread to wait until simulation has finished.
|
|
void | loadSurvey (bool legNoiseDisabled=false, bool rebuildScene=false, bool writeWaveform=false, bool calcEchowidth=false, bool fullWaveNoise=false, bool platformNoiseDisabled=true) |
| Load a survey XML file. More...
|
|
void | addRotateFilter (double q0, double q1, double q2, double q3, std::string partId) |
|
void | addScaleFilter (double scaleFactor, std::string partId) |
|
void | addTranslateFilter (double x, double y, double z, std::string partId) |
|
PyHeliosSimulation * | copy () |
|
- Author
- Alberto M. Esmoris Pena
- Version
- 1.0
Helios++ simulation wrapped to be used from Python