SoWinClipboardCopy Method (SoNode, SbTime) |
Copies the passed scene graph object (node, path, or pathlist) to the clipboard using the current clipboard format.
Namespace: OIV.Inventor.Win
The eventTime should be the time returned by the system routine time (), and can be used to insure synchronization of copy and paste requests.
For example,
#include <windows.h> #include <time.h> #include <...> ... (necessary Inventor includes) void SomeFunc(some_args) { HWND hwnd; ... SoNode *the_node ... SoWinClipboard the_clipboard(hwnd); ... the_clipboard.copy(the_node, time(NULL)); ... }