MeVisLab Resolution Independence API
XVInventorGUIWrapper.h File Reference

Go to the source code of this file.

Functions

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 InvRunMainLoop ()
 enter the runloop of the Open Inventor gui toolkit (either SoQt or SoWin) only returns after closing of application
 
INVENTORGUIWRAPPER_API void * InvViewerNodeCreateViewer (void *node, void *window, void *scene)
 Inventor SoViewerNode (unused)
 
INVENTORGUIWRAPPER_API int InvViewerNodeIsViewerCreated (void *node)
 check if a viewer is allready created on that node
 
INVENTORGUIWRAPPER_API void InvViewerNodeDeleteViewer (void *node, void *viewer)
 delete the viewer
 
INVENTORGUIWRAPPER_API void InvViewerNodeSetKeyCB (void *node, InvKeyPressedCB *cb, void *data)
 set a keyboard callback (deprecated ILAB4)
 
INVENTORGUIWRAPPER_API void InvViewerNodeSetGenerateMovieCB (void *node, InvGenerateMovieCB *cb, void *data)
 set generate movie cb
 
INVENTORGUIWRAPPER_API void InvViewerNodeSetHandleEventCB (void *node, InvHandleEventCB *cb, void *data)
 set a event callback on the viewer
 
INVENTORGUIWRAPPER_API void InvViewerNodeSyncFromViewerNode (void *dst, void *src)
 sync viewer with other viewer of the same type
 

Function Documentation

◆ 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.

Inventor General Init and methods init SoQt and return a hwnd or QWidget window

◆ InvRunMainLoop()

INVENTORGUIWRAPPER_API void InvRunMainLoop ( )

enter the runloop of the Open Inventor gui toolkit (either SoQt or SoWin) only returns after closing of application

◆ InvViewerNodeCreateViewer()

INVENTORGUIWRAPPER_API void * InvViewerNodeCreateViewer ( void * node,
void * window,
void * scene )

Inventor SoViewerNode (unused)

create a SoViewer node in given parent window and with scene as Inventor scene (window is a HWND on SoWin and QtWidget on SoQt)

◆ InvViewerNodeDeleteViewer()

INVENTORGUIWRAPPER_API void InvViewerNodeDeleteViewer ( void * node,
void * viewer )

delete the viewer

◆ InvViewerNodeIsViewerCreated()

INVENTORGUIWRAPPER_API int InvViewerNodeIsViewerCreated ( void * node)

check if a viewer is allready created on that node

◆ InvViewerNodeSetGenerateMovieCB()

INVENTORGUIWRAPPER_API void InvViewerNodeSetGenerateMovieCB ( void * node,
InvGenerateMovieCB * cb,
void * data )

set generate movie cb

◆ InvViewerNodeSetHandleEventCB()

INVENTORGUIWRAPPER_API void InvViewerNodeSetHandleEventCB ( void * node,
InvHandleEventCB * cb,
void * data )

set a event callback on the viewer

◆ InvViewerNodeSetKeyCB()

INVENTORGUIWRAPPER_API void InvViewerNodeSetKeyCB ( void * node,
InvKeyPressedCB * cb,
void * data )

set a keyboard callback (deprecated ILAB4)

◆ InvViewerNodeSyncFromViewerNode()

INVENTORGUIWRAPPER_API void InvViewerNodeSyncFromViewerNode ( void * dst,
void * src )

sync viewer with other viewer of the same type