MeVisLab Resolution Independence API
XVInventorGUIWrapper.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#ifndef XVINVENTOR_GUIWRAPPER_H
14#define XVINVENTOR_GUIWRAPPER_H
15
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#include "XVcallbacks.h"
25
26#ifdef __cplusplus
27#ifndef ML_DISABLE_CPP
28#define ML_DISABLE_CPP
29#endif
30#endif
31
32#ifdef __cplusplus
33#undef ML_DISABLE_CPP
34#endif
35
37 /* Nobody seems to use this...
39 INVENTORGUIWRAPPER_API void* InvGetDefaultDisplay();
40 */
42 INVENTORGUIWRAPPER_API void* InvInitToolkit(int argc, char** argv, const char* name);
46
48
50
52 INVENTORGUIWRAPPER_API void* InvViewerNodeCreateViewer(void* node,void* window, void* scene);
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif
#define INVENTORGUIWRAPPER_API
Library initialization interface of the inventor GUI wrapper.
INVENTORGUIWRAPPER_API void InvViewerNodeSetGenerateMovieCB(void *node, InvGenerateMovieCB *cb, void *data)
set generate movie cb
INVENTORGUIWRAPPER_API void InvViewerNodeSyncFromViewerNode(void *dst, void *src)
sync viewer with other viewer of the same type
INVENTORGUIWRAPPER_API void InvViewerNodeSetKeyCB(void *node, InvKeyPressedCB *cb, void *data)
set a keyboard callback (deprecated ILAB4)
INVENTORGUIWRAPPER_API void InvRunMainLoop()
enter the runloop of the Open Inventor gui toolkit (either SoQt or SoWin) only returns after closing ...
INVENTORGUIWRAPPER_API int InvViewerNodeIsViewerCreated(void *node)
check if a viewer is allready created on that node
INVENTORGUIWRAPPER_API void InvViewerNodeSetHandleEventCB(void *node, InvHandleEventCB *cb, void *data)
set a event callback on the viewer
INVENTORGUIWRAPPER_API void * InvViewerNodeCreateViewer(void *node, void *window, void *scene)
Inventor SoViewerNode (unused)
INVENTORGUIWRAPPER_API void * InvInitToolkit(int argc, char **argv, const char *name)
This file defines a C Wrapper for Open Inventor to be used from MeVisLab.
INVENTORGUIWRAPPER_API void InvViewerNodeDeleteViewer(void *node, void *viewer)
delete the viewer
void InvGenerateMovieCB(void *data, void *component, const char *name, const char *extension, int count, float framerate, const char *targetFile)
Callback used for movie generation.
Definition XVcallbacks.h:34
int InvKeyPressedCB(void *data, void *component, void *message)
Callback used for key pressed forwarding (return 1 if used, 0 else) (deprecated!)
Definition XVcallbacks.h:26
int InvHandleEventCB(void *data, void *component, void *message)
Callback used for event handling of viewers (return 1 if handled, 0 else) this replaces the above Inv...
Definition XVcallbacks.h:31