MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
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
18
#include "
InventorGUIWrapperDllInit.h
"
19
20
#ifdef __cplusplus
21
extern
"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);
45
INVENTORGUIWRAPPER_API
void
InvRunMainLoop
();
46
48
50
53
INVENTORGUIWRAPPER_API
void
*
InvViewerNodeCreateViewer
(
void
* node,
void
* window,
void
* scene);
55
INVENTORGUIWRAPPER_API
int
InvViewerNodeIsViewerCreated
(
void
* node);
57
INVENTORGUIWRAPPER_API
void
InvViewerNodeDeleteViewer
(
void
* node,
void
* viewer);
59
INVENTORGUIWRAPPER_API
void
InvViewerNodeSetGenerateMovieCB
(
void
* node,
InvGenerateMovieCB
* cb,
void
* data);
61
INVENTORGUIWRAPPER_API
void
InvViewerNodeSetHandleEventCB
(
void
* node,
InvHandleEventCB
* cb,
void
* data);
63
INVENTORGUIWRAPPER_API
void
InvViewerNodeSyncFromViewerNode
(
void
* dst,
void
* src);
65
66
#ifdef __cplusplus
67
}
68
#endif
69
70
#endif
InventorGUIWrapperDllInit.h
INVENTORGUIWRAPPER_API
#define INVENTORGUIWRAPPER_API
Definition
InventorGUIWrapperDllInit.h:20
InvViewerNodeSetGenerateMovieCB
INVENTORGUIWRAPPER_API void InvViewerNodeSetGenerateMovieCB(void *node, InvGenerateMovieCB *cb, void *data)
Sets generate movie callback.
InvViewerNodeSyncFromViewerNode
INVENTORGUIWRAPPER_API void InvViewerNodeSyncFromViewerNode(void *dst, void *src)
Syncs viewer with other viewer of the same type.
InvRunMainLoop
INVENTORGUIWRAPPER_API void InvRunMainLoop()
InvViewerNodeIsViewerCreated
INVENTORGUIWRAPPER_API int InvViewerNodeIsViewerCreated(void *node)
Checks whether a viewer is already created on that node.
InvViewerNodeSetHandleEventCB
INVENTORGUIWRAPPER_API void InvViewerNodeSetHandleEventCB(void *node, InvHandleEventCB *cb, void *data)
Sets a event callback on the viewer.
InvViewerNodeCreateViewer
INVENTORGUIWRAPPER_API void * InvViewerNodeCreateViewer(void *node, void *window, void *scene)
Inventor SoViewerNode (unused).
InvInitToolkit
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.
InvViewerNodeDeleteViewer
INVENTORGUIWRAPPER_API void InvViewerNodeDeleteViewer(void *node, void *viewer)
Deletes the viewer.
XVcallbacks.h
InvGenerateMovieCB
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:29
InvHandleEventCB
int InvHandleEventCB(void *data, void *component, void *message)
Definition
XVcallbacks.h:26
MeVis
Foundation
Sources
MLInventorGUIBinding
XVInventorGUIWrapper.h
Generated by
1.18.0