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

Functions

INVENTORWRAPPER_API int InvInit (void *window)
 
INVENTORWRAPPER_API int InvInitInventor ()
 Initialize the Open Inventor base library (no GUI). More...
 
INVENTORWRAPPER_API int InvLoadLibrary (const char *name)
 Loads the given shared library. More...
 
INVENTORWRAPPER_API void * InvCreateNodeFromName (const char *name)
 Inventor SoNode access. More...
 
INVENTORWRAPPER_API const char * InvNodeGetType (void *node)
 Returns the type of a node as string. More...
 
INVENTORWRAPPER_API int InvNodeIsOverride (void *node)
 Return the override flag of a node (0 == false, 1 == true). More...
 
INVENTORWRAPPER_API void InvNodeSetOverride (void *node, int flag)
 Sets the override flag of a node (0 == false, 1 == true). More...
 
INVENTORWRAPPER_API void InvBaseSetName (void *base, const char *name)
 Sets the name of the node or engine. More...
 
INVENTORWRAPPER_API size_t InvNodeGetValuesSize (void *node)
 Returns the size that is needed to store the node to a buffer. More...
 
INVENTORWRAPPER_API size_t InvNodeGetValues (void *node, char *values, size_t size)
 Stores node to a buffer, returns the needed size. More...
 
INVENTORWRAPPER_API void InvNodeSetValues (void *node, const char *values)
 Sets values of a node in Inventor file format. More...
 
INVENTORWRAPPER_API void * InvNodeCopy (void *node)
 Copies the given node. More...
 
INVENTORWRAPPER_API void InvNodeSync (void *src, void *dest)
 Syncs two nodes. More...
 
INVENTORWRAPPER_API void InvNodeEnableNotify (void *node)
 Enables the notification of a node. More...
 
INVENTORWRAPPER_API void InvNodeDisableNotify (void *node)
 Disables the notification of a node. More...
 
INVENTORWRAPPER_API int InvNodeIsDerivedFrom (void *node, const char *superclass)
 Checks whether node is derived from superclass. More...
 
INVENTORWRAPPER_API void InvNodeUnref (void *node)
 Unreferences the node. More...
 
INVENTORWRAPPER_API void InvNodeRef (void *node)
 References the node. More...
 
INVENTORWRAPPER_API const char * InvNodeGetName (void *node)
 Returns the name of the node. More...
 
INVENTORWRAPPER_API void InvNodeSetIndexedFieldValue (void *node, int index, const char *value)
 Sets the given value by index of the field. More...
 
INVENTORWRAPPER_API const char * InvNodeGetIndexedFieldName (void *node, int index)
 Returns the name of field at index. More...
 
INVENTORWRAPPER_API const char * InvNodeGetFieldName (void *node, void *field)
 Returns the name of field. Fields do not know their name, so you must pass the node as well. More...
 
INVENTORWRAPPER_API int InvNodeGetNumFields (void *node)
 Returns the number of fields in the given node. More...
 
INVENTORWRAPPER_API void InvNodeSetFieldValue (void *node, const char *name, const char *value)
 Sets the value of given the field. More...
 
INVENTORWRAPPER_API size_t InvNodeGetFieldValue (void *node, const char *name, char *value, size_t size)
 Returns the value of given the field, returns the required buffer size. More...
 
INVENTORWRAPPER_API void * InvNodeGetField (void *node, const char *name)
 Returns the field of a node by its name. More...
 
INVENTORWRAPPER_API void * InvNodeGetIndexedField (void *node, int index)
 Returns the field at index. More...
 
INVENTORWRAPPER_API void * InvDBCreateGlobalField (const char *name, const char *type)
 Inventor Fields. More...
 
INVENTORWRAPPER_API void * InvDBGetGlobalField (const char *name)
 Returns a global field. More...
 
INVENTORWRAPPER_API const char * InvFieldGetType (void *field)
 Returns the type of the field. More...
 
INVENTORWRAPPER_API void InvFieldSetValue (void *field, const char *value)
 Sets the value of the field. More...
 
INVENTORWRAPPER_API size_t InvFieldGetValueSize (void *field)
 Returns the required buffer size. More...
 
INVENTORWRAPPER_API size_t InvFieldGetValue (void *field, char *value, size_t size)
 Gets the value of a field, returns the size needed for the value. If it does not fit, the data is truncated. More...
 
INVENTORWRAPPER_API int InvFieldConnectFrom (void *field, void *srcfield)
 Connects from the given field. More...
 
INVENTORWRAPPER_API int InvFieldConnectFromEngineOutput (void *field, void *output)
 Connects from an engine. More...
 
INVENTORWRAPPER_API void InvFieldDisconnect (void *field)
 Disconnects the field. More...
 
INVENTORWRAPPER_API int InvFieldGetNumEnums (void *field)
 Returns the number of enum values of the field. More...
 
INVENTORWRAPPER_API const char * InvFieldGetEnumName (void *field, int index, int *value)
 Returns the enum name and gets the value of field's enum value at index. More...
 
INVENTORWRAPPER_API void InvFieldTouch (void *field)
 Touches the field. More...
 
INVENTORWRAPPER_API void InvFieldSetIgnored (void *field, int ignore)
 Sets the ignored state of field. More...
 
INVENTORWRAPPER_API int InvFieldIsIgnored (void *field)
 Checks the ignored state of field. More...
 
INVENTORWRAPPER_API void * InvNodeFieldGetNodePointer (void *field)
 Returns a pointer to the node in a SoNodeField, may be NULL. More...
 
INVENTORWRAPPER_API void InvNodeFieldSetNodePointer (void *field, void *node)
 Sets a pointer of the node in a SoNodeField, may be NULL. More...
 
INVENTORWRAPPER_API void InvSFStringSetValue (void *field, const char *value)
 Sets the string value of a SoSFString field. More...
 
INVENTORWRAPPER_API void InvMFieldSetValue (void *field, int index, const char *value)
 Sets the value of a SoMFField. More...
 
INVENTORWRAPPER_API size_t InvMFieldGetValueSize (void *field, int index)
 Returns the needed buffer size for the value of a SoMFField field. More...
 
INVENTORWRAPPER_API size_t InvMFieldGetValue (void *field, int index, char *value, size_t size)
 Returns the value of a SoMFField, returns the size needed for the value. If it does not fit, the data is truncated. More...
 
INVENTORWRAPPER_API int InvMFieldGetNumValues (void *field)
 Returns the number of values in a SoMFField. More...
 
INVENTORWRAPPER_API void * InvMFVec2fStartEditing (void *field)
 Starts editing SoMFVec2f field. More...
 
INVENTORWRAPPER_API void InvMFVec2fFinishEditing (void *field)
 Stops editing SoMFVec2f field. More...
 
INVENTORWRAPPER_API void * InvMFVec2dStartEditing (void *field)
 Starts editing SoMFVec2d field. More...
 
INVENTORWRAPPER_API void InvMFVec2dFinishEditing (void *field)
 Stops editing SoMFVec2d field. More...
 
INVENTORWRAPPER_API void * InvMFVec3fStartEditing (void *field)
 Starts editing SoMFVec3f field. More...
 
INVENTORWRAPPER_API void InvMFVec3fFinishEditing (void *field)
 Stops editing SoMFVec3f field. More...
 
INVENTORWRAPPER_API void * InvMFVec3dStartEditing (void *field)
 Starts editing SoMFVec3d field. More...
 
INVENTORWRAPPER_API void InvMFVec3dFinishEditing (void *field)
 Stops editing SoMFVec3d field. More...
 
INVENTORWRAPPER_API void * InvMFVec4fStartEditing (void *field)
 Starts editing SoMFVec4f field. More...
 
INVENTORWRAPPER_API void InvMFVec4fFinishEditing (void *field)
 Stops editing SoMFVec4f field. More...
 
INVENTORWRAPPER_API void * InvMFVec4dStartEditing (void *field)
 Starts editing SoMFVec4d field. More...
 
INVENTORWRAPPER_API void InvMFVec4dFinishEditing (void *field)
 Stops editing SoMFVec4d field. More...
 
INVENTORWRAPPER_API void InvMFieldSetNum (void *field, int size)
 Sets the number of elements in SoMFField. More...
 
INVENTORWRAPPER_API void InvSbVec4fSetValue (void *vecs, int index, const float value[4])
 Sets the value of a SbVec4f array. More...
 
INVENTORWRAPPER_API void InvSbVec4dSetValue (void *vecs, int index, const double value[4])
 Sets the value of a SbVec4d array. More...
 
INVENTORWRAPPER_API void InvSbVec3fSetValue (void *vecs, int index, const float value[3])
 Sets the value of a SbVec3f array. More...
 
INVENTORWRAPPER_API void InvSbVec3dSetValue (void *vecs, int index, const double value[3])
 Sets the value of a SbVec3d array. More...
 
INVENTORWRAPPER_API void InvSbVec2fSetValue (void *vecs, int index, const float value[2])
 Sets the value of a SbVec2f array. More...
 
INVENTORWRAPPER_API void InvSbVec2dSetValue (void *vecs, int index, const double value[2])
 Sets the value of a SbVec2d array. More...
 
INVENTORWRAPPER_API void * InvEngineGetOutput (void *engine, const char *name)
 Inventor Engines. More...
 
INVENTORWRAPPER_API int InvEngineGetNumOutputs (void *engine)
 Returns the number of outputs. More...
 
INVENTORWRAPPER_API void * InvEngineGetIndexedOutput (void *engine, int index)
 Returns the output at index. More...
 
INVENTORWRAPPER_API const char * InvOutputGetType (void *output)
 Returns the type string of the output. More...
 
INVENTORWRAPPER_API const char * InvEngineGetOutputName (void *engine, void *output)
 Returns the name of the output. More...
 
INVENTORWRAPPER_API const char * InvEngineGetIndexedOutputName (void *engine, int index)
 Returns the name of output at index. More...
 
INVENTORWRAPPER_API void InvMLImageFieldConnectFromML (void *field, void *mlConnector)
 Inventor SoSFMLImage access. More...
 
INVENTORWRAPPER_API void InvMLImageFieldDisconnectFromML (void *field)
 Disconnects the given SoSFMLImage field if it was connected to ML. More...
 
INVENTORWRAPPER_API void InvXVImageFieldConnectFromML (void *field, void *mlConnector)
 Deprecated method, use the InvMLImageFieldConnectFromML. More...
 
INVENTORWRAPPER_API void InvXVImageFieldDisconnectFromML (void *field)
 Deprecated method, use the InvMLImageFieldDisconnectFromML. More...
 
INVENTORWRAPPER_API void * InvCreateFieldSensor (void *target, InvSensorCB *callback, int priority)
 Inventor Sensors. More...
 
INVENTORWRAPPER_API void InvDeleteFieldSensor (void *sensor)
 Deletes the field sensor. More...
 
INVENTORWRAPPER_API void * InvFieldSensorGetField (void *sensor)
 Returns the attached field. More...
 
INVENTORWRAPPER_API void InvFieldSensorAttach (void *sensor, void *field)
 Attaches the field to the sensor. More...
 
INVENTORWRAPPER_API void InvFieldSensorDetach (void *sensor)
 Detaches a field from the sensor. More...
 
INVENTORWRAPPER_API void InvFieldSensorSetPriority (void *sensor, int priority)
 Sets the priority of the sensor. More...
 
INVENTORWRAPPER_API int InvFieldSensorGetPriority (void *sensor)
 Returns the priority of the sensor. More...
 
INVENTORWRAPPER_API void InvGroupAddChild (void *group, void *child)
 Inventor SoGroup. More...
 
INVENTORWRAPPER_API void InvGroupInsertChild (void *group, void *child, int index)
 Inserts a child to a SoGroup derived node. More...
 
INVENTORWRAPPER_API void InvGroupReplaceChild (void *group, void *newchild, int index)
 Replaces a child at index with a newchild in a SoGroup derived node. More...
 
INVENTORWRAPPER_API void InvGroupRemoveChild (void *group, void *child)
 Removes the child node from SoGroup. More...
 
INVENTORWRAPPER_API void InvGroupRemoveChildAtIndex (void *group, int index)
 Removes the child at index node from SoGroup. More...
 
INVENTORWRAPPER_API void InvGroupRemoveAllChildren (void *group)
 Removes all children from SoGroup. More...
 
INVENTORWRAPPER_API int InvGroupGetNumChildren (void *group)
 Returns the number of children in SoGroup (not recursive). More...
 
INVENTORWRAPPER_API void * InvGroupGetChildAtIndex (void *group, int index)
 Returns the child at index of SoGroup node. More...
 
INVENTORWRAPPER_API void * InvSFMLConnectorGetPtr (void *field)
 Inventor ML Fields. More...
 
INVENTORWRAPPER_API void * InvSFMLBaseGetPtr (void *field)
 Returns the ml::Base pointer stored in SoSFMLBase field (may be NULL). More...
 
INVENTORWRAPPER_API void InvSFMLBaseSetPtr (void *field, void *base)
 
INVENTORWRAPPER_API void * InvCreateTimerSensor (void *target, InvSensorCB *callback)
 Timer sensors. More...
 
INVENTORWRAPPER_API void InvDeleteTimerSensor (void *timer)
 Deletes a timer sensor. More...
 
INVENTORWRAPPER_API void InvTimerSensorSetInterval (void *timer, MLint32 sec, MLint32 usec)
 Sets the interval of the sensor. More...
 
INVENTORWRAPPER_API void InvTimerSensorSchedule (void *timer)
 Starts the timer. More...
 
INVENTORWRAPPER_API void InvTimerSensorUnschedule (void *timer)
 Stops the timer. More...
 
INVENTORWRAPPER_API void * InvCreateSceneFromFile (const char *filename)
 Scene creation and writing. More...
 
INVENTORWRAPPER_API void * InvCreateSceneFromString (const char *string)
 Creates a scene from a string, returns a SoNode. More...
 
INVENTORWRAPPER_API void * InvCreateSceneFromBuffer (void *buffer, size_t size)
 Creates a scene from a given buffer (no null-terminator needed). More...
 
INVENTORWRAPPER_API void * InvCreateWriteAction ()
 Creates a write action. More...
 
INVENTORWRAPPER_API void InvDeleteWriteAction (void *action)
 Deletes the write action. More...
 
INVENTORWRAPPER_API void InvWriteActionUseBuffer (void *action)
 Sets write action to use a buffer. More...
 
INVENTORWRAPPER_API void InvWriteActionApplyNode (void *action, void *node)
 Applies write action to given node. More...
 
INVENTORWRAPPER_API void * InvWriteActionGetBuffer (void *action, size_t *size)
 Returns the buffer of the write action (needs a call to InvWriteActionUseBuffer). More...
 
INVENTORWRAPPER_API int InvSFEnumFieldGetValue (void *field)
 Fast field access methods: (be careful to call only with correct types) More...
 
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. More...
 
INVENTORWRAPPER_API void InvSensorManagerSetChangedCB (SensorManagerCB func, void *data)
 Sets the sensor manager changed callback; called whenever the sensor manager notes a change. More...
 
INVENTORWRAPPER_API SensorManagerCB InvSensorManagerGetChangedCB (void **data)
 Returns the current sensor manager callback. More...
 
INVENTORWRAPPER_API int InvSensorManagerIsTimerSensorPending (double *interval)
 Checks whether a timer sensor is pending. More...
 
INVENTORWRAPPER_API int InvSensorManagerIsDelaySensorPending ()
 Checks whether a delay queue sensor is pending. More...
 
INVENTORWRAPPER_API unsigned long InvSensorManagerGetDelaySensorTimeout ()
 Returns the timeout in milliseconds that the delay queue should be processed. More...
 
INVENTORWRAPPER_API void InvSensorManagerProcessTimerQueue ()
 Processes the timer queue. More...
 
INVENTORWRAPPER_API void InvSensorManagerProcessDelayQueue (int idle)
 Processes the delay queue (idle==0 means not idle, idle==1 means to schedule idle sensors as well). More...
 

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.

SensorManager callback.

Definition at line 341 of file XVInventorWrapper.h.

Function Documentation

◆ InvBaseSetName()

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

Sets the name of the node or engine.

◆ InvCreateFieldSensor()

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

Inventor Sensors.

Creates a field sensor.

◆ InvCreateNodeFromName()

INVENTORWRAPPER_API void* InvCreateNodeFromName ( const char *  name)

Inventor SoNode access.

Creates a node or engine by its class name, returns a SoFieldContainer (SoEngine or SoNode).

◆ InvCreateSceneFromBuffer()

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

Creates a scene from a given buffer (no null-terminator needed).

◆ InvCreateSceneFromFile()

INVENTORWRAPPER_API void* InvCreateSceneFromFile ( const char *  filename)

Scene creation and writing.

Creates a scene from a file, returns a SoNode.

◆ InvCreateSceneFromString()

INVENTORWRAPPER_API void* InvCreateSceneFromString ( const char *  string)

Creates a scene from a string, returns a SoNode.

◆ InvCreateTimerSensor()

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

Timer sensors.

Creates a timer sensor.

◆ InvCreateWriteAction()

INVENTORWRAPPER_API void* InvCreateWriteAction ( )

Creates a write action.

◆ InvDBCreateGlobalField()

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

Inventor Fields.

Creates a global field.

◆ InvDBGetGlobalField()

INVENTORWRAPPER_API void* InvDBGetGlobalField ( const char *  name)

Returns a global field.

◆ InvDeleteFieldSensor()

INVENTORWRAPPER_API void InvDeleteFieldSensor ( void *  sensor)

Deletes the field sensor.

◆ InvDeleteTimerSensor()

INVENTORWRAPPER_API void InvDeleteTimerSensor ( void *  timer)

Deletes a timer sensor.

◆ InvDeleteWriteAction()

INVENTORWRAPPER_API void InvDeleteWriteAction ( void *  action)

Deletes the write action.

◆ InvEngineGetIndexedOutput()

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

Returns the output at index.

◆ InvEngineGetIndexedOutputName()

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

Returns the name of output at index.

◆ InvEngineGetNumOutputs()

INVENTORWRAPPER_API int InvEngineGetNumOutputs ( void *  engine)

Returns the number of outputs.

◆ InvEngineGetOutput()

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

Inventor Engines.

Returns the output with given name.

◆ InvEngineGetOutputName()

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

Returns the name of the output.

◆ InvFieldConnectFrom()

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

Connects from the given field.

◆ InvFieldConnectFromEngineOutput()

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

Connects from an engine.

◆ InvFieldDisconnect()

INVENTORWRAPPER_API void InvFieldDisconnect ( void *  field)

Disconnects the field.

◆ InvFieldGetEnumName()

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

Returns the enum name and gets the value of field's enum value at index.

◆ InvFieldGetNumEnums()

INVENTORWRAPPER_API int InvFieldGetNumEnums ( void *  field)

Returns the number of enum values of the field.

◆ InvFieldGetType()

INVENTORWRAPPER_API const char* InvFieldGetType ( void *  field)

Returns the type of the field.

◆ InvFieldGetValue()

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

Gets the value of a field, returns the size needed for the value. If it does not fit, the data is truncated.

◆ InvFieldGetValueSize()

INVENTORWRAPPER_API size_t InvFieldGetValueSize ( void *  field)

Returns the required buffer size.

◆ InvFieldIsIgnored()

INVENTORWRAPPER_API int InvFieldIsIgnored ( void *  field)

Checks the ignored state of field.

◆ InvFieldSensorAttach()

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

Attaches the field to the sensor.

◆ InvFieldSensorDetach()

INVENTORWRAPPER_API void InvFieldSensorDetach ( void *  sensor)

Detaches a field from the sensor.

◆ InvFieldSensorGetField()

INVENTORWRAPPER_API void* InvFieldSensorGetField ( void *  sensor)

Returns the attached field.

◆ InvFieldSensorGetPriority()

INVENTORWRAPPER_API int InvFieldSensorGetPriority ( void *  sensor)

Returns the priority of the sensor.

◆ InvFieldSensorSetPriority()

INVENTORWRAPPER_API void InvFieldSensorSetPriority ( void *  sensor,
int  priority 
)

Sets the priority of the sensor.

◆ InvFieldSetIgnored()

INVENTORWRAPPER_API void InvFieldSetIgnored ( void *  field,
int  ignore 
)

Sets the ignored state of field.

◆ InvFieldSetValue()

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

Sets the value of the field.

◆ InvFieldTouch()

INVENTORWRAPPER_API void InvFieldTouch ( void *  field)

Touches the field.

◆ InvGroupAddChild()

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

Inventor SoGroup.

Adds a child to a SoGroup derived node.

◆ InvGroupGetChildAtIndex()

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

Returns the child at index of SoGroup node.

◆ InvGroupGetNumChildren()

INVENTORWRAPPER_API int InvGroupGetNumChildren ( void *  group)

Returns the number of children in SoGroup (not recursive).

◆ InvGroupInsertChild()

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

Inserts a child to a SoGroup derived node.

◆ InvGroupRemoveAllChildren()

INVENTORWRAPPER_API void InvGroupRemoveAllChildren ( void *  group)

Removes all children from SoGroup.

◆ InvGroupRemoveChild()

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

Removes the child node from SoGroup.

◆ InvGroupRemoveChildAtIndex()

INVENTORWRAPPER_API void InvGroupRemoveChildAtIndex ( void *  group,
int  index 
)

Removes the child at index node from SoGroup.

◆ InvGroupReplaceChild()

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

Replaces a child at index with a newchild in a SoGroup derived node.

◆ InvInit()

INVENTORWRAPPER_API int InvInit ( void *  window)

Inventor General Init and methods Initializes 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)

Loads the given shared library.

◆ InvMFieldGetNumValues()

INVENTORWRAPPER_API int InvMFieldGetNumValues ( void *  field)

Returns the number of values in a SoMFField.

◆ InvMFieldGetValue()

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

Returns the value of a SoMFField, returns the size needed for the value. If it does not fit, the data is truncated.

◆ InvMFieldGetValueSize()

INVENTORWRAPPER_API size_t InvMFieldGetValueSize ( void *  field,
int  index 
)

Returns the needed buffer size for the value of a SoMFField field.

◆ InvMFieldSetNum()

INVENTORWRAPPER_API void InvMFieldSetNum ( void *  field,
int  size 
)

Sets the number of elements in SoMFField.

◆ InvMFieldSetValue()

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

Sets the value of a SoMFField.

◆ InvMFVec2dFinishEditing()

INVENTORWRAPPER_API void InvMFVec2dFinishEditing ( void *  field)

Stops editing SoMFVec2d field.

◆ InvMFVec2dStartEditing()

INVENTORWRAPPER_API void* InvMFVec2dStartEditing ( void *  field)

Starts editing SoMFVec2d field.

◆ InvMFVec2fFinishEditing()

INVENTORWRAPPER_API void InvMFVec2fFinishEditing ( void *  field)

Stops editing SoMFVec2f field.

◆ InvMFVec2fStartEditing()

INVENTORWRAPPER_API void* InvMFVec2fStartEditing ( void *  field)

Starts editing SoMFVec2f field.

◆ InvMFVec3dFinishEditing()

INVENTORWRAPPER_API void InvMFVec3dFinishEditing ( void *  field)

Stops editing SoMFVec3d field.

◆ InvMFVec3dStartEditing()

INVENTORWRAPPER_API void* InvMFVec3dStartEditing ( void *  field)

Starts editing SoMFVec3d field.

◆ InvMFVec3fFinishEditing()

INVENTORWRAPPER_API void InvMFVec3fFinishEditing ( void *  field)

Stops editing SoMFVec3f field.

◆ InvMFVec3fStartEditing()

INVENTORWRAPPER_API void* InvMFVec3fStartEditing ( void *  field)

Starts editing SoMFVec3f field.

◆ InvMFVec4dFinishEditing()

INVENTORWRAPPER_API void InvMFVec4dFinishEditing ( void *  field)

Stops editing SoMFVec4d field.

◆ InvMFVec4dStartEditing()

INVENTORWRAPPER_API void* InvMFVec4dStartEditing ( void *  field)

Starts editing SoMFVec4d field.

◆ InvMFVec4fFinishEditing()

INVENTORWRAPPER_API void InvMFVec4fFinishEditing ( void *  field)

Stops editing SoMFVec4f field.

◆ InvMFVec4fStartEditing()

INVENTORWRAPPER_API void* InvMFVec4fStartEditing ( void *  field)

Starts editing SoMFVec4f field.

◆ InvMLImageFieldConnectFromML()

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

Inventor SoSFMLImage access.

Connects the given SoSFMLImage field from the given ML OutputConnector.

◆ InvMLImageFieldDisconnectFromML()

INVENTORWRAPPER_API void InvMLImageFieldDisconnectFromML ( void *  field)

Disconnects the given SoSFMLImage field if it was connected to ML.

◆ InvNodeCopy()

INVENTORWRAPPER_API void* InvNodeCopy ( void *  node)

Copies the given node.

◆ InvNodeDisableNotify()

INVENTORWRAPPER_API void InvNodeDisableNotify ( void *  node)

Disables the notification of a node.

◆ InvNodeEnableNotify()

INVENTORWRAPPER_API void InvNodeEnableNotify ( void *  node)

Enables the notification of a node.

◆ InvNodeFieldGetNodePointer()

INVENTORWRAPPER_API void* InvNodeFieldGetNodePointer ( void *  field)

Returns a pointer to the node in a SoNodeField, may be NULL.

◆ InvNodeFieldSetNodePointer()

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

Sets a pointer of the node in a SoNodeField, may be NULL.

◆ InvNodeGetField()

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

Returns the field of a node by its name.

◆ InvNodeGetFieldName()

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

Returns the name of field. Fields do not know their name, so you must pass the node as well.

◆ InvNodeGetFieldValue()

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

Returns the value of given the field, returns the required buffer size.

◆ InvNodeGetIndexedField()

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

Returns the field at index.

◆ InvNodeGetIndexedFieldName()

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

Returns the name of field at index.

◆ InvNodeGetName()

INVENTORWRAPPER_API const char* InvNodeGetName ( void *  node)

Returns the name of the node.

◆ InvNodeGetNumFields()

INVENTORWRAPPER_API int InvNodeGetNumFields ( void *  node)

Returns the number of fields in the given node.

◆ InvNodeGetType()

INVENTORWRAPPER_API const char* InvNodeGetType ( void *  node)

Returns 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)

Returns the size that is needed to store the node to a buffer.

◆ InvNodeIsDerivedFrom()

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

Checks whether node is derived from superclass.

◆ InvNodeIsOverride()

INVENTORWRAPPER_API int InvNodeIsOverride ( void *  node)

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

◆ InvNodeRef()

INVENTORWRAPPER_API void InvNodeRef ( void *  node)

References the node.

◆ InvNodeSetFieldValue()

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

Sets the value of given the field.

◆ InvNodeSetIndexedFieldValue()

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

Sets the given value by index of the field.

◆ InvNodeSetOverride()

INVENTORWRAPPER_API void InvNodeSetOverride ( void *  node,
int  flag 
)

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

◆ InvNodeSetValues()

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

Sets values of a node in Inventor file format.

◆ InvNodeSync()

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

Syncs two nodes.

◆ InvNodeUnref()

INVENTORWRAPPER_API void InvNodeUnref ( void *  node)

Unreferences the node.

◆ InvOutputGetType()

INVENTORWRAPPER_API const char* InvOutputGetType ( void *  output)

Returns the type string of the output.

◆ InvSbVec2dSetValue()

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

Sets the value of a SbVec2d array.

◆ InvSbVec2fSetValue()

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

Sets the value of a SbVec2f array.

◆ InvSbVec3dSetValue()

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

Sets the value of a SbVec3d array.

◆ InvSbVec3fSetValue()

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

Sets the value of a SbVec3f array.

◆ InvSbVec4dSetValue()

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

Sets the value of a SbVec4d array.

◆ InvSbVec4fSetValue()

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

Sets the value of a SbVec4f array.

◆ InvSensorManagerGetChangedCB()

INVENTORWRAPPER_API SensorManagerCB InvSensorManagerGetChangedCB ( void **  data)

Returns the current sensor manager callback.

◆ InvSensorManagerGetDelaySensorTimeout()

INVENTORWRAPPER_API unsigned long InvSensorManagerGetDelaySensorTimeout ( )

Returns the timeout in milliseconds that the delay queue should be processed.

◆ InvSensorManagerIsDelaySensorPending()

INVENTORWRAPPER_API int InvSensorManagerIsDelaySensorPending ( )

Checks whether a delay queue sensor is pending.

◆ InvSensorManagerIsTimerSensorPending()

INVENTORWRAPPER_API int InvSensorManagerIsTimerSensorPending ( double *  interval)

Checks whether a timer sensor is pending.

◆ InvSensorManagerProcessDelayQueue()

INVENTORWRAPPER_API void InvSensorManagerProcessDelayQueue ( int  idle)

Processes the delay queue (idle==0 means not idle, idle==1 means to schedule idle sensors as well).

◆ InvSensorManagerProcessTimerQueue()

INVENTORWRAPPER_API void InvSensorManagerProcessTimerQueue ( )

Processes the timer queue.

◆ InvSensorManagerSetChangedCB()

INVENTORWRAPPER_API void InvSensorManagerSetChangedCB ( SensorManagerCB  func,
void *  data 
)

Sets the sensor manager changed callback; 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 careful 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)

Returns the 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.

Returns the 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 
)

Sets 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)

Starts the timer.

◆ InvTimerSensorSetInterval()

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

Sets the interval of the sensor.

◆ InvTimerSensorUnschedule()

INVENTORWRAPPER_API void InvTimerSensorUnschedule ( void *  timer)

Stops the timer.

◆ InvWriteActionApplyNode()

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

Applies write action to given node.

◆ InvWriteActionGetBuffer()

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

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

◆ InvWriteActionUseBuffer()

INVENTORWRAPPER_API void InvWriteActionUseBuffer ( void *  action)

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