MeVisLab Toolbox Reference
XVInventorWrapper.h File Reference

Go to the source code of this file.

Typedefs

typedef void InvSensorCB(void *data, void *sensor)
 This file defines a C Wrapper for Open Inventor to be used from MeVisLab.
 

Functions

INVENTORWRAPPER_API int InvInit (void *window)
 
INVENTORWRAPPER_API int InvInitInventor ()
 initialize the Open Inventor base library (no GUI)
 
INVENTORWRAPPER_API int InvLoadLibrary (const char *name)
 load the given shared library
 
INVENTORWRAPPER_API voidInvCreateNodeFromName (const char *name)
 Inventor SoNode access.
 
INVENTORWRAPPER_API const charInvNodeGetType (void *node)
 get the type of a node as string
 
INVENTORWRAPPER_API int InvNodeIsOverride (void *node)
 get the override flag of a node (0 == false, 1 == true)
 
INVENTORWRAPPER_API void InvNodeSetOverride (void *node, int flag)
 set the override flag of a node (0 == false, 1 == true)
 
INVENTORWRAPPER_API void InvBaseSetName (void *base, const char *name)
 set the name of the node/engine
 
INVENTORWRAPPER_API size_t InvNodeGetValuesSize (void *node)
 get the size that is needed to store the node to a buffer
 
INVENTORWRAPPER_API size_t InvNodeGetValues (void *node, char *values, size_t size)
 stores node to a buffer, returns the needed size
 
INVENTORWRAPPER_API void InvNodeSetValues (void *node, const char *values)
 set values of a node in inventor file format
 
INVENTORWRAPPER_API voidInvNodeCopy (void *node)
 copy the given node
 
INVENTORWRAPPER_API void InvNodeSync (void *src, void *dest)
 sync two nodes
 
INVENTORWRAPPER_API void InvNodeEnableNotify (void *node)
 enable notify of a node
 
INVENTORWRAPPER_API void InvNodeDisableNotify (void *node)
 disable notify of a node
 
INVENTORWRAPPER_API int InvNodeIsDerivedFrom (void *node, const char *superclass)
 check if node is derived from superclass
 
INVENTORWRAPPER_API void InvNodeUnref (void *node)
 unref the node
 
INVENTORWRAPPER_API void InvNodeRef (void *node)
 ref the node
 
INVENTORWRAPPER_API const charInvNodeGetName (void *node)
 get the name of the node
 
INVENTORWRAPPER_API void InvNodeSetIndexedFieldValue (void *node, int index, const char *value)
 set field value by index of the field
 
INVENTORWRAPPER_API const charInvNodeGetIndexedFieldName (void *node, int index)
 get name of field at index
 
INVENTORWRAPPER_API const charInvNodeGetFieldName (void *node, void *field)
 get name of field (fields don't know their name, so you must pass the node also)
 
INVENTORWRAPPER_API int InvNodeGetNumFields (void *node)
 get number of fields in node
 
INVENTORWRAPPER_API void InvNodeSetFieldValue (void *node, const char *name, const char *value)
 set value of given field
 
INVENTORWRAPPER_API size_t InvNodeGetFieldValue (void *node, const char *name, char *value, size_t size)
 get value of given field, returns required buffer size
 
INVENTORWRAPPER_API voidInvNodeGetField (void *node, const char *name)
 get the field of a node by its name
 
INVENTORWRAPPER_API voidInvNodeGetIndexedField (void *node, int index)
 get the field at index
 
INVENTORWRAPPER_API voidInvDBCreateGlobalField (const char *name, const char *type)
 Inventor Fields.
 
INVENTORWRAPPER_API voidInvDBGetGlobalField (const char *name)
 get a global field
 
INVENTORWRAPPER_API const charInvFieldGetType (void *field)
 get type of field
 
INVENTORWRAPPER_API void InvFieldSetValue (void *field, const char *value)
 set value of field
 
INVENTORWRAPPER_API size_t InvFieldGetValueSize (void *field)
 get value of field, returns required buffer size
 
INVENTORWRAPPER_API size_t InvFieldGetValue (void *field, char *value, size_t size)
 get value of a field, returns the size needed for the value (if it doesn't fit, data is truncated)
 
INVENTORWRAPPER_API int InvFieldConnectFrom (void *field, void *srcfield)
 connect from given field
 
INVENTORWRAPPER_API int InvFieldConnectFromEngineOutput (void *field, void *output)
 connect from engine
 
INVENTORWRAPPER_API void InvFieldDisconnect (void *field)
 disconnect field
 
INVENTORWRAPPER_API int InvFieldGetNumEnums (void *field)
 get number of enum values of field
 
INVENTORWRAPPER_API const charInvFieldGetEnumName (void *field, int index, int *value)
 get enum name and value of field's enum value at index
 
INVENTORWRAPPER_API void InvFieldTouch (void *field)
 touch the field
 
INVENTORWRAPPER_API void InvFieldSetIgnored (void *field, int ignore)
 set the ignored state of field
 
INVENTORWRAPPER_API int InvFieldIsIgnored (void *field)
 check the ignored state of field
 
INVENTORWRAPPER_API voidInvNodeFieldGetNodePointer (void *field)
 get pointer to the node in a SoNodeField, may be NULL
 
INVENTORWRAPPER_API void InvNodeFieldSetNodePointer (void *field, void *node)
 set pointer of the node in a SoNodeField, may be NULL
 
INVENTORWRAPPER_API void InvSFStringSetValue (void *field, const char *value)
 set the string value of a SoSFString field
 
INVENTORWRAPPER_API void InvMFieldSetValue (void *field, int index, const char *value)
 set the value of a SoMField
 
INVENTORWRAPPER_API size_t InvMFieldGetValueSize (void *field, int index)
 get the needed buffer size for the value of a SOMField field
 
INVENTORWRAPPER_API size_t InvMFieldGetValue (void *field, int index, char *value, size_t size)
 get the value of a SoMField, returns the size needed for the value (if it doesn't fit, data is truncated)
 
INVENTORWRAPPER_API int InvMFieldGetNumValues (void *field)
 get the number of values in a SoMField
 
INVENTORWRAPPER_API voidInvMFVec2fStartEditing (void *field)
 start editing SoMFVec2f field
 
INVENTORWRAPPER_API void InvMFVec2fFinishEditing (void *field)
 stop editing SoMFVec2f field
 
INVENTORWRAPPER_API voidInvMFVec2dStartEditing (void *field)
 start editing SoMFVec2d field
 
INVENTORWRAPPER_API void InvMFVec2dFinishEditing (void *field)
 stop editing SoMFVec2d field
 
INVENTORWRAPPER_API voidInvMFVec3fStartEditing (void *field)
 stop editing SoMFVec3f field
 
INVENTORWRAPPER_API void InvMFVec3fFinishEditing (void *field)
 start editing SoMFVec3f field
 
INVENTORWRAPPER_API voidInvMFVec3dStartEditing (void *field)
 stop editing SoMFVec3d field
 
INVENTORWRAPPER_API void InvMFVec3dFinishEditing (void *field)
 start editing SoMFVec3d field
 
INVENTORWRAPPER_API voidInvMFVec4fStartEditing (void *field)
 stop editing SoMFVec4f field
 
INVENTORWRAPPER_API void InvMFVec4fFinishEditing (void *field)
 start editing SoMFVec4f field
 
INVENTORWRAPPER_API voidInvMFVec4dStartEditing (void *field)
 stop editing SoMFVec4d field
 
INVENTORWRAPPER_API void InvMFVec4dFinishEditing (void *field)
 start editing SoMFVec4d field
 
INVENTORWRAPPER_API void InvMFieldSetNum (void *field, int size)
 set number of elements in SoMFField
 
INVENTORWRAPPER_API void InvSbVec4fSetValue (void *vecs, int index, const float value[4])
 Set value of SbVec4f array.
 
INVENTORWRAPPER_API void InvSbVec4dSetValue (void *vecs, int index, const double value[4])
 Set value of SbVec4d array.
 
INVENTORWRAPPER_API void InvSbVec3fSetValue (void *vecs, int index, const float value[3])
 Set value of SbVec3f array.
 
INVENTORWRAPPER_API void InvSbVec3dSetValue (void *vecs, int index, const double value[3])
 Set value of SbVec3d array.
 
INVENTORWRAPPER_API void InvSbVec2fSetValue (void *vecs, int index, const float value[2])
 Set value of SbVec2f array.
 
INVENTORWRAPPER_API void InvSbVec2dSetValue (void *vecs, int index, const double value[2])
 Set value of SbVec2d array.
 
INVENTORWRAPPER_API voidInvEngineGetOutput (void *engine, const char *name)
 Inventor Engines.
 
INVENTORWRAPPER_API int InvEngineGetNumOutputs (void *engine)
 get number of outputs
 
INVENTORWRAPPER_API voidInvEngineGetIndexedOutput (void *engine, int index)
 get output at index
 
INVENTORWRAPPER_API const charInvOutputGetType (void *output)
 get type string of output
 
INVENTORWRAPPER_API const charInvEngineGetOutputName (void *engine, void *output)
 get name of output
 
INVENTORWRAPPER_API const charInvEngineGetIndexedOutputName (void *engine, int index)
 get name of output at index
 
INVENTORWRAPPER_API void InvMLImageFieldConnectFromML (void *field, void *mlConnector)
 Inventor SoSFMLImage access.
 
INVENTORWRAPPER_API void InvMLImageFieldDisconnectFromML (void *field)
 disconnect given SoSFMLImage field if it was connected to ML
 
INVENTORWRAPPER_API void InvXVImageFieldConnectFromML (void *field, void *mlConnector)
 deprecated method, use the InvMLImageFieldConnectFromML
 
INVENTORWRAPPER_API void InvXVImageFieldDisconnectFromML (void *field)
 deprecated method, use the InvMLImageFieldDisconnectFromML
 
INVENTORWRAPPER_API voidInvCreateFieldSensor (void *target, InvSensorCB *callback, int priority)
 Inventor Sensors.
 
INVENTORWRAPPER_API void InvDeleteFieldSensor (void *sensor)
 delete field sensor
 
INVENTORWRAPPER_API voidInvFieldSensorGetField (void *sensor)
 get attached field
 
INVENTORWRAPPER_API void InvFieldSensorAttach (void *sensor, void *field)
 attach field to sensor
 
INVENTORWRAPPER_API void InvFieldSensorDetach (void *sensor)
 detach field from sensor
 
INVENTORWRAPPER_API void InvFieldSensorSetPriority (void *sensor, int priority)
 set priority of sensor
 
INVENTORWRAPPER_API int InvFieldSensorGetPriority (void *sensor)
 get priority of sensor
 
INVENTORWRAPPER_API void InvGroupAddChild (void *group, void *child)
 Inventor SoGroup.
 
INVENTORWRAPPER_API void InvGroupInsertChild (void *group, void *child, int index)
 insert a child to a SoGroup derived node
 
INVENTORWRAPPER_API void InvGroupReplaceChild (void *group, void *newchild, int index)
 replace a child at index with a newchild in a SoGroup derived node
 
INVENTORWRAPPER_API void InvGroupRemoveChild (void *group, void *child)
 remove child node from SoGroup
 
INVENTORWRAPPER_API void InvGroupRemoveChildAtIndex (void *group, int index)
 remove child at index node from SoGroup
 
INVENTORWRAPPER_API void InvGroupRemoveAllChildren (void *group)
 remove all children from SoGroup
 
INVENTORWRAPPER_API int InvGroupGetNumChildren (void *group)
 get number of children in SoGroup (not recursive)
 
INVENTORWRAPPER_API voidInvGroupGetChildAtIndex (void *group, int index)
 get child at index of SoGroup node
 
INVENTORWRAPPER_API voidInvSFMLConnectorGetPtr (void *field)
 Inventor ML Fields.
 
INVENTORWRAPPER_API voidInvSFMLBaseGetPtr (void *field)
 get ml::Base pointer stored in SoSFMLBase field (may be NULL)
 
INVENTORWRAPPER_API void InvSFMLBaseSetPtr (void *field, void *base)
 
INVENTORWRAPPER_API voidInvCreateTimerSensor (void *target, InvSensorCB *callback)
 Timer sensors.
 
INVENTORWRAPPER_API void InvDeleteTimerSensor (void *timer)
 delete a timer sensor
 
INVENTORWRAPPER_API void InvTimerSensorSetInterval (void *timer, MLint32 sec, MLint32 usec)
 set the interval of the sensor
 
INVENTORWRAPPER_API void InvTimerSensorSchedule (void *timer)
 start the timer
 
INVENTORWRAPPER_API void InvTimerSensorUnschedule (void *timer)
 stop the timer
 
INVENTORWRAPPER_API voidInvCreateSceneFromFile (const char *filename)
 Scene creation and writing (ILAB4 only)
 
INVENTORWRAPPER_API voidInvCreateSceneFromString (const char *string)
 Create a scene from a string, returns a SoNode.
 
INVENTORWRAPPER_API voidInvCreateSceneFromBuffer (void *buffer, size_t size)
 Create a scene from a given buffer (no null terminator needed)
 
INVENTORWRAPPER_API voidInvCreateWriteAction ()
 create a write action
 
INVENTORWRAPPER_API void InvDeleteWriteAction (void *action)
 delete the write action
 
INVENTORWRAPPER_API void InvWriteActionUseBuffer (void *action)
 set write action to use a buffer
 
INVENTORWRAPPER_API void InvWriteActionApplyNode (void *action, void *node)
 apply write action to given node
 
INVENTORWRAPPER_API voidInvWriteActionGetBuffer (void *action, size_t *size)
 get the buffer of the write action (needs a call to InvWriteActionUseBuffer)
 
INVENTORWRAPPER_API int InvSFEnumFieldGetValue (void *field)
 Fast field access methods: (be carefull to call only with correct types)
 
INVENTORWRAPPER_API int InvSFInt32FieldGetValue (void *field)
 
INVENTORWRAPPER_API unsigned int InvSFUInt32FieldGetValue (void *field)
 
INVENTORWRAPPER_API float InvSFFloatFieldGetValue (void *field)
 
INVENTORWRAPPER_API double InvSFDoubleFieldGetValue (void *field)
 
INVENTORWRAPPER_API int InvSFBoolFieldGetValue (void *field)
 
INVENTORWRAPPER_API void InvSFEnumFieldSetValue (void *field, int value)
 
INVENTORWRAPPER_API void InvSFInt32FieldSetValue (void *field, int value)
 
INVENTORWRAPPER_API void InvSFUInt32FieldSetValue (void *field, unsigned int value)
 
INVENTORWRAPPER_API void InvSFFloatFieldSetValue (void *field, float value)
 
INVENTORWRAPPER_API void InvSFDoubleFieldSetValue (void *field, double value)
 
INVENTORWRAPPER_API void InvSFBoolFieldSetValue (void *field, int value)
 
INVENTORWRAPPER_API void InvSFVec2fGetValue (void *field, float *values)
 
INVENTORWRAPPER_API void InvSFVec3fGetValue (void *field, float *values)
 
INVENTORWRAPPER_API void InvSFVec4fGetValue (void *field, float *values)
 
INVENTORWRAPPER_API void InvSFVec2fSetValue (void *field, const float *values)
 
INVENTORWRAPPER_API void InvSFVec3fSetValue (void *field, const float *values)
 
INVENTORWRAPPER_API void InvSFVec4fSetValue (void *field, const float *values)
 
INVENTORWRAPPER_API void InvSFVec2dGetValue (void *field, double *values)
 
INVENTORWRAPPER_API void InvSFVec3dGetValue (void *field, double *values)
 
INVENTORWRAPPER_API void InvSFVec4dGetValue (void *field, double *values)
 
INVENTORWRAPPER_API void InvSFVec2dSetValue (void *field, const double *values)
 
INVENTORWRAPPER_API void InvSFVec3dSetValue (void *field, const double *values)
 
INVENTORWRAPPER_API void InvSFVec4dSetValue (void *field, const double *values)
 
INVENTORWRAPPER_API void InvSFColorGetValue (void *field, float *values)
 
INVENTORWRAPPER_API void InvSFRotationGetValue (void *field, float *values)
 
INVENTORWRAPPER_API void InvSFPlaneGetValue (void *field, float *values)
 
INVENTORWRAPPER_API void InvSFColorSetValue (void *field, const float *values)
 
INVENTORWRAPPER_API void InvSFRotationSetValue (void *field, const float *values)
 
INVENTORWRAPPER_API void InvSFPlaneSetValue (void *field, const float *values)
 
INVENTORWRAPPER_API void InvSFRotationdGetValue (void *field, double *values)
 
INVENTORWRAPPER_API void InvSFPlanedGetValue (void *field, double *values)
 
INVENTORWRAPPER_API void InvSFRotationdSetValue (void *field, const double *values)
 
INVENTORWRAPPER_API void InvSFPlanedSetValue (void *field, const double *values)
 
typedef void(* SensorManagerCB) (void *)
 Inventor SensorManager access (ILAB4 only)
 
INVENTORWRAPPER_API void InvSensorManagerSetChangedCB (SensorManagerCB func, void *data)
 set the sensor manager changed cb, called whenever the sensor manager notes a change
 
INVENTORWRAPPER_API SensorManagerCB InvSensorManagerGetChangedCB (void **data)
 get the current sensor manager callback
 
INVENTORWRAPPER_API int InvSensorManagerIsTimerSensorPending (double *interval)
 check if a timer sensor is pending
 
INVENTORWRAPPER_API int InvSensorManagerIsDelaySensorPending ()
 check if a delay queue sensor is pending
 
INVENTORWRAPPER_API unsigned long InvSensorManagerGetDelaySensorTimeout ()
 get the timeout in ms that the delay queue should be processed
 
INVENTORWRAPPER_API void InvSensorManagerProcessTimerQueue ()
 process the timer queue
 
INVENTORWRAPPER_API void InvSensorManagerProcessDelayQueue (int idle)
 process the delay queue (idle==0 means not idle, idle==1 means to schedule idle sensors also)
 

Typedef Documentation

◆ InvSensorCB

typedef void InvSensorCB(void *data, void *sensor)

This file defines a C Wrapper for Open Inventor to be used from MeVisLab.

Callback used for Inventors SoSensors

Definition at line 44 of file XVInventorWrapper.h.

◆ SensorManagerCB

typedef void(* SensorManagerCB) (void *)

Inventor SensorManager access (ILAB4 only)

SensorManager callback

Definition at line 341 of file XVInventorWrapper.h.

Function Documentation

◆ InvBaseSetName()

INVENTORWRAPPER_API void InvBaseSetName ( void * base,
const char * name )

set the name of the node/engine

◆ InvCreateFieldSensor()

INVENTORWRAPPER_API void * InvCreateFieldSensor ( void * target,
InvSensorCB * callback,
int priority )

Inventor Sensors.

create a field sensor

◆ InvCreateNodeFromName()

INVENTORWRAPPER_API void * InvCreateNodeFromName ( const char * name)

Inventor SoNode access.

Create a node (or engine) by it's class name, returns a SoFieldContainer (SoEngine or SoNode)

◆ InvCreateSceneFromBuffer()

INVENTORWRAPPER_API void * InvCreateSceneFromBuffer ( void * buffer,
size_t size )

Create a scene from a given buffer (no null terminator needed)

◆ InvCreateSceneFromFile()

INVENTORWRAPPER_API void * InvCreateSceneFromFile ( const char * filename)

Scene creation and writing (ILAB4 only)

Create a scene from a file, returns a SoNode

◆ InvCreateSceneFromString()

INVENTORWRAPPER_API void * InvCreateSceneFromString ( const char * string)

Create a scene from a string, returns a SoNode.

◆ InvCreateTimerSensor()

INVENTORWRAPPER_API void * InvCreateTimerSensor ( void * target,
InvSensorCB * callback )

Timer sensors.

create a timer sensor

◆ InvCreateWriteAction()

INVENTORWRAPPER_API void * InvCreateWriteAction ( )

create a write action

◆ InvDBCreateGlobalField()

INVENTORWRAPPER_API void * InvDBCreateGlobalField ( const char * name,
const char * type )

Inventor Fields.

create a global field

◆ InvDBGetGlobalField()

INVENTORWRAPPER_API void * InvDBGetGlobalField ( const char * name)

get a global field

◆ InvDeleteFieldSensor()

INVENTORWRAPPER_API void InvDeleteFieldSensor ( void * sensor)

delete field sensor

◆ InvDeleteTimerSensor()

INVENTORWRAPPER_API void InvDeleteTimerSensor ( void * timer)

delete a timer sensor

◆ InvDeleteWriteAction()

INVENTORWRAPPER_API void InvDeleteWriteAction ( void * action)

delete the write action

◆ InvEngineGetIndexedOutput()

INVENTORWRAPPER_API void * InvEngineGetIndexedOutput ( void * engine,
int index )

get output at index

◆ InvEngineGetIndexedOutputName()

INVENTORWRAPPER_API const char * InvEngineGetIndexedOutputName ( void * engine,
int index )

get name of output at index

◆ InvEngineGetNumOutputs()

INVENTORWRAPPER_API int InvEngineGetNumOutputs ( void * engine)

get number of outputs

◆ InvEngineGetOutput()

INVENTORWRAPPER_API void * InvEngineGetOutput ( void * engine,
const char * name )

Inventor Engines.

get output with name

◆ InvEngineGetOutputName()

INVENTORWRAPPER_API const char * InvEngineGetOutputName ( void * engine,
void * output )

get name of output

◆ InvFieldConnectFrom()

INVENTORWRAPPER_API int InvFieldConnectFrom ( void * field,
void * srcfield )

connect from given field

◆ InvFieldConnectFromEngineOutput()

INVENTORWRAPPER_API int InvFieldConnectFromEngineOutput ( void * field,
void * output )

connect from engine

◆ InvFieldDisconnect()

INVENTORWRAPPER_API void InvFieldDisconnect ( void * field)

disconnect field

◆ InvFieldGetEnumName()

INVENTORWRAPPER_API const char * InvFieldGetEnumName ( void * field,
int index,
int * value )

get enum name and value of field's enum value at index

◆ InvFieldGetNumEnums()

INVENTORWRAPPER_API int InvFieldGetNumEnums ( void * field)

get number of enum values of field

◆ InvFieldGetType()

INVENTORWRAPPER_API const char * InvFieldGetType ( void * field)

get type of field

◆ InvFieldGetValue()

INVENTORWRAPPER_API size_t InvFieldGetValue ( void * field,
char * value,
size_t size )

get value of a field, returns the size needed for the value (if it doesn't fit, data is truncated)

◆ InvFieldGetValueSize()

INVENTORWRAPPER_API size_t InvFieldGetValueSize ( void * field)

get value of field, returns required buffer size

◆ InvFieldIsIgnored()

INVENTORWRAPPER_API int InvFieldIsIgnored ( void * field)

check the ignored state of field

◆ InvFieldSensorAttach()

INVENTORWRAPPER_API void InvFieldSensorAttach ( void * sensor,
void * field )

attach field to sensor

◆ InvFieldSensorDetach()

INVENTORWRAPPER_API void InvFieldSensorDetach ( void * sensor)

detach field from sensor

◆ InvFieldSensorGetField()

INVENTORWRAPPER_API void * InvFieldSensorGetField ( void * sensor)

get attached field

◆ InvFieldSensorGetPriority()

INVENTORWRAPPER_API int InvFieldSensorGetPriority ( void * sensor)

get priority of sensor

◆ InvFieldSensorSetPriority()

INVENTORWRAPPER_API void InvFieldSensorSetPriority ( void * sensor,
int priority )

set priority of sensor

◆ InvFieldSetIgnored()

INVENTORWRAPPER_API void InvFieldSetIgnored ( void * field,
int ignore )

set the ignored state of field

◆ InvFieldSetValue()

INVENTORWRAPPER_API void InvFieldSetValue ( void * field,
const char * value )

set value of field

◆ InvFieldTouch()

INVENTORWRAPPER_API void InvFieldTouch ( void * field)

touch the field

◆ InvGroupAddChild()

INVENTORWRAPPER_API void InvGroupAddChild ( void * group,
void * child )

Inventor SoGroup.

add a child to a SoGroup derived node

◆ InvGroupGetChildAtIndex()

INVENTORWRAPPER_API void * InvGroupGetChildAtIndex ( void * group,
int index )

get child at index of SoGroup node

◆ InvGroupGetNumChildren()

INVENTORWRAPPER_API int InvGroupGetNumChildren ( void * group)

get number of children in SoGroup (not recursive)

◆ InvGroupInsertChild()

INVENTORWRAPPER_API void InvGroupInsertChild ( void * group,
void * child,
int index )

insert a child to a SoGroup derived node

◆ InvGroupRemoveAllChildren()

INVENTORWRAPPER_API void InvGroupRemoveAllChildren ( void * group)

remove all children from SoGroup

◆ InvGroupRemoveChild()

INVENTORWRAPPER_API void InvGroupRemoveChild ( void * group,
void * child )

remove child node from SoGroup

◆ InvGroupRemoveChildAtIndex()

INVENTORWRAPPER_API void InvGroupRemoveChildAtIndex ( void * group,
int index )

remove child at index node from SoGroup

◆ InvGroupReplaceChild()

INVENTORWRAPPER_API void InvGroupReplaceChild ( void * group,
void * newchild,
int index )

replace a child at index with a newchild in a SoGroup derived node

◆ InvInit()

INVENTORWRAPPER_API int InvInit ( void * window)

Inventor General Init and methods initialize Open Inventor and the Windows system, on SoWin hwnd is a HWND, on SoQt it is a QWidget

◆ InvInitInventor()

INVENTORWRAPPER_API int InvInitInventor ( )

initialize the Open Inventor base library (no GUI)

◆ InvLoadLibrary()

INVENTORWRAPPER_API int InvLoadLibrary ( const char * name)

load the given shared library

◆ InvMFieldGetNumValues()

INVENTORWRAPPER_API int InvMFieldGetNumValues ( void * field)

get the number of values in a SoMField

◆ InvMFieldGetValue()

INVENTORWRAPPER_API size_t InvMFieldGetValue ( void * field,
int index,
char * value,
size_t size )

get the value of a SoMField, returns the size needed for the value (if it doesn't fit, data is truncated)

◆ InvMFieldGetValueSize()

INVENTORWRAPPER_API size_t InvMFieldGetValueSize ( void * field,
int index )

get the needed buffer size for the value of a SOMField field

◆ InvMFieldSetNum()

INVENTORWRAPPER_API void InvMFieldSetNum ( void * field,
int size )

set number of elements in SoMFField

◆ InvMFieldSetValue()

INVENTORWRAPPER_API void InvMFieldSetValue ( void * field,
int index,
const char * value )

set the value of a SoMField

◆ InvMFVec2dFinishEditing()

INVENTORWRAPPER_API void InvMFVec2dFinishEditing ( void * field)

stop editing SoMFVec2d field

◆ InvMFVec2dStartEditing()

INVENTORWRAPPER_API void * InvMFVec2dStartEditing ( void * field)

start editing SoMFVec2d field

◆ InvMFVec2fFinishEditing()

INVENTORWRAPPER_API void InvMFVec2fFinishEditing ( void * field)

stop editing SoMFVec2f field

◆ InvMFVec2fStartEditing()

INVENTORWRAPPER_API void * InvMFVec2fStartEditing ( void * field)

start editing SoMFVec2f field

◆ InvMFVec3dFinishEditing()

INVENTORWRAPPER_API void InvMFVec3dFinishEditing ( void * field)

start editing SoMFVec3d field

◆ InvMFVec3dStartEditing()

INVENTORWRAPPER_API void * InvMFVec3dStartEditing ( void * field)

stop editing SoMFVec3d field

◆ InvMFVec3fFinishEditing()

INVENTORWRAPPER_API void InvMFVec3fFinishEditing ( void * field)

start editing SoMFVec3f field

◆ InvMFVec3fStartEditing()

INVENTORWRAPPER_API void * InvMFVec3fStartEditing ( void * field)

stop editing SoMFVec3f field

◆ InvMFVec4dFinishEditing()

INVENTORWRAPPER_API void InvMFVec4dFinishEditing ( void * field)

start editing SoMFVec4d field

◆ InvMFVec4dStartEditing()

INVENTORWRAPPER_API void * InvMFVec4dStartEditing ( void * field)

stop editing SoMFVec4d field

◆ InvMFVec4fFinishEditing()

INVENTORWRAPPER_API void InvMFVec4fFinishEditing ( void * field)

start editing SoMFVec4f field

◆ InvMFVec4fStartEditing()

INVENTORWRAPPER_API void * InvMFVec4fStartEditing ( void * field)

stop editing SoMFVec4f field

◆ InvMLImageFieldConnectFromML()

INVENTORWRAPPER_API void InvMLImageFieldConnectFromML ( void * field,
void * mlConnector )

Inventor SoSFMLImage access.

connect given SoSFMLImage \ field from given ML OutputConnector

◆ InvMLImageFieldDisconnectFromML()

INVENTORWRAPPER_API void InvMLImageFieldDisconnectFromML ( void * field)

disconnect given SoSFMLImage field if it was connected to ML

◆ InvNodeCopy()

INVENTORWRAPPER_API void * InvNodeCopy ( void * node)

copy the given node

◆ InvNodeDisableNotify()

INVENTORWRAPPER_API void InvNodeDisableNotify ( void * node)

disable notify of a node

◆ InvNodeEnableNotify()

INVENTORWRAPPER_API void InvNodeEnableNotify ( void * node)

enable notify of a node

◆ InvNodeFieldGetNodePointer()

INVENTORWRAPPER_API void * InvNodeFieldGetNodePointer ( void * field)

get pointer to the node in a SoNodeField, may be NULL

◆ InvNodeFieldSetNodePointer()

INVENTORWRAPPER_API void InvNodeFieldSetNodePointer ( void * field,
void * node )

set pointer of the node in a SoNodeField, may be NULL

◆ InvNodeGetField()

INVENTORWRAPPER_API void * InvNodeGetField ( void * node,
const char * name )

get the field of a node by its name

◆ InvNodeGetFieldName()

INVENTORWRAPPER_API const char * InvNodeGetFieldName ( void * node,
void * field )

get name of field (fields don't know their name, so you must pass the node also)

◆ InvNodeGetFieldValue()

INVENTORWRAPPER_API size_t InvNodeGetFieldValue ( void * node,
const char * name,
char * value,
size_t size )

get value of given field, returns required buffer size

◆ InvNodeGetIndexedField()

INVENTORWRAPPER_API void * InvNodeGetIndexedField ( void * node,
int index )

get the field at index

◆ InvNodeGetIndexedFieldName()

INVENTORWRAPPER_API const char * InvNodeGetIndexedFieldName ( void * node,
int index )

get name of field at index

◆ InvNodeGetName()

INVENTORWRAPPER_API const char * InvNodeGetName ( void * node)

get the name of the node

◆ InvNodeGetNumFields()

INVENTORWRAPPER_API int InvNodeGetNumFields ( void * node)

get number of fields in node

◆ InvNodeGetType()

INVENTORWRAPPER_API const char * InvNodeGetType ( void * node)

get the type of a node as string

◆ InvNodeGetValues()

INVENTORWRAPPER_API size_t InvNodeGetValues ( void * node,
char * values,
size_t size )

stores node to a buffer, returns the needed size

◆ InvNodeGetValuesSize()

INVENTORWRAPPER_API size_t InvNodeGetValuesSize ( void * node)

get the size that is needed to store the node to a buffer

◆ InvNodeIsDerivedFrom()

INVENTORWRAPPER_API int InvNodeIsDerivedFrom ( void * node,
const char * superclass )

check if node is derived from superclass

◆ InvNodeIsOverride()

INVENTORWRAPPER_API int InvNodeIsOverride ( void * node)

get the override flag of a node (0 == false, 1 == true)

◆ InvNodeRef()

INVENTORWRAPPER_API void InvNodeRef ( void * node)

ref the node

◆ InvNodeSetFieldValue()

INVENTORWRAPPER_API void InvNodeSetFieldValue ( void * node,
const char * name,
const char * value )

set value of given field

◆ InvNodeSetIndexedFieldValue()

INVENTORWRAPPER_API void InvNodeSetIndexedFieldValue ( void * node,
int index,
const char * value )

set field value by index of the field

◆ InvNodeSetOverride()

INVENTORWRAPPER_API void InvNodeSetOverride ( void * node,
int flag )

set the override flag of a node (0 == false, 1 == true)

◆ InvNodeSetValues()

INVENTORWRAPPER_API void InvNodeSetValues ( void * node,
const char * values )

set values of a node in inventor file format

◆ InvNodeSync()

INVENTORWRAPPER_API void InvNodeSync ( void * src,
void * dest )

sync two nodes

◆ InvNodeUnref()

INVENTORWRAPPER_API void InvNodeUnref ( void * node)

unref the node

◆ InvOutputGetType()

INVENTORWRAPPER_API const char * InvOutputGetType ( void * output)

get type string of output

◆ InvSbVec2dSetValue()

INVENTORWRAPPER_API void InvSbVec2dSetValue ( void * vecs,
int index,
const double value[2] )

Set value of SbVec2d array.

◆ InvSbVec2fSetValue()

INVENTORWRAPPER_API void InvSbVec2fSetValue ( void * vecs,
int index,
const float value[2] )

Set value of SbVec2f array.

◆ InvSbVec3dSetValue()

INVENTORWRAPPER_API void InvSbVec3dSetValue ( void * vecs,
int index,
const double value[3] )

Set value of SbVec3d array.

◆ InvSbVec3fSetValue()

INVENTORWRAPPER_API void InvSbVec3fSetValue ( void * vecs,
int index,
const float value[3] )

Set value of SbVec3f array.

◆ InvSbVec4dSetValue()

INVENTORWRAPPER_API void InvSbVec4dSetValue ( void * vecs,
int index,
const double value[4] )

Set value of SbVec4d array.

◆ InvSbVec4fSetValue()

INVENTORWRAPPER_API void InvSbVec4fSetValue ( void * vecs,
int index,
const float value[4] )

Set value of SbVec4f array.

◆ InvSensorManagerGetChangedCB()

INVENTORWRAPPER_API SensorManagerCB InvSensorManagerGetChangedCB ( void ** data)

get the current sensor manager callback

◆ InvSensorManagerGetDelaySensorTimeout()

INVENTORWRAPPER_API unsigned long InvSensorManagerGetDelaySensorTimeout ( )

get the timeout in ms that the delay queue should be processed

◆ InvSensorManagerIsDelaySensorPending()

INVENTORWRAPPER_API int InvSensorManagerIsDelaySensorPending ( )

check if a delay queue sensor is pending

◆ InvSensorManagerIsTimerSensorPending()

INVENTORWRAPPER_API int InvSensorManagerIsTimerSensorPending ( double * interval)

check if a timer sensor is pending

◆ InvSensorManagerProcessDelayQueue()

INVENTORWRAPPER_API void InvSensorManagerProcessDelayQueue ( int idle)

process the delay queue (idle==0 means not idle, idle==1 means to schedule idle sensors also)

◆ InvSensorManagerProcessTimerQueue()

INVENTORWRAPPER_API void InvSensorManagerProcessTimerQueue ( )

process the timer queue

◆ InvSensorManagerSetChangedCB()

INVENTORWRAPPER_API void InvSensorManagerSetChangedCB ( SensorManagerCB func,
void * data )

set the sensor manager changed cb, called whenever the sensor manager notes a change

◆ InvSFBoolFieldGetValue()

INVENTORWRAPPER_API int InvSFBoolFieldGetValue ( void * field)

◆ InvSFBoolFieldSetValue()

INVENTORWRAPPER_API void InvSFBoolFieldSetValue ( void * field,
int value )

◆ InvSFColorGetValue()

INVENTORWRAPPER_API void InvSFColorGetValue ( void * field,
float * values )

◆ InvSFColorSetValue()

INVENTORWRAPPER_API void InvSFColorSetValue ( void * field,
const float * values )

◆ InvSFDoubleFieldGetValue()

INVENTORWRAPPER_API double InvSFDoubleFieldGetValue ( void * field)

◆ InvSFDoubleFieldSetValue()

INVENTORWRAPPER_API void InvSFDoubleFieldSetValue ( void * field,
double value )

◆ InvSFEnumFieldGetValue()

INVENTORWRAPPER_API int InvSFEnumFieldGetValue ( void * field)

Fast field access methods: (be carefull to call only with correct types)

◆ InvSFEnumFieldSetValue()

INVENTORWRAPPER_API void InvSFEnumFieldSetValue ( void * field,
int value )

◆ InvSFFloatFieldGetValue()

INVENTORWRAPPER_API float InvSFFloatFieldGetValue ( void * field)

◆ InvSFFloatFieldSetValue()

INVENTORWRAPPER_API void InvSFFloatFieldSetValue ( void * field,
float value )

◆ InvSFInt32FieldGetValue()

INVENTORWRAPPER_API int InvSFInt32FieldGetValue ( void * field)

◆ InvSFInt32FieldSetValue()

INVENTORWRAPPER_API void InvSFInt32FieldSetValue ( void * field,
int value )

◆ InvSFMLBaseGetPtr()

INVENTORWRAPPER_API void * InvSFMLBaseGetPtr ( void * field)

get ml::Base pointer stored in SoSFMLBase field (may be NULL)

◆ InvSFMLBaseSetPtr()

INVENTORWRAPPER_API void InvSFMLBaseSetPtr ( void * field,
void * base )

◆ InvSFMLConnectorGetPtr()

INVENTORWRAPPER_API void * InvSFMLConnectorGetPtr ( void * field)

Inventor ML Fields.

get input/output connector pointer stored in SoSFMLConnector field (may be NULL)

◆ InvSFPlanedGetValue()

INVENTORWRAPPER_API void InvSFPlanedGetValue ( void * field,
double * values )

◆ InvSFPlanedSetValue()

INVENTORWRAPPER_API void InvSFPlanedSetValue ( void * field,
const double * values )

◆ InvSFPlaneGetValue()

INVENTORWRAPPER_API void InvSFPlaneGetValue ( void * field,
float * values )

◆ InvSFPlaneSetValue()

INVENTORWRAPPER_API void InvSFPlaneSetValue ( void * field,
const float * values )

◆ InvSFRotationdGetValue()

INVENTORWRAPPER_API void InvSFRotationdGetValue ( void * field,
double * values )

◆ InvSFRotationdSetValue()

INVENTORWRAPPER_API void InvSFRotationdSetValue ( void * field,
const double * values )

◆ InvSFRotationGetValue()

INVENTORWRAPPER_API void InvSFRotationGetValue ( void * field,
float * values )

◆ InvSFRotationSetValue()

INVENTORWRAPPER_API void InvSFRotationSetValue ( void * field,
const float * values )

◆ InvSFStringSetValue()

INVENTORWRAPPER_API void InvSFStringSetValue ( void * field,
const char * value )

set the string value of a SoSFString field

◆ InvSFUInt32FieldGetValue()

INVENTORWRAPPER_API unsigned int InvSFUInt32FieldGetValue ( void * field)

◆ InvSFUInt32FieldSetValue()

INVENTORWRAPPER_API void InvSFUInt32FieldSetValue ( void * field,
unsigned int value )

◆ InvSFVec2dGetValue()

INVENTORWRAPPER_API void InvSFVec2dGetValue ( void * field,
double * values )

◆ InvSFVec2dSetValue()

INVENTORWRAPPER_API void InvSFVec2dSetValue ( void * field,
const double * values )

◆ InvSFVec2fGetValue()

INVENTORWRAPPER_API void InvSFVec2fGetValue ( void * field,
float * values )

◆ InvSFVec2fSetValue()

INVENTORWRAPPER_API void InvSFVec2fSetValue ( void * field,
const float * values )

◆ InvSFVec3dGetValue()

INVENTORWRAPPER_API void InvSFVec3dGetValue ( void * field,
double * values )

◆ InvSFVec3dSetValue()

INVENTORWRAPPER_API void InvSFVec3dSetValue ( void * field,
const double * values )

◆ InvSFVec3fGetValue()

INVENTORWRAPPER_API void InvSFVec3fGetValue ( void * field,
float * values )

◆ InvSFVec3fSetValue()

INVENTORWRAPPER_API void InvSFVec3fSetValue ( void * field,
const float * values )

◆ InvSFVec4dGetValue()

INVENTORWRAPPER_API void InvSFVec4dGetValue ( void * field,
double * values )

◆ InvSFVec4dSetValue()

INVENTORWRAPPER_API void InvSFVec4dSetValue ( void * field,
const double * values )

◆ InvSFVec4fGetValue()

INVENTORWRAPPER_API void InvSFVec4fGetValue ( void * field,
float * values )

◆ InvSFVec4fSetValue()

INVENTORWRAPPER_API void InvSFVec4fSetValue ( void * field,
const float * values )

◆ InvTimerSensorSchedule()

INVENTORWRAPPER_API void InvTimerSensorSchedule ( void * timer)

start the timer

◆ InvTimerSensorSetInterval()

INVENTORWRAPPER_API void InvTimerSensorSetInterval ( void * timer,
MLint32 sec,
MLint32 usec )

set the interval of the sensor

◆ InvTimerSensorUnschedule()

INVENTORWRAPPER_API void InvTimerSensorUnschedule ( void * timer)

stop the timer

◆ InvWriteActionApplyNode()

INVENTORWRAPPER_API void InvWriteActionApplyNode ( void * action,
void * node )

apply write action to given node

◆ InvWriteActionGetBuffer()

INVENTORWRAPPER_API void * InvWriteActionGetBuffer ( void * action,
size_t * size )

get the buffer of the write action (needs a call to InvWriteActionUseBuffer)

◆ InvWriteActionUseBuffer()

INVENTORWRAPPER_API void InvWriteActionUseBuffer ( void * action)

set write action to use a buffer

◆ InvXVImageFieldConnectFromML()

INVENTORWRAPPER_API void InvXVImageFieldConnectFromML ( void * field,
void * mlConnector )

deprecated method, use the InvMLImageFieldConnectFromML

◆ InvXVImageFieldDisconnectFromML()

INVENTORWRAPPER_API void InvXVImageFieldDisconnectFromML ( void * field)

deprecated method, use the InvMLImageFieldDisconnectFromML