MeVisLab Resolution Independence API
XVInventorWrapper.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#ifndef XVINVENTOR_WRAPPER_H
14#define XVINVENTOR_WRAPPER_H
15
17
19
20#ifndef WIN32
21#include <ThirdPartyWarningsDisable.h>
22#include <ThirdPartyWarningsRestore.h>
23#include <cstring>
24#endif
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30#ifdef __cplusplus
31#ifndef ML_DISABLE_CPP
32#define ML_DISABLE_CPP
33#endif
34#endif
35
36#include <mlDataTypes.h>
37
38#ifdef __cplusplus
39#undef ML_DISABLE_CPP
40#endif
41
43 // this was previously in XVcallbacks.h, but got pretty lonely after a reorganization (usi)
44 typedef void InvSensorCB(void *data,void *sensor);
45
46
49 INVENTORWRAPPER_API int InvInit(void* window);
53 INVENTORWRAPPER_API int InvLoadLibrary(const char* name);
54
56
57
59
62
64 INVENTORWRAPPER_API const char* InvNodeGetType(void *node);
65
68
70 INVENTORWRAPPER_API void InvNodeSetOverride(void *node, int flag);
71
73 INVENTORWRAPPER_API void InvBaseSetName(void *base, const char* name);
74
78 INVENTORWRAPPER_API size_t InvNodeGetValues(void *node, char* values, size_t size);
80 INVENTORWRAPPER_API void InvNodeSetValues(void *node, const char* values);
81
85 INVENTORWRAPPER_API void InvNodeSync(void *src,void *dest);
86
92 INVENTORWRAPPER_API int InvNodeIsDerivedFrom(void *node, const char* superclass);
93
98
100 INVENTORWRAPPER_API const char* InvNodeGetName(void *node);
101
103 INVENTORWRAPPER_API void InvNodeSetIndexedFieldValue(void *node, int index, const char* value);
105 INVENTORWRAPPER_API const char* InvNodeGetIndexedFieldName(void *node, int index);
107 INVENTORWRAPPER_API const char* InvNodeGetFieldName(void *node, void* field);
111 INVENTORWRAPPER_API void InvNodeSetFieldValue(void *node, const char* name, const char* value);
113 INVENTORWRAPPER_API size_t InvNodeGetFieldValue(void *node, const char* name, char* value, size_t size);
114
116 INVENTORWRAPPER_API void* InvNodeGetField(void *node, const char* name);
118 INVENTORWRAPPER_API void* InvNodeGetIndexedField(void *node, int index);
119
121
123
125 INVENTORWRAPPER_API void* InvDBCreateGlobalField(const char* name, const char* type);
128
130 INVENTORWRAPPER_API const char* InvFieldGetType(void *field);
132 INVENTORWRAPPER_API void InvFieldSetValue(void *field, const char* value);
135
137 INVENTORWRAPPER_API size_t InvFieldGetValue(void *field, char* value, size_t size);
139 INVENTORWRAPPER_API int InvFieldConnectFrom(void *field, void* srcfield);
147 INVENTORWRAPPER_API const char* InvFieldGetEnumName(void* field,int index, int* value);
151 INVENTORWRAPPER_API void InvFieldSetIgnored(void* field, int ignore);
154
158 INVENTORWRAPPER_API void InvNodeFieldSetNodePointer(void* field, void* node);
159
161 INVENTORWRAPPER_API void InvSFStringSetValue(void* field, const char* value);
162
164 INVENTORWRAPPER_API void InvMFieldSetValue(void *field, int index, const char* value);
166 INVENTORWRAPPER_API size_t InvMFieldGetValueSize(void *field, int index);
168 INVENTORWRAPPER_API size_t InvMFieldGetValue(void *field, int index, char* value, size_t size);
171
176
181
186
191
196
201
203 INVENTORWRAPPER_API void InvMFieldSetNum(void *field, int size);
204
206 INVENTORWRAPPER_API void InvSbVec4fSetValue(void* vecs, int index, const float value[4]);
208 INVENTORWRAPPER_API void InvSbVec4dSetValue(void* vecs, int index, const double value[4]);
209
211 INVENTORWRAPPER_API void InvSbVec3fSetValue(void* vecs, int index, const float value[3]);
213 INVENTORWRAPPER_API void InvSbVec3dSetValue(void* vecs, int index, const double value[3]);
214
216 INVENTORWRAPPER_API void InvSbVec2fSetValue(void* vecs, int index, const float value[2]);
218 INVENTORWRAPPER_API void InvSbVec2dSetValue(void* vecs, int index, const double value[2]);
219
221
223
225 INVENTORWRAPPER_API void* InvEngineGetOutput(void *engine, const char* name);
229 INVENTORWRAPPER_API void* InvEngineGetIndexedOutput(void *engine, int index);
231 INVENTORWRAPPER_API const char* InvOutputGetType(void *output);
233 INVENTORWRAPPER_API const char* InvEngineGetOutputName(void* engine, void *output);
235 INVENTORWRAPPER_API const char* InvEngineGetIndexedOutputName(void* engine, int index);
237
239
241 INVENTORWRAPPER_API void InvMLImageFieldConnectFromML(void* field, void* mlConnector);
244
246 INVENTORWRAPPER_API void InvXVImageFieldConnectFromML(void* field, void* mlConnector);
249
251
253
255 INVENTORWRAPPER_API void* InvCreateFieldSensor(void* target, InvSensorCB* callback, int priority);
261 INVENTORWRAPPER_API void InvFieldSensorAttach(void* sensor, void* field);
265 INVENTORWRAPPER_API void InvFieldSensorSetPriority(void* sensor, int priority);
269
271
273 INVENTORWRAPPER_API void InvGroupAddChild(void* group, void* child);
275 INVENTORWRAPPER_API void InvGroupInsertChild(void* group, void* child, int index);
277 INVENTORWRAPPER_API void InvGroupReplaceChild(void* group, void* newchild, int index);
279 INVENTORWRAPPER_API void InvGroupRemoveChild(void* group, void* child);
287 INVENTORWRAPPER_API void* InvGroupGetChildAtIndex(void* group, int index);
288
290
293
296 INVENTORWRAPPER_API void InvSFMLBaseSetPtr(void* field, void* base);
297
299
300
302
308 INVENTORWRAPPER_API void InvTimerSensorSetInterval(void* timer, MLint32 sec,MLint32 usec);
313
315
317
319 INVENTORWRAPPER_API void* InvCreateSceneFromFile(const char* filename);
323 INVENTORWRAPPER_API void* InvCreateSceneFromBuffer(void* buffer, size_t size);
324
332 INVENTORWRAPPER_API void InvWriteActionApplyNode(void* action, void* node);
334 INVENTORWRAPPER_API void* InvWriteActionGetBuffer(void* action, size_t* size);
335
337
339
341 typedef void (*SensorManagerCB)(void *);
342
357
359
361
368
369 INVENTORWRAPPER_API void InvSFEnumFieldSetValue(void *field, int value);
370 INVENTORWRAPPER_API void InvSFInt32FieldSetValue(void *field, int value);
371 INVENTORWRAPPER_API void InvSFUInt32FieldSetValue(void *field, unsigned int value);
372 INVENTORWRAPPER_API void InvSFFloatFieldSetValue(void *field, float value);
373 INVENTORWRAPPER_API void InvSFDoubleFieldSetValue(void *field, double value);
374 INVENTORWRAPPER_API void InvSFBoolFieldSetValue(void *field, int value);
375
376 INVENTORWRAPPER_API void InvSFVec2fGetValue(void *field, float* values);
377 INVENTORWRAPPER_API void InvSFVec3fGetValue(void *field, float* values);
378 INVENTORWRAPPER_API void InvSFVec4fGetValue(void *field, float* values);
379 INVENTORWRAPPER_API void InvSFVec2fSetValue(void *field, const float* values);
380 INVENTORWRAPPER_API void InvSFVec3fSetValue(void *field, const float* values);
381 INVENTORWRAPPER_API void InvSFVec4fSetValue(void *field, const float* values);
382
383 INVENTORWRAPPER_API void InvSFVec2dGetValue(void *field, double* values);
384 INVENTORWRAPPER_API void InvSFVec3dGetValue(void *field, double* values);
385 INVENTORWRAPPER_API void InvSFVec4dGetValue(void *field, double* values);
386 INVENTORWRAPPER_API void InvSFVec2dSetValue(void *field, const double* values);
387 INVENTORWRAPPER_API void InvSFVec3dSetValue(void *field, const double* values);
388 INVENTORWRAPPER_API void InvSFVec4dSetValue(void *field, const double* values);
389
390 INVENTORWRAPPER_API void InvSFColorGetValue(void *field, float* values); // three values
391 INVENTORWRAPPER_API void InvSFRotationGetValue(void *field, float* values); // four values
392 INVENTORWRAPPER_API void InvSFPlaneGetValue(void *field, float* values); // four values
393 INVENTORWRAPPER_API void InvSFColorSetValue(void *field, const float* values); // three values
394 INVENTORWRAPPER_API void InvSFRotationSetValue(void *field, const float* values); // four values
395 INVENTORWRAPPER_API void InvSFPlaneSetValue(void *field, const float* values); // four values
396
397 INVENTORWRAPPER_API void InvSFRotationdGetValue(void *field, double* values); // four values
398 INVENTORWRAPPER_API void InvSFPlanedGetValue(void *field, double* values); // four values
399 INVENTORWRAPPER_API void InvSFRotationdSetValue(void *field, const double* values); // four values
400 INVENTORWRAPPER_API void InvSFPlanedSetValue(void *field, const double* values); // four values
401
403
404
405#ifdef __cplusplus
406}
407#endif
408
409#endif
#define INVENTORWRAPPER_API
Library initialization and export macros for platform independecy of project.
INVENTORWRAPPER_API void InvSFVec3fGetValue(void *field, float *values)
INVENTORWRAPPER_API void * InvNodeGetIndexedField(void *node, int index)
get the field at index
INVENTORWRAPPER_API const char * InvNodeGetName(void *node)
get the name of the node
INVENTORWRAPPER_API void InvMLImageFieldConnectFromML(void *field, void *mlConnector)
Inventor SoSFMLImage access.
INVENTORWRAPPER_API void InvXVImageFieldDisconnectFromML(void *field)
deprecated method, use the InvMLImageFieldDisconnectFromML
INVENTORWRAPPER_API void InvMFieldSetNum(void *field, int size)
set number of elements in SoMFField
INVENTORWRAPPER_API void InvSFPlanedGetValue(void *field, double *values)
INVENTORWRAPPER_API void InvTimerSensorUnschedule(void *timer)
stop the timer
INVENTORWRAPPER_API void InvSFVec2dSetValue(void *field, const double *values)
INVENTORWRAPPER_API void InvSFColorSetValue(void *field, const float *values)
INVENTORWRAPPER_API void InvDeleteFieldSensor(void *sensor)
delete field sensor
INVENTORWRAPPER_API int InvFieldConnectFromEngineOutput(void *field, void *output)
connect from engine
INVENTORWRAPPER_API unsigned long InvSensorManagerGetDelaySensorTimeout()
get the timeout in ms that the delay queue should be processed
INVENTORWRAPPER_API void InvNodeSetOverride(void *node, int flag)
set the override flag of a node (0 == false, 1 == true)
INVENTORWRAPPER_API const char * InvEngineGetOutputName(void *engine, void *output)
get name of output
INVENTORWRAPPER_API void InvNodeSetFieldValue(void *node, const char *name, const char *value)
set value of given field
INVENTORWRAPPER_API void InvGroupRemoveChild(void *group, void *child)
remove child node from SoGroup
void(* SensorManagerCB)(void *)
Inventor SensorManager access (ILAB4 only)
INVENTORWRAPPER_API void InvTimerSensorSetInterval(void *timer, MLint32 sec, MLint32 usec)
set the interval of the sensor
INVENTORWRAPPER_API int InvLoadLibrary(const char *name)
load the given shared library
INVENTORWRAPPER_API void InvMFVec3fFinishEditing(void *field)
start editing SoMFVec3f field
INVENTORWRAPPER_API double InvSFDoubleFieldGetValue(void *field)
INVENTORWRAPPER_API const char * InvNodeGetIndexedFieldName(void *node, int index)
get name of field at index
INVENTORWRAPPER_API void InvSFColorGetValue(void *field, float *values)
INVENTORWRAPPER_API float InvSFFloatFieldGetValue(void *field)
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 void * InvMFVec4dStartEditing(void *field)
stop editing SoMFVec4d field
INVENTORWRAPPER_API void InvGroupInsertChild(void *group, void *child, int index)
insert a child to a SoGroup derived node
INVENTORWRAPPER_API void * InvCreateNodeFromName(const char *name)
Inventor SoNode access.
INVENTORWRAPPER_API void InvFieldSensorDetach(void *sensor)
detach field from sensor
INVENTORWRAPPER_API void * InvMFVec2fStartEditing(void *field)
start editing SoMFVec2f field
INVENTORWRAPPER_API void InvGroupRemoveChildAtIndex(void *group, int index)
remove child at index node from SoGroup
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,...
INVENTORWRAPPER_API void InvSFVec2fSetValue(void *field, const float *values)
INVENTORWRAPPER_API void * InvCreateSceneFromString(const char *string)
Create a scene from a string, returns a SoNode.
INVENTORWRAPPER_API void InvSbVec2dSetValue(void *vecs, int index, const double value[2])
Set value of SbVec2d array.
INVENTORWRAPPER_API int InvInitInventor()
initialize the Open Inventor base library (no GUI)
INVENTORWRAPPER_API void * InvDBGetGlobalField(const char *name)
get a global field
INVENTORWRAPPER_API void InvSFVec3fSetValue(void *field, const float *values)
INVENTORWRAPPER_API int InvSFEnumFieldGetValue(void *field)
Fast field access methods: (be carefull to call only with correct types)
INVENTORWRAPPER_API void InvSFPlaneGetValue(void *field, float *values)
INVENTORWRAPPER_API void InvMFieldSetValue(void *field, int index, const char *value)
set the value of a SoMField
INVENTORWRAPPER_API void InvMFVec4fFinishEditing(void *field)
start editing SoMFVec4f field
INVENTORWRAPPER_API void * InvNodeCopy(void *node)
copy the given node
INVENTORWRAPPER_API void InvSFUInt32FieldSetValue(void *field, unsigned int value)
INVENTORWRAPPER_API void * InvFieldSensorGetField(void *sensor)
get attached field
INVENTORWRAPPER_API void InvSFPlaneSetValue(void *field, const float *values)
INVENTORWRAPPER_API void InvNodeSetValues(void *node, const char *values)
set values of a node in inventor file format
INVENTORWRAPPER_API void InvSFVec4fSetValue(void *field, const float *values)
INVENTORWRAPPER_API void InvFieldSensorSetPriority(void *sensor, int priority)
set priority of sensor
INVENTORWRAPPER_API void InvFieldSensorAttach(void *sensor, void *field)
attach field to sensor
INVENTORWRAPPER_API void * InvEngineGetOutput(void *engine, const char *name)
Inventor Engines.
INVENTORWRAPPER_API const char * InvEngineGetIndexedOutputName(void *engine, int index)
get name of output at index
INVENTORWRAPPER_API void * InvMFVec4fStartEditing(void *field)
stop editing SoMFVec4f field
INVENTORWRAPPER_API int InvFieldIsIgnored(void *field)
check the ignored state of field
INVENTORWRAPPER_API void InvNodeSetIndexedFieldValue(void *node, int index, const char *value)
set field value by index of the field
INVENTORWRAPPER_API void InvNodeRef(void *node)
ref the node
INVENTORWRAPPER_API void * InvNodeFieldGetNodePointer(void *field)
get pointer to the node in a SoNodeField, may be NULL
INVENTORWRAPPER_API void InvFieldSetValue(void *field, const char *value)
set value of field
INVENTORWRAPPER_API int InvMFieldGetNumValues(void *field)
get the number of values in a SoMField
INVENTORWRAPPER_API void InvDeleteTimerSensor(void *timer)
delete a timer sensor
INVENTORWRAPPER_API void InvSFVec4dSetValue(void *field, const double *values)
INVENTORWRAPPER_API int InvEngineGetNumOutputs(void *engine)
get number of outputs
INVENTORWRAPPER_API void InvFieldSetIgnored(void *field, int ignore)
set the ignored state of field
void InvSensorCB(void *data, void *sensor)
This file defines a C Wrapper for Open Inventor to be used from MeVisLab.
INVENTORWRAPPER_API const char * InvFieldGetType(void *field)
get type of field
INVENTORWRAPPER_API void InvNodeDisableNotify(void *node)
disable notify of a node
INVENTORWRAPPER_API void InvSbVec4fSetValue(void *vecs, int index, const float value[4])
Set value of SbVec4f array.
INVENTORWRAPPER_API void InvNodeFieldSetNodePointer(void *field, void *node)
set pointer of the node in a SoNodeField, may be NULL
INVENTORWRAPPER_API void * InvCreateFieldSensor(void *target, InvSensorCB *callback, int priority)
Inventor Sensors.
INVENTORWRAPPER_API void InvMFVec2dFinishEditing(void *field)
stop editing SoMFVec2d field
INVENTORWRAPPER_API int InvFieldGetNumEnums(void *field)
get number of enum values of field
INVENTORWRAPPER_API int InvFieldSensorGetPriority(void *sensor)
get priority of sensor
INVENTORWRAPPER_API int InvSFBoolFieldGetValue(void *field)
INVENTORWRAPPER_API void InvSFRotationGetValue(void *field, float *values)
INVENTORWRAPPER_API int InvNodeGetNumFields(void *node)
get number of fields in node
INVENTORWRAPPER_API void InvSFRotationdSetValue(void *field, const double *values)
INVENTORWRAPPER_API void InvXVImageFieldConnectFromML(void *field, void *mlConnector)
deprecated method, use the InvMLImageFieldConnectFromML
INVENTORWRAPPER_API void * InvSFMLConnectorGetPtr(void *field)
Inventor ML Fields.
INVENTORWRAPPER_API void InvSFEnumFieldSetValue(void *field, int value)
INVENTORWRAPPER_API int InvNodeIsDerivedFrom(void *node, const char *superclass)
check if node is derived from superclass
INVENTORWRAPPER_API int InvSensorManagerIsDelaySensorPending()
check if a delay queue sensor is pending
INVENTORWRAPPER_API SensorManagerCB InvSensorManagerGetChangedCB(void **data)
get the current sensor manager callback
INVENTORWRAPPER_API void * InvCreateWriteAction()
create a write action
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 int InvGroupGetNumChildren(void *group)
get number of children in SoGroup (not recursive)
INVENTORWRAPPER_API void InvMFVec2fFinishEditing(void *field)
stop editing SoMFVec2f field
INVENTORWRAPPER_API void InvSFVec4dGetValue(void *field, double *values)
INVENTORWRAPPER_API void * InvEngineGetIndexedOutput(void *engine, int index)
get output at index
INVENTORWRAPPER_API size_t InvMFieldGetValueSize(void *field, int index)
get the needed buffer size for the value of a SOMField field
INVENTORWRAPPER_API void InvSbVec4dSetValue(void *vecs, int index, const double value[4])
Set value of SbVec4d array.
INVENTORWRAPPER_API void InvNodeUnref(void *node)
unref the node
INVENTORWRAPPER_API void InvSFFloatFieldSetValue(void *field, float value)
INVENTORWRAPPER_API void InvSFVec4fGetValue(void *field, float *values)
INVENTORWRAPPER_API void InvMFVec4dFinishEditing(void *field)
start editing SoMFVec4d field
INVENTORWRAPPER_API void * InvGroupGetChildAtIndex(void *group, int index)
get child at index of SoGroup node
INVENTORWRAPPER_API const char * InvOutputGetType(void *output)
get type string of output
INVENTORWRAPPER_API size_t InvFieldGetValueSize(void *field)
get value of field, returns required buffer size
INVENTORWRAPPER_API void InvWriteActionUseBuffer(void *action)
set write action to use a buffer
INVENTORWRAPPER_API void InvSensorManagerProcessTimerQueue()
process the timer queue
INVENTORWRAPPER_API void * InvCreateSceneFromBuffer(void *buffer, size_t size)
Create a scene from a given buffer (no null terminator needed)
INVENTORWRAPPER_API void * InvNodeGetField(void *node, const char *name)
get the field of a node by its name
INVENTORWRAPPER_API void InvSFPlanedSetValue(void *field, const double *values)
INVENTORWRAPPER_API int InvSensorManagerIsTimerSensorPending(double *interval)
check if a timer sensor is pending
INVENTORWRAPPER_API void InvSensorManagerProcessDelayQueue(int idle)
process the delay queue (idle==0 means not idle, idle==1 means to schedule idle sensors also)
INVENTORWRAPPER_API void InvSensorManagerSetChangedCB(SensorManagerCB func, void *data)
set the sensor manager changed cb, called whenever the sensor manager notes a change
INVENTORWRAPPER_API size_t InvNodeGetValues(void *node, char *values, size_t size)
stores node to a buffer, returns the needed size
INVENTORWRAPPER_API void InvFieldDisconnect(void *field)
disconnect field
INVENTORWRAPPER_API void * InvMFVec3fStartEditing(void *field)
stop editing SoMFVec3f field
INVENTORWRAPPER_API void InvSFInt32FieldSetValue(void *field, int value)
INVENTORWRAPPER_API void InvBaseSetName(void *base, const char *name)
set the name of the node/engine
INVENTORWRAPPER_API void InvSFMLBaseSetPtr(void *field, void *base)
INVENTORWRAPPER_API void InvGroupRemoveAllChildren(void *group)
remove all children from SoGroup
INVENTORWRAPPER_API void InvSFVec2dGetValue(void *field, double *values)
INVENTORWRAPPER_API void InvGroupAddChild(void *group, void *child)
Inventor SoGroup.
INVENTORWRAPPER_API void InvSFVec3dGetValue(void *field, double *values)
INVENTORWRAPPER_API unsigned int InvSFUInt32FieldGetValue(void *field)
INVENTORWRAPPER_API void * InvCreateTimerSensor(void *target, InvSensorCB *callback)
Timer sensors.
INVENTORWRAPPER_API void InvSbVec3fSetValue(void *vecs, int index, const float value[3])
Set value of SbVec3f array.
INVENTORWRAPPER_API void * InvMFVec2dStartEditing(void *field)
start editing SoMFVec2d field
INVENTORWRAPPER_API int InvFieldConnectFrom(void *field, void *srcfield)
connect from given field
INVENTORWRAPPER_API void InvMLImageFieldDisconnectFromML(void *field)
disconnect given SoSFMLImage field if it was connected to ML
INVENTORWRAPPER_API void InvSFRotationdGetValue(void *field, double *values)
INVENTORWRAPPER_API void InvSFBoolFieldSetValue(void *field, int value)
INVENTORWRAPPER_API void InvTimerSensorSchedule(void *timer)
start the timer
INVENTORWRAPPER_API void InvSFVec2fGetValue(void *field, float *values)
INVENTORWRAPPER_API void InvDeleteWriteAction(void *action)
delete the write action
INVENTORWRAPPER_API void InvNodeSync(void *src, void *dest)
sync two nodes
INVENTORWRAPPER_API int InvNodeIsOverride(void *node)
get the override flag of a node (0 == false, 1 == true)
INVENTORWRAPPER_API int InvInit(void *window)
INVENTORWRAPPER_API void InvMFVec3dFinishEditing(void *field)
start editing SoMFVec3d field
INVENTORWRAPPER_API void * InvWriteActionGetBuffer(void *action, size_t *size)
get the buffer of the write action (needs a call to InvWriteActionUseBuffer)
INVENTORWRAPPER_API void * InvDBCreateGlobalField(const char *name, const char *type)
Inventor Fields.
INVENTORWRAPPER_API void InvFieldTouch(void *field)
touch the field
INVENTORWRAPPER_API void * InvCreateSceneFromFile(const char *filename)
Scene creation and writing (ILAB4 only)
INVENTORWRAPPER_API void InvSFRotationSetValue(void *field, const float *values)
INVENTORWRAPPER_API void * InvMFVec3dStartEditing(void *field)
stop editing SoMFVec3d field
INVENTORWRAPPER_API void InvWriteActionApplyNode(void *action, void *node)
apply write action to given node
INVENTORWRAPPER_API void InvSFVec3dSetValue(void *field, const double *values)
INVENTORWRAPPER_API void InvSFDoubleFieldSetValue(void *field, double value)
INVENTORWRAPPER_API void InvSbVec3dSetValue(void *vecs, int index, const double value[3])
Set value of SbVec3d array.
INVENTORWRAPPER_API const char * InvNodeGetType(void *node)
get the type of a node as string
INVENTORWRAPPER_API void InvSFStringSetValue(void *field, const char *value)
set the string value of a SoSFString field
INVENTORWRAPPER_API void * InvSFMLBaseGetPtr(void *field)
get ml::Base pointer stored in SoSFMLBase field (may be NULL)
INVENTORWRAPPER_API size_t InvNodeGetValuesSize(void *node)
get the size that is needed to store the node to a buffer
INVENTORWRAPPER_API void InvNodeEnableNotify(void *node)
enable notify of a node
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 InvSbVec2fSetValue(void *vecs, int index, const float value[2])
Set value of SbVec2f array.
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 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 InvSFInt32FieldGetValue(void *field)