17 #ifndef AGXOSG_PYTHONSCRIPT_H
18 #define AGXOSG_PYTHONSCRIPT_H
20 #include <agx/config/AGX_USE_PYTHON.h>
25 #include <osgDB/ReadFile>
43 class ExampleApplication;
49 bool executePythonScriptImpl(const std::
string& filenameOrScript,
50 const std::
string& function,
51 agxSDK::Simulation *simulation,
52 agxOSG::ExampleApplication* application,
55 std::
string& errorMessage);
86 AGXOSG_EXPORT bool executePythonScript(const std::
string& filename,
87 const std::
string& function,
88 agxSDK::Simulation *simulation,
89 agxOSG::ExampleApplication* application,
108 AGXOSG_EXPORT bool executePythonScriptString(const std::
string& script,
109 const std::
string& function,
110 agxSDK::Simulation *simulation,
111 agxOSG::ExampleApplication* application,
113 std::
string& errorMessage);
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
AGXCORE_EXPORT Component * root()