Ticket #111 (closed: fixed)
Can we bind through python and C++ to the same instance of the same DLL?
Reported by: | Nick Draper | Owned by: | Matt Clarke |
---|---|---|---|
Priority: | major | Milestone: | Iteration 7 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description (last modified by Nick Draper) (diff)
This would be really good if we could!
The current interface through python will work for running algorithms and extracting data for plotting.
However we also have a requirement to display the internal geometry of the instrument in an OpenGL 3D view. This would require access to the geometry objects of the instrument. while we could add these to the Python API it would be quite a lot of classes, and performance extracting the data might be a problem.
If we could have a C++ and Python binding to the same in memory instance of Mantid then we could issue commands through Python and extract the data through C++. I think this would ive us the best of both worlds, I'm just not sure if it is possible.