Taking a Snapshot

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Yu-Wei Chen
Posts: 13
Joined: Wed Jan 08, 2014 1:13 am

Taking a Snapshot

Post by Yu-Wei Chen » Sun Apr 13, 2014 10:46 pm

According to this document http://simtk-confluence.stanford.edu:80 ... ing+Movies, I can click the camera button to save the view as image. But how to use API to invoke this action?

For example, if I type gfxWindowSendKey('x') in Scripting Shell Window, the action is the same as I click the +x view button.

Thanks for help.

Best regards,
Yu-Wei

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Taking a Snapshot

Post by jimmy d » Mon Apr 14, 2014 12:50 pm

Hi Yu-Wei,

Many visualizer functions haven't been exposed for use from the API. We are working on updating the OpenSim visualizer and plan to have these functions available in the future.

Cheers,
-james

User avatar
Yu-Wei Chen
Posts: 13
Joined: Wed Jan 08, 2014 1:13 am

Re: Taking a Snapshot

Post by Yu-Wei Chen » Mon Apr 14, 2014 7:27 pm

Hi, James,

Thanks for your reply. I expect there are more API functions in the future. Thanks. :D

Best regards,
Yu-Wei

POST REPLY