|
AGXDynamics
2.31.1.0
|
#include <agx/config/AGX_USE_LUA.h>#include <agxOSG/export.h>#include <string>#include <agx/PushDisableWarnings.h>#include <osgDB/ReadFile>#include <agx/PopDisableWarnings.h>#include <agx/Math.h>#include <agxSDK/Simulation.h>Go to the source code of this file.
Namespaces | |
| agxOSG | |
| The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph. | |
| agxSDK | |
| The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simulation system including Material, event listeners etc. | |
Functions | |
| AGXOSG_EXPORT bool | agxOSG::executeScript (const std::string &filename, const std::string &function, agxSDK::Simulation *simulation, agxOSG::ExampleApplication *application, osg::Group *root) |
| Execute a named function in a lua script file. More... | |
| AGXOSG_EXPORT bool | agxOSG::executeScriptString (const std::string &script, const std::string &function, agxSDK::Simulation *simulation, agxOSG::ExampleApplication *application, osg::Group *root, std::string &errorMessage) |
| Execute a named function in a lua script. More... | |
| AGXOSG_EXPORT std::string | agxOSG::readScriptError () |
| Checks if there were any error messages when a lua script was executed. More... | |
| AGXOSG_EXPORT void | agxOSG::resetScriptError () |
| Resets the script error to the empty string. More... | |