|
|
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 void * | InvCreateNodeFromName (const char *name) |
| Inventor SoNode access.
|
|
INVENTORWRAPPER_API const char * | InvNodeGetType (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 void * | InvNodeCopy (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 char * | InvNodeGetName (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 char * | InvNodeGetIndexedFieldName (void *node, int index) |
| get name of field at index
|
|
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)
|
|
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 void * | InvNodeGetField (void *node, const char *name) |
| get the field of a node by its name
|
|
INVENTORWRAPPER_API void * | InvNodeGetIndexedField (void *node, int index) |
| get the field at index
|
|
|
INVENTORWRAPPER_API void * | InvDBCreateGlobalField (const char *name, const char *type) |
| Inventor Fields.
|
|
INVENTORWRAPPER_API void * | InvDBGetGlobalField (const char *name) |
| get a global field
|
|
INVENTORWRAPPER_API const char * | InvFieldGetType (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 char * | InvFieldGetEnumName (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 void * | InvNodeFieldGetNodePointer (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 void * | InvMFVec2fStartEditing (void *field) |
| start editing SoMFVec2f field
|
|
INVENTORWRAPPER_API void | InvMFVec2fFinishEditing (void *field) |
| stop editing SoMFVec2f field
|
|
INVENTORWRAPPER_API void * | InvMFVec2dStartEditing (void *field) |
| start editing SoMFVec2d field
|
|
INVENTORWRAPPER_API void | InvMFVec2dFinishEditing (void *field) |
| stop editing SoMFVec2d field
|
|
INVENTORWRAPPER_API void * | InvMFVec3fStartEditing (void *field) |
| stop editing SoMFVec3f field
|
|
INVENTORWRAPPER_API void | InvMFVec3fFinishEditing (void *field) |
| start editing SoMFVec3f field
|
|
INVENTORWRAPPER_API void * | InvMFVec3dStartEditing (void *field) |
| stop editing SoMFVec3d field
|
|
INVENTORWRAPPER_API void | InvMFVec3dFinishEditing (void *field) |
| start editing SoMFVec3d field
|
|
INVENTORWRAPPER_API void * | InvMFVec4fStartEditing (void *field) |
| stop editing SoMFVec4f field
|
|
INVENTORWRAPPER_API void | InvMFVec4fFinishEditing (void *field) |
| start editing SoMFVec4f field
|
|
INVENTORWRAPPER_API void * | InvMFVec4dStartEditing (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 void * | InvEngineGetOutput (void *engine, const char *name) |
| Inventor Engines.
|
|
INVENTORWRAPPER_API int | InvEngineGetNumOutputs (void *engine) |
| get number of outputs
|
|
INVENTORWRAPPER_API void * | InvEngineGetIndexedOutput (void *engine, int index) |
| get output at index
|
|
INVENTORWRAPPER_API const char * | InvOutputGetType (void *output) |
| get type string of output
|
|
INVENTORWRAPPER_API const char * | InvEngineGetOutputName (void *engine, void *output) |
| get name of output
|
|
INVENTORWRAPPER_API const char * | InvEngineGetIndexedOutputName (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 void * | InvCreateFieldSensor (void *target, InvSensorCB *callback, int priority) |
| Inventor Sensors.
|
|
INVENTORWRAPPER_API void | InvDeleteFieldSensor (void *sensor) |
| delete field sensor
|
|
INVENTORWRAPPER_API void * | InvFieldSensorGetField (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 void * | InvGroupGetChildAtIndex (void *group, int index) |
| get child at index of SoGroup node
|
|
INVENTORWRAPPER_API void * | InvSFMLConnectorGetPtr (void *field) |
| Inventor ML Fields.
|
|
INVENTORWRAPPER_API void * | InvSFMLBaseGetPtr (void *field) |
| get ml::Base pointer stored in SoSFMLBase field (may be NULL)
|
|
INVENTORWRAPPER_API void | InvSFMLBaseSetPtr (void *field, void *base) |
|
|
INVENTORWRAPPER_API void * | InvCreateTimerSensor (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 void * | InvCreateSceneFromFile (const char *filename) |
| Scene creation and writing (ILAB4 only)
|
|
INVENTORWRAPPER_API void * | InvCreateSceneFromString (const char *string) |
| Create a scene from a string, returns a SoNode.
|
|
INVENTORWRAPPER_API void * | InvCreateSceneFromBuffer (void *buffer, size_t size) |
| Create a scene from a given buffer (no null terminator needed)
|
|
INVENTORWRAPPER_API void * | InvCreateWriteAction () |
| 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 void * | InvWriteActionGetBuffer (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)
|
|