This repository has been archived by the owner on Aug 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
v_repLib.cpp
4163 lines (4134 loc) · 157 KB
/
v_repLib.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// This file is part of V-REP, the Virtual Robot Experimentation Platform.
//
// Copyright 2006-2017 Coppelia Robotics GmbH. All rights reserved.
// marc@coppeliarobotics.com
// www.coppeliarobotics.com
//
// V-REP is dual-licensed, under the terms of EITHER (at your option):
// 1. V-REP commercial license (contact us for details)
// 2. GNU GPL (see below)
//
// GNU GPL license:
// -------------------------------------------------------------------
// V-REP is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// V-REP IS DISTRIBUTED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
// WARRANTY. THE USER WILL USE IT AT HIS/HER OWN RISK. THE ORIGINAL
// AUTHORS AND COPPELIA ROBOTICS GMBH WILL NOT BE LIABLE FOR DATA LOSS,
// DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING OR
// MISUSING THIS SOFTWARE.
//
// See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with V-REP. If not, see <http://www.gnu.org/licenses/>.
// -------------------------------------------------------------------
//
// This file was automatically created for V-REP release V3.4.0 rev. 1 on April 5th 2017
#include "v_repLib.h"
#include <stdio.h>
#if defined (__linux) || defined (__APPLE__)
#include <dlfcn.h>
#endif
#ifndef V_REP_LIBRARY
ptrSimRunSimulator simRunSimulator=0;
ptrSimGetSimulatorMessage simGetSimulatorMessage=0;
ptrSimGetMainWindow simGetMainWindow=0;
ptrSimGetLastError simGetLastError=0;
ptrSimLoadModule simLoadModule=0;
ptrSimUnloadModule simUnloadModule=0;
ptrSimSendModuleMessage simSendModuleMessage=0;
ptrSimSetBooleanParameter simSetBooleanParameter=0;
ptrSimGetBooleanParameter simGetBooleanParameter=0;
ptrSimSetBoolParameter simSetBoolParameter=0;
ptrSimGetBoolParameter simGetBoolParameter=0;
ptrSimSetIntegerParameter simSetIntegerParameter=0;
ptrSimGetIntegerParameter simGetIntegerParameter=0;
ptrSimSetInt32Parameter simSetInt32Parameter=0;
ptrSimGetInt32Parameter simGetInt32Parameter=0;
ptrSimGetUInt64Parameter simGetUInt64Parameter=0;
ptrSimSetFloatingParameter simSetFloatingParameter=0;
ptrSimGetFloatingParameter simGetFloatingParameter=0;
ptrSimSetFloatParameter simSetFloatParameter=0;
ptrSimGetFloatParameter simGetFloatParameter=0;
ptrSimSetStringParameter simSetStringParameter=0;
ptrSimGetStringParameter simGetStringParameter=0;
ptrSimGetObjectHandle simGetObjectHandle=0;
ptrSimRemoveObject simRemoveObject=0;
ptrSimRemoveModel simRemoveModel=0;
ptrSimGetObjectName simGetObjectName=0;
ptrSimGetObjects simGetObjects=0;
ptrSimSetObjectName simSetObjectName=0;
ptrSimGetCollectionHandle simGetCollectionHandle=0;
ptrSimRemoveCollection simRemoveCollection=0;
ptrSimEmptyCollection simEmptyCollection=0;
ptrSimGetCollectionName simGetCollectionName=0;
ptrSimSetCollectionName simSetCollectionName=0;
ptrSimGetObjectMatrix simGetObjectMatrix=0;
ptrSimSetObjectMatrix simSetObjectMatrix=0;
ptrSimGetObjectPosition simGetObjectPosition=0;
ptrSimSetObjectPosition simSetObjectPosition=0;
ptrSimGetObjectOrientation simGetObjectOrientation=0;
ptrSimSetObjectOrientation simSetObjectOrientation=0;
ptrSimGetJointPosition simGetJointPosition=0;
ptrSimSetJointPosition simSetJointPosition=0;
ptrSimSetJointTargetPosition simSetJointTargetPosition=0;
ptrSimGetJointTargetPosition simGetJointTargetPosition=0;
ptrSimSetJointForce simSetJointForce=0;
ptrSimGetPathPosition simGetPathPosition=0;
ptrSimSetPathPosition simSetPathPosition=0;
ptrSimGetPathLength simGetPathLength=0;
ptrSimGetJointMatrix simGetJointMatrix=0;
ptrSimSetSphericalJointMatrix simSetSphericalJointMatrix=0;
ptrSimGetJointInterval simGetJointInterval=0;
ptrSimSetJointInterval simSetJointInterval=0;
ptrSimGetObjectParent simGetObjectParent=0;
ptrSimGetObjectChild simGetObjectChild=0;
ptrSimSetObjectParent simSetObjectParent=0;
ptrSimGetObjectType simGetObjectType=0;
ptrSimGetJointType simGetJointType=0;
ptrSimBuildIdentityMatrix simBuildIdentityMatrix=0;
ptrSimCopyMatrix simCopyMatrix=0;
ptrSimBuildMatrix simBuildMatrix=0;
ptrSimGetEulerAnglesFromMatrix simGetEulerAnglesFromMatrix=0;
ptrSimInvertMatrix simInvertMatrix=0;
ptrSimMultiplyMatrices simMultiplyMatrices=0;
ptrSimInterpolateMatrices simInterpolateMatrices=0;
ptrSimTransformVector simTransformVector=0;
ptrSimReservedCommand simReservedCommand=0;
ptrSimGetSimulationTime simGetSimulationTime=0;
ptrSimGetSimulationState simGetSimulationState=0;
ptrSimGetSystemTime simGetSystemTime=0;
ptrSimGetSystemTimeInMilliseconds simGetSystemTimeInMilliseconds=0;
ptrSimGetSystemTimeInMs simGetSystemTimeInMs=0;
ptrSimLoadScene simLoadScene=0;
ptrSimCloseScene simCloseScene=0;
ptrSimSaveScene simSaveScene=0;
ptrSimLoadModel simLoadModel=0;
ptrSimSaveModel simSaveModel=0;
ptrSimAddStatusbarMessage simAddStatusbarMessage=0;
ptrSimAddModuleMenuEntry simAddModuleMenuEntry=0;
ptrSimSetModuleMenuItemState simSetModuleMenuItemState=0;
ptrSimDoesFileExist simDoesFileExist=0;
ptrSimIsObjectInSelection simIsObjectInSelection=0;
ptrSimAddObjectToSelection simAddObjectToSelection=0;
ptrSimRemoveObjectFromSelection simRemoveObjectFromSelection=0;
ptrSimGetObjectSelectionSize simGetObjectSelectionSize=0;
ptrSimGetObjectLastSelection simGetObjectLastSelection=0;
ptrSimGetObjectSelection simGetObjectSelection=0;
ptrSimHandleCollision simHandleCollision=0;
ptrSimReadCollision simReadCollision=0;
ptrSimHandleDistance simHandleDistance=0;
ptrSimReadDistance simReadDistance=0;
ptrSimHandleProximitySensor simHandleProximitySensor=0;
ptrSimReadProximitySensor simReadProximitySensor=0;
ptrSimHandleMill simHandleMill=0;
ptrSimHandleIkGroup simHandleIkGroup=0;
ptrSimCheckIkGroup simCheckIkGroup=0;
ptrSimHandleDynamics simHandleDynamics=0;
ptrSimGetMechanismHandle simGetMechanismHandle=0;
ptrSimHandleMechanism simHandleMechanism=0;
ptrSimGetScriptHandle simGetScriptHandle=0;
ptrSimSetScriptText simSetScriptText=0;
ptrSimGetScriptText simGetScriptText=0;
ptrSimGetScriptProperty simGetScriptProperty=0;
ptrSimAssociateScriptWithObject simAssociateScriptWithObject=0;
ptrSimGetScript simGetScript=0;
ptrSimGetScriptAssociatedWithObject simGetScriptAssociatedWithObject=0;
ptrSimGetCustomizationScriptAssociatedWithObject simGetCustomizationScriptAssociatedWithObject=0;
ptrSimGetObjectAssociatedWithScript simGetObjectAssociatedWithScript=0;
ptrSimGetScriptName simGetScriptName=0;
ptrSimHandleMainScript simHandleMainScript=0;
ptrSimHandleGeneralCallbackScript simHandleGeneralCallbackScript=0;
ptrSimResetScript simResetScript=0;
ptrSimAddScript simAddScript=0;
ptrSimRemoveScript simRemoveScript=0;
ptrSimRefreshDialogs simRefreshDialogs=0;
ptrSimGetCollisionHandle simGetCollisionHandle=0;
ptrSimGetDistanceHandle simGetDistanceHandle=0;
ptrSimGetIkGroupHandle simGetIkGroupHandle=0;
ptrSimResetCollision simResetCollision=0;
ptrSimResetDistance simResetDistance=0;
ptrSimResetProximitySensor simResetProximitySensor=0;
ptrSimResetMill simResetMill=0;
ptrSimCheckProximitySensor simCheckProximitySensor=0;
ptrSimCheckProximitySensorEx simCheckProximitySensorEx=0;
ptrSimCheckProximitySensorEx2 simCheckProximitySensorEx2=0;
ptrSimCreateBuffer simCreateBuffer=0;
ptrSimReleaseBuffer simReleaseBuffer=0;
ptrSimCheckCollision simCheckCollision=0;
ptrSimCheckCollisionEx simCheckCollisionEx=0;
ptrSimCheckDistance simCheckDistance=0;
ptrSimGetObjectConfiguration simGetObjectConfiguration=0;
ptrSimSetObjectConfiguration simSetObjectConfiguration=0;
ptrSimGetConfigurationTree simGetConfigurationTree=0;
ptrSimSetConfigurationTree simSetConfigurationTree=0;
ptrSimSetSimulationTimeStep simSetSimulationTimeStep=0;
ptrSimGetSimulationTimeStep simGetSimulationTimeStep=0;
ptrSimGetRealTimeSimulation simGetRealTimeSimulation=0;
ptrSimIsRealTimeSimulationStepNeeded simIsRealTimeSimulationStepNeeded=0;
ptrSimAdjustRealTimeTimer simAdjustRealTimeTimer=0;
ptrSimGetSimulationPassesPerRenderingPass simGetSimulationPassesPerRenderingPass=0;
ptrSimAdvanceSimulationByOneStep simAdvanceSimulationByOneStep=0;
ptrSimStartSimulation simStartSimulation=0;
ptrSimStopSimulation simStopSimulation=0;
ptrSimPauseSimulation simPauseSimulation=0;
ptrSimBroadcastMessage simBroadcastMessage=0;
ptrSimGetModuleName simGetModuleName=0;
ptrSimGetScriptSimulationParameter simGetScriptSimulationParameter=0;
ptrSimSetScriptSimulationParameter simSetScriptSimulationParameter=0;
ptrSimFloatingViewAdd simFloatingViewAdd=0;
ptrSimFloatingViewRemove simFloatingViewRemove=0;
ptrSimAdjustView simAdjustView=0;
ptrSimSetLastError simSetLastError=0;
ptrSimHandleGraph simHandleGraph=0;
ptrSimResetGraph simResetGraph=0;
ptrSimSetNavigationMode simSetNavigationMode=0;
ptrSimGetNavigationMode simGetNavigationMode=0;
ptrSimSetPage simSetPage=0;
ptrSimGetPage simGetPage=0;
ptrSimDisplayDialog simDisplayDialog=0;
ptrSimGetDialogResult simGetDialogResult=0;
ptrSimGetDialogInput simGetDialogInput=0;
ptrSimEndDialog simEndDialog=0;
ptrSimRegisterCustomLuaFunction simRegisterCustomLuaFunction=0;
ptrSimRegisterScriptCallbackFunction simRegisterScriptCallbackFunction=0;
ptrSimRegisterCustomLuaVariable simRegisterCustomLuaVariable=0;
ptrSimRegisterScriptVariable simRegisterScriptVariable=0;
ptrSimSetJointTargetVelocity simSetJointTargetVelocity=0;
ptrSimGetJointTargetVelocity simGetJointTargetVelocity=0;
ptrSimSetPathTargetNominalVelocity simSetPathTargetNominalVelocity=0;
ptrSimGetScriptRawBuffer simGetScriptRawBuffer=0;
ptrSimSetScriptRawBuffer simSetScriptRawBuffer=0;
ptrSimReleaseScriptRawBuffer simReleaseScriptRawBuffer=0;
ptrSimCopyPasteObjects simCopyPasteObjects=0;
ptrSimScaleSelectedObjects simScaleSelectedObjects=0;
ptrSimScaleObjects simScaleObjects=0;
ptrSimDeleteSelectedObjects simDeleteSelectedObjects=0;
ptrSimGetObjectUniqueIdentifier simGetObjectUniqueIdentifier=0;
ptrSimGetNameSuffix simGetNameSuffix=0;
ptrSimSendData simSendData=0;
ptrSimReceiveData simReceiveData=0;
ptrSimSetGraphUserData simSetGraphUserData=0;
ptrSimSetNameSuffix simSetNameSuffix=0;
ptrSimAddDrawingObject simAddDrawingObject=0;
ptrSimRemoveDrawingObject simRemoveDrawingObject=0;
ptrSimAddDrawingObjectItem simAddDrawingObjectItem=0;
ptrSimAddParticleObject simAddParticleObject=0;
ptrSimRemoveParticleObject simRemoveParticleObject=0;
ptrSimAddParticleObjectItem simAddParticleObjectItem=0;
ptrSimGetObjectSizeFactor simGetObjectSizeFactor=0;
ptrSimAnnounceSceneContentChange simAnnounceSceneContentChange=0;
ptrSimResetMilling simResetMilling=0;
ptrSimApplyMilling simApplyMilling=0;
ptrSimSetIntegerSignal simSetIntegerSignal=0;
ptrSimGetIntegerSignal simGetIntegerSignal=0;
ptrSimClearIntegerSignal simClearIntegerSignal=0;
ptrSimSetFloatSignal simSetFloatSignal=0;
ptrSimGetFloatSignal simGetFloatSignal=0;
ptrSimClearFloatSignal simClearFloatSignal=0;
ptrSimSetStringSignal simSetStringSignal=0;
ptrSimGetStringSignal simGetStringSignal=0;
ptrSimClearStringSignal simClearStringSignal=0;
ptrSimGetSignalName simGetSignalName=0;
ptrSimSetObjectProperty simSetObjectProperty=0;
ptrSimGetObjectProperty simGetObjectProperty=0;
ptrSimSetObjectSpecialProperty simSetObjectSpecialProperty=0;
ptrSimGetObjectSpecialProperty simGetObjectSpecialProperty=0;
ptrSimGetPositionOnPath simGetPositionOnPath=0;
ptrSimGetDataOnPath simGetDataOnPath=0;
ptrSimGetOrientationOnPath simGetOrientationOnPath=0;
ptrSimGetClosestPositionOnPath simGetClosestPositionOnPath=0;
ptrSimReadForceSensor simReadForceSensor=0;
ptrSimBreakForceSensor simBreakForceSensor=0;
ptrSimGetShapeVertex simGetShapeVertex=0;
ptrSimGetShapeTriangle simGetShapeTriangle=0;
ptrSimSetLightParameters simSetLightParameters=0;
ptrSimGetLightParameters simGetLightParameters=0;
ptrSimGetVelocity simGetVelocity=0;
ptrSimGetObjectVelocity simGetObjectVelocity=0;
ptrSimAddForceAndTorque simAddForceAndTorque=0;
ptrSimAddForce simAddForce=0;
ptrSimSetExplicitHandling simSetExplicitHandling=0;
ptrSimGetExplicitHandling simGetExplicitHandling=0;
ptrSimGetLinkDummy simGetLinkDummy=0;
ptrSimSetLinkDummy simSetLinkDummy=0;
ptrSimSetModelProperty simSetModelProperty=0;
ptrSimGetModelProperty simGetModelProperty=0;
ptrSimSetShapeColor simSetShapeColor=0;
ptrSimGetShapeColor simGetShapeColor=0;
ptrSimResetDynamicObject simResetDynamicObject=0;
ptrSimSetJointMode simSetJointMode=0;
ptrSimGetJointMode simGetJointMode=0;
ptrSimSerialOpen simSerialOpen=0;
ptrSimSerialClose simSerialClose=0;
ptrSimSerialSend simSerialSend=0;
ptrSimSerialRead simSerialRead=0;
ptrSimSerialCheck simSerialCheck=0;
ptrSimGetContactInfo simGetContactInfo=0;
ptrSimSetThreadIsFree simSetThreadIsFree=0;
ptrSimTubeOpen simTubeOpen=0;
ptrSimTubeClose simTubeClose=0;
ptrSimTubeWrite simTubeWrite=0;
ptrSimTubeRead simTubeRead=0;
ptrSimTubeStatus simTubeStatus=0;
ptrSimAuxiliaryConsoleOpen simAuxiliaryConsoleOpen=0;
ptrSimAuxiliaryConsoleClose simAuxiliaryConsoleClose=0;
ptrSimAuxiliaryConsoleShow simAuxiliaryConsoleShow=0;
ptrSimAuxiliaryConsolePrint simAuxiliaryConsolePrint=0;
ptrSimImportShape simImportShape=0;
ptrSimImportMesh simImportMesh=0;
ptrSimExportMesh simExportMesh=0;
ptrSimCreateMeshShape simCreateMeshShape=0;
ptrSimCreatePureShape simCreatePureShape=0;
ptrSimCreateHeightfieldShape simCreateHeightfieldShape=0;
ptrSimGetShapeMesh simGetShapeMesh=0;
ptrSimAddBanner simAddBanner=0;
ptrSimRemoveBanner simRemoveBanner=0;
ptrSimCreateJoint simCreateJoint=0;
ptrSimCreateDummy simCreateDummy=0;
ptrSimCreateProximitySensor simCreateProximitySensor=0;
ptrSimCreatePath simCreatePath=0;
ptrSimInsertPathCtrlPoints simInsertPathCtrlPoints=0;
ptrSimCutPathCtrlPoints simCutPathCtrlPoints=0;
ptrSimCreateForceSensor simCreateForceSensor=0;
ptrSimCreateVisionSensor simCreateVisionSensor=0;
ptrSimRegisterContactCallback simRegisterContactCallback=0;
ptrSimGetObjectIntParameter simGetObjectIntParameter=0;
ptrSimSetObjectIntParameter simSetObjectIntParameter=0;
ptrSimGetObjectInt32Parameter simGetObjectInt32Parameter=0;
ptrSimSetObjectInt32Parameter simSetObjectInt32Parameter=0;
ptrSimGetObjectFloatParameter simGetObjectFloatParameter=0;
ptrSimSetObjectFloatParameter simSetObjectFloatParameter=0;
ptrSimGetObjectStringParameter simGetObjectStringParameter=0;
ptrSimSetObjectStringParameter simSetObjectStringParameter=0;
ptrSimSetSimulationPassesPerRenderingPass simSetSimulationPassesPerRenderingPass=0;
ptrSimGetRotationAxis simGetRotationAxis=0;
ptrSimRotateAroundAxis simRotateAroundAxis=0;
ptrSimGetJointForce simGetJointForce=0;
ptrSimSetArrayParameter simSetArrayParameter=0;
ptrSimGetArrayParameter simGetArrayParameter=0;
ptrSimSetIkGroupProperties simSetIkGroupProperties=0;
ptrSimSetIkElementProperties simSetIkElementProperties=0;
ptrSimCameraFitToView simCameraFitToView=0;
ptrSimPersistentDataWrite simPersistentDataWrite=0;
ptrSimPersistentDataRead simPersistentDataRead=0;
ptrSimIsHandleValid simIsHandleValid=0;
ptrSimHandleVisionSensor simHandleVisionSensor=0;
ptrSimReadVisionSensor simReadVisionSensor=0;
ptrSimResetVisionSensor simResetVisionSensor=0;
ptrSimCheckVisionSensor simCheckVisionSensor=0;
ptrSimCheckVisionSensorEx simCheckVisionSensorEx=0;
ptrSimGetVisionSensorResolution simGetVisionSensorResolution=0;
ptrSimGetVisionSensorImage simGetVisionSensorImage=0;
ptrSimGetVisionSensorCharImage simGetVisionSensorCharImage=0;
ptrSimSetVisionSensorImage simSetVisionSensorImage=0;
ptrSimSetVisionSensorCharImage simSetVisionSensorCharImage=0;
ptrSimGetVisionSensorDepthBuffer simGetVisionSensorDepthBuffer=0;
ptrSimGetObjectQuaternion simGetObjectQuaternion=0;
ptrSimSetObjectQuaternion simSetObjectQuaternion=0;
ptrSimRMLPosition simRMLPosition=0;
ptrSimRMLVelocity simRMLVelocity=0;
ptrSimRMLPos simRMLPos=0;
ptrSimRMLVel simRMLVel=0;
ptrSimRMLStep simRMLStep=0;
ptrSimRMLRemove simRMLRemove=0;
ptrSimBuildMatrixQ simBuildMatrixQ=0;
ptrSimGetQuaternionFromMatrix simGetQuaternionFromMatrix=0;
ptrSimFileDialog simFileDialog=0;
ptrSimMsgBox simMsgBox=0;
ptrSimSetShapeMassAndInertia simSetShapeMassAndInertia=0;
ptrSimGetShapeMassAndInertia simGetShapeMassAndInertia=0;
ptrSimGroupShapes simGroupShapes=0;
ptrSimUngroupShape simUngroupShape=0;
ptrSimConvexDecompose simConvexDecompose=0;
ptrSimGetIkGroupMatrix simGetIkGroupMatrix=0;
ptrSimAddGhost simAddGhost=0;
ptrSimModifyGhost simModifyGhost=0;
ptrSimQuitSimulator simQuitSimulator=0;
ptrSimGetThreadId simGetThreadId=0;
ptrSimLockResources simLockResources=0;
ptrSimUnlockResources simUnlockResources=0;
ptrSimEnableEventCallback simEnableEventCallback=0;
ptrSimSetShapeMaterial simSetShapeMaterial=0;
ptrSimGetTextureId simGetTextureId=0;
ptrSimReadTexture simReadTexture=0;
ptrSimWriteTexture simWriteTexture=0;
ptrSimCreateTexture simCreateTexture=0;
ptrSimWriteCustomDataBlock simWriteCustomDataBlock=0;
ptrSimReadCustomDataBlock simReadCustomDataBlock=0;
ptrSimReadCustomDataBlockTags simReadCustomDataBlockTags=0;
ptrSimAddPointCloud simAddPointCloud=0;
ptrSimModifyPointCloud simModifyPointCloud=0;
ptrSimGetShapeGeomInfo simGetShapeGeomInfo=0;
ptrSimGetObjectsInTree simGetObjectsInTree=0;
ptrSimSetObjectSizeValues simSetObjectSizeValues=0;
ptrSimGetObjectSizeValues simGetObjectSizeValues=0;
ptrSimScaleObject simScaleObject=0;
ptrSimSetShapeTexture simSetShapeTexture=0;
ptrSimGetShapeTextureId simGetShapeTextureId=0;
ptrSimGetCollectionObjects simGetCollectionObjects=0;
ptrSimHandleCustomizationScripts simHandleCustomizationScripts=0;
ptrSimSetScriptAttribute simSetScriptAttribute=0;
ptrSimGetScriptAttribute simGetScriptAttribute=0;
ptrSimReorientShapeBoundingBox simReorientShapeBoundingBox=0;
ptrSimSwitchThread simSwitchThread=0;
ptrSimCreateIkGroup simCreateIkGroup=0;
ptrSimRemoveIkGroup simRemoveIkGroup=0;
ptrSimCreateIkElement simCreateIkElement=0;
ptrSimCreateCollection simCreateCollection=0;
ptrSimAddObjectToCollection simAddObjectToCollection=0;
ptrSimSaveImage simSaveImage=0;
ptrSimLoadImage simLoadImage=0;
ptrSimGetScaledImage simGetScaledImage=0;
ptrSimTransformImage simTransformImage=0;
ptrSimGetQHull simGetQHull=0;
ptrSimGetDecimatedMesh simGetDecimatedMesh=0;
ptrSimExportIk simExportIk=0;
ptrSimCallScriptFunction simCallScriptFunction=0;
ptrSimCallScriptFunctionEx simCallScriptFunctionEx=0;
ptrSimComputeJacobian simComputeJacobian=0;
ptrSimGetConfigForTipPose simGetConfigForTipPose=0;
ptrSimGenerateIkPath simGenerateIkPath=0;
ptrSimGetExtensionString simGetExtensionString=0;
ptrSimComputeMassAndInertia simComputeMassAndInertia=0;
ptrSimCreateStack simCreateStack=0;
ptrSimReleaseStack simReleaseStack=0;
ptrSimCopyStack simCopyStack=0;
ptrSimPushNullOntoStack simPushNullOntoStack=0;
ptrSimPushBoolOntoStack simPushBoolOntoStack=0;
ptrSimPushInt32OntoStack simPushInt32OntoStack=0;
ptrSimPushFloatOntoStack simPushFloatOntoStack=0;
ptrSimPushDoubleOntoStack simPushDoubleOntoStack=0;
ptrSimPushStringOntoStack simPushStringOntoStack=0;
ptrSimPushUInt8TableOntoStack simPushUInt8TableOntoStack=0;
ptrSimPushInt32TableOntoStack simPushInt32TableOntoStack=0;
ptrSimPushFloatTableOntoStack simPushFloatTableOntoStack=0;
ptrSimPushDoubleTableOntoStack simPushDoubleTableOntoStack=0;
ptrSimPushTableOntoStack simPushTableOntoStack=0;
ptrSimInsertDataIntoStackTable simInsertDataIntoStackTable=0;
ptrSimGetStackSize simGetStackSize=0;
ptrSimPopStackItem simPopStackItem=0;
ptrSimMoveStackItemToTop simMoveStackItemToTop=0;
ptrSimIsStackValueNull simIsStackValueNull=0;
ptrSimGetStackBoolValue simGetStackBoolValue=0;
ptrSimGetStackInt32Value simGetStackInt32Value=0;
ptrSimGetStackFloatValue simGetStackFloatValue=0;
ptrSimGetStackDoubleValue simGetStackDoubleValue=0;
ptrSimGetStackStringValue simGetStackStringValue=0;
ptrSimGetStackTableInfo simGetStackTableInfo=0;
ptrSimGetStackUInt8Table simGetStackUInt8Table=0;
ptrSimGetStackInt32Table simGetStackInt32Table=0;
ptrSimGetStackFloatTable simGetStackFloatTable=0;
ptrSimGetStackDoubleTable simGetStackDoubleTable=0;
ptrSimUnfoldStackTable simUnfoldStackTable=0;
ptrSimDebugStack simDebugStack=0;
ptrSimSetScriptVariable simSetScriptVariable=0;
ptrSimGetEngineFloatParameter simGetEngineFloatParameter=0;
ptrSimGetEngineInt32Parameter simGetEngineInt32Parameter=0;
ptrSimGetEngineBoolParameter simGetEngineBoolParameter=0;
ptrSimSetEngineFloatParameter simSetEngineFloatParameter=0;
ptrSimSetEngineInt32Parameter simSetEngineInt32Parameter=0;
ptrSimSetEngineBoolParameter simSetEngineBoolParameter=0;
ptrSimCreateOctree simCreateOctree=0;
ptrSimCreatePointCloud simCreatePointCloud=0;
ptrSimSetPointCloudOptions simSetPointCloudOptions=0;
ptrSimGetPointCloudOptions simGetPointCloudOptions=0;
ptrSimInsertVoxelsIntoOctree simInsertVoxelsIntoOctree=0;
ptrSimRemoveVoxelsFromOctree simRemoveVoxelsFromOctree=0;
ptrSimInsertPointsIntoPointCloud simInsertPointsIntoPointCloud=0;
ptrSimRemovePointsFromPointCloud simRemovePointsFromPointCloud=0;
ptrSimIntersectPointsWithPointCloud simIntersectPointsWithPointCloud=0;
ptrSimGetOctreeVoxels simGetOctreeVoxels=0;
ptrSimGetPointCloudPoints simGetPointCloudPoints=0;
ptrSimInsertObjectIntoOctree simInsertObjectIntoOctree=0;
ptrSimSubtractObjectFromOctree simSubtractObjectFromOctree=0;
ptrSimInsertObjectIntoPointCloud simInsertObjectIntoPointCloud=0;
ptrSimSubtractObjectFromPointCloud simSubtractObjectFromPointCloud=0;
ptrSimCheckOctreePointOccupancy simCheckOctreePointOccupancy=0;
ptrSimOpenTextEditor simOpenTextEditor=0;
ptrSimPackTable simPackTable=0;
ptrSimUnpackTable simUnpackTable=0;
ptrSimSetVisionSensorFilter simSetVisionSensorFilter=0;
ptrSimGetVisionSensorFilter simGetVisionSensorFilter=0;
ptrSimSetReferencedHandles simSetReferencedHandles=0;
ptrSimGetReferencedHandles simGetReferencedHandles=0;
ptr_simGetContactCallbackCount _simGetContactCallbackCount=0;
ptr_simGetContactCallback _simGetContactCallback=0;
ptr_simSetDynamicSimulationIconCode _simSetDynamicSimulationIconCode=0;
ptr_simSetDynamicObjectFlagForVisualization _simSetDynamicObjectFlagForVisualization=0;
ptr_simGetObjectListSize _simGetObjectListSize=0;
ptr_simGetObjectFromIndex _simGetObjectFromIndex=0;
ptr_simGetObjectID _simGetObjectID=0;
ptr_simGetObjectType _simGetObjectType=0;
ptr_simGetObjectChildren _simGetObjectChildren=0;
ptr_simGetGeomProxyFromShape _simGetGeomProxyFromShape=0;
ptr_simGetParentObject _simGetParentObject=0;
ptr_simGetObject _simGetObject=0;
ptr_simGetIkGroupObject _simGetIkGroupObject=0;
ptr_simMpHandleIkGroupObject _simMpHandleIkGroupObject=0;
ptr_simGetObjectLocalTransformation _simGetObjectLocalTransformation=0;
ptr_simSetObjectLocalTransformation _simSetObjectLocalTransformation=0;
ptr_simSetObjectCumulativeTransformation _simSetObjectCumulativeTransformation=0;
ptr_simGetObjectCumulativeTransformation _simGetObjectCumulativeTransformation=0;
ptr_simIsShapeDynamicallyStatic _simIsShapeDynamicallyStatic=0;
ptr_simGetTreeDynamicProperty _simGetTreeDynamicProperty=0;
ptr_simGetDummyLinkType _simGetDummyLinkType=0;
ptr_simGetJointMode _simGetJointMode=0;
ptr_simIsJointInHybridOperation _simIsJointInHybridOperation=0;
ptr_simDisableDynamicTreeForManipulation _simDisableDynamicTreeForManipulation=0;
ptr_simIsShapeDynamicallyRespondable _simIsShapeDynamicallyRespondable=0;
ptr_simGetDynamicCollisionMask _simGetDynamicCollisionMask=0;
ptr_simGetLastParentForLocalGlobalCollidable _simGetLastParentForLocalGlobalCollidable=0;
ptr_simSetShapeIsStaticAndNotRespondableButDynamicTag _simSetShapeIsStaticAndNotRespondableButDynamicTag=0;
ptr_simGetShapeIsStaticAndNotRespondableButDynamicTag _simGetShapeIsStaticAndNotRespondableButDynamicTag=0;
ptr_simSetJointPosition _simSetJointPosition=0;
ptr_simGetJointPosition _simGetJointPosition=0;
ptr_simSetDynamicMotorPositionControlTargetPosition _simSetDynamicMotorPositionControlTargetPosition=0;
ptr_simGetInitialDynamicVelocity _simGetInitialDynamicVelocity=0;
ptr_simSetInitialDynamicVelocity _simSetInitialDynamicVelocity=0;
ptr_simGetInitialDynamicAngVelocity _simGetInitialDynamicAngVelocity=0;
ptr_simSetInitialDynamicAngVelocity _simSetInitialDynamicAngVelocity=0;
ptr_simGetStartSleeping _simGetStartSleeping=0;
ptr_simGetWasPutToSleepOnce _simGetWasPutToSleepOnce=0;
ptr_simGetDynamicsFullRefreshFlag _simGetDynamicsFullRefreshFlag=0;
ptr_simSetDynamicsFullRefreshFlag _simSetDynamicsFullRefreshFlag=0;
ptr_simSetGeomProxyDynamicsFullRefreshFlag _simSetGeomProxyDynamicsFullRefreshFlag=0;
ptr_simGetGeomProxyDynamicsFullRefreshFlag _simGetGeomProxyDynamicsFullRefreshFlag=0;
ptr_simGetParentFollowsDynamic _simGetParentFollowsDynamic=0;
ptr_simSetShapeDynamicVelocity _simSetShapeDynamicVelocity=0;
ptr_simGetAdditionalForceAndTorque _simGetAdditionalForceAndTorque=0;
ptr_simClearAdditionalForceAndTorque _simClearAdditionalForceAndTorque=0;
ptr_simGetJointPositionInterval _simGetJointPositionInterval=0;
ptr_simGetJointType _simGetJointType=0;
ptr_simIsForceSensorBroken _simIsForceSensorBroken=0;
ptr_simGetDynamicForceSensorLocalTransformationPart2 _simGetDynamicForceSensorLocalTransformationPart2=0;
ptr_simIsDynamicMotorEnabled _simIsDynamicMotorEnabled=0;
ptr_simIsDynamicMotorPositionCtrlEnabled _simIsDynamicMotorPositionCtrlEnabled=0;
ptr_simIsDynamicMotorTorqueModulationEnabled _simIsDynamicMotorTorqueModulationEnabled=0;
ptr_simGetMotorPid _simGetMotorPid=0;
ptr_simGetDynamicMotorTargetPosition _simGetDynamicMotorTargetPosition=0;
ptr_simGetDynamicMotorTargetVelocity _simGetDynamicMotorTargetVelocity=0;
ptr_simGetDynamicMotorMaxForce _simGetDynamicMotorMaxForce=0;
ptr_simGetDynamicMotorUpperLimitVelocity _simGetDynamicMotorUpperLimitVelocity=0;
ptr_simSetDynamicMotorReflectedPositionFromDynamicEngine _simSetDynamicMotorReflectedPositionFromDynamicEngine=0;
ptr_simSetJointSphericalTransformation _simSetJointSphericalTransformation=0;
ptr_simAddForceSensorCumulativeForcesAndTorques _simAddForceSensorCumulativeForcesAndTorques=0;
ptr_simAddJointCumulativeForcesOrTorques _simAddJointCumulativeForcesOrTorques=0;
ptr_simSetDynamicJointLocalTransformationPart2 _simSetDynamicJointLocalTransformationPart2=0;
ptr_simSetDynamicForceSensorLocalTransformationPart2 _simSetDynamicForceSensorLocalTransformationPart2=0;
ptr_simSetDynamicJointLocalTransformationPart2IsValid _simSetDynamicJointLocalTransformationPart2IsValid=0;
ptr_simSetDynamicForceSensorLocalTransformationPart2IsValid _simSetDynamicForceSensorLocalTransformationPart2IsValid=0;
ptr_simGetGeomWrapFromGeomProxy _simGetGeomWrapFromGeomProxy=0;
ptr_simGetLocalInertiaFrame _simGetLocalInertiaFrame=0;
ptr_simGetPurePrimitiveType _simGetPurePrimitiveType=0;
ptr_simIsGeomWrapGeometric _simIsGeomWrapGeometric=0;
ptr_simIsGeomWrapConvex _simIsGeomWrapConvex=0;
ptr_simGetGeometricCount _simGetGeometricCount=0;
ptr_simGetAllGeometrics _simGetAllGeometrics=0;
ptr_simGetPurePrimitiveSizes _simGetPurePrimitiveSizes=0;
ptr_simMakeDynamicAnnouncement _simMakeDynamicAnnouncement=0;
ptr_simGetVerticesLocalFrame _simGetVerticesLocalFrame=0;
ptr_simGetHeightfieldData _simGetHeightfieldData=0;
ptr_simGetCumulativeMeshes _simGetCumulativeMeshes=0;
ptr_simGetMass _simGetMass=0;
ptr_simGetPrincipalMomentOfInertia _simGetPrincipalMomentOfInertia=0;
ptr_simGetGravity _simGetGravity=0;
ptr_simGetTimeDiffInMs _simGetTimeDiffInMs=0;
ptr_simDoEntitiesCollide _simDoEntitiesCollide=0;
ptr_simGetDistanceBetweenEntitiesIfSmaller _simGetDistanceBetweenEntitiesIfSmaller=0;
ptr_simHandleJointControl _simHandleJointControl=0;
ptr_simHandleCustomContact _simHandleCustomContact=0;
ptr_simGetPureHollowScaling _simGetPureHollowScaling=0;
ptr_simGetJointCallbackCallOrder _simGetJointCallbackCallOrder=0;
// Deprecated begin
ptrSimGetMaterialId simGetMaterialId=0;
ptrSimGetShapeMaterial simGetShapeMaterial=0;
ptrSimHandleVarious simHandleVarious=0;
ptrSimSerialPortOpen simSerialPortOpen=0;
ptrSimSerialPortClose simSerialPortClose=0;
ptrSimSerialPortSend simSerialPortSend=0;
ptrSimSerialPortRead simSerialPortRead=0;
ptrSimJointGetForce simJointGetForce=0;
ptrSimGetPathPlanningHandle simGetPathPlanningHandle=0;
ptrSimGetMotionPlanningHandle simGetMotionPlanningHandle=0;
ptrSimGetMpConfigForTipPose simGetMpConfigForTipPose=0;
ptrSimFindMpPath simFindMpPath=0;
ptrSimSimplifyMpPath simSimplifyMpPath=0;
ptrSimGetMpConfigTransition simGetMpConfigTransition=0;
ptrSimFindIkPath simFindIkPath=0;
ptrSimCreateMotionPlanning simCreateMotionPlanning=0;
ptrSimRemoveMotionPlanning simRemoveMotionPlanning=0;
ptrSimSearchPath simSearchPath=0;
ptrSimInitializePathSearch simInitializePathSearch=0;
ptrSimPerformPathSearchStep simPerformPathSearchStep=0;
ptrSimLockInterface simLockInterface=0;
ptrSimCopyPasteSelectedObjects simCopyPasteSelectedObjects=0;
ptrSimResetPath simResetPath=0;
ptrSimHandlePath simHandlePath=0;
ptrSimResetJoint simResetJoint=0;
ptrSimHandleJoint simHandleJoint=0;
ptrSimAppendScriptArrayEntry simAppendScriptArrayEntry=0;
ptrSimClearScriptVariable simClearScriptVariable=0;
ptr_simGetJointOdeParameters _simGetJointOdeParameters=0;
ptr_simGetJointBulletParameters _simGetJointBulletParameters=0;
ptr_simGetOdeMaxContactFrictionCFMandERP _simGetOdeMaxContactFrictionCFMandERP=0;
ptr_simGetBulletCollisionMargin _simGetBulletCollisionMargin=0;
ptr_simGetBulletStickyContact _simGetBulletStickyContact=0;
ptr_simGetBulletRestitution _simGetBulletRestitution=0;
ptr_simGetVortexParameters _simGetVortexParameters=0;
ptr_simGetNewtonParameters _simGetNewtonParameters=0;
ptr_simGetDamping _simGetDamping=0;
ptr_simGetFriction _simGetFriction=0;
ptrSimAddSceneCustomData simAddSceneCustomData=0;
ptrSimGetSceneCustomDataLength simGetSceneCustomDataLength=0;
ptrSimGetSceneCustomData simGetSceneCustomData=0;
ptrSimAddObjectCustomData simAddObjectCustomData=0;
ptrSimGetObjectCustomDataLength simGetObjectCustomDataLength=0;
ptrSimGetObjectCustomData simGetObjectCustomData=0;
ptrSimCreateUI simCreateUI=0;
ptrSimCreateUIButton simCreateUIButton=0;
ptrSimGetUIHandle simGetUIHandle=0;
ptrSimGetUIProperty simGetUIProperty=0;
ptrSimGetUIEventButton simGetUIEventButton=0;
ptrSimSetUIProperty simSetUIProperty=0;
ptrSimGetUIButtonProperty simGetUIButtonProperty=0;
ptrSimSetUIButtonProperty simSetUIButtonProperty=0;
ptrSimGetUIButtonSize simGetUIButtonSize=0;
ptrSimSetUIButtonLabel simSetUIButtonLabel=0;
ptrSimGetUIButtonLabel simGetUIButtonLabel=0;
ptrSimSetUISlider simSetUISlider=0;
ptrSimGetUISlider simGetUISlider=0;
ptrSimSetUIButtonColor simSetUIButtonColor=0;
ptrSimSetUIButtonTexture simSetUIButtonTexture=0;
ptrSimCreateUIButtonArray simCreateUIButtonArray=0;
ptrSimSetUIButtonArrayColor simSetUIButtonArrayColor=0;
ptrSimDeleteUIButtonArray simDeleteUIButtonArray=0;
ptrSimRemoveUI simRemoveUI=0;
ptrSimSetUIPosition simSetUIPosition=0;
ptrSimGetUIPosition simGetUIPosition=0;
ptrSimLoadUI simLoadUI=0;
ptrSimSaveUI simSaveUI=0;
// Deprecated end
LIBRARY loadVrepLibrary(const char* pathAndFilename)
{
#ifdef QT_FRAMEWORK
QLibrary* lib=new QLibrary(pathAndFilename);
if (!lib->load())
{
delete lib;
lib=NULL;
}
return lib;
#else
#ifdef _WIN32
return LoadLibraryA(pathAndFilename);
#elif defined (__linux) || defined (__APPLE__)
return dlopen(pathAndFilename,RTLD_LAZY);
#endif
#endif // QT_FRAMEWORK
}
void unloadVrepLibrary(LIBRARY lib)
{
#ifdef QT_FRAMEWORK
if (lib!=0)
{
lib->unload();
delete lib;
}
#else
#ifdef _WIN32
if (lib!=0)
FreeLibrary(lib);
#elif defined (__linux) || defined (__APPLE__)
dlclose(lib);
#endif
#endif // QT_FRAMEWORK
}
FARPROC _getProcAddress(LIBRARY lib,const char* funcName)
{
#ifdef QT_FRAMEWORK
return (void*)lib->resolve(funcName);
#else
#ifdef _WIN32
return GetProcAddress(lib,funcName);
#elif defined (__linux) || defined (__APPLE__)
return dlsym(lib,funcName);
#endif
#endif // QT_FRAMEWORK
}
int getVrepProcAddresses(LIBRARY lib)
{
simRunSimulator=(ptrSimRunSimulator)(_getProcAddress(lib,"simRunSimulator"));
simGetSimulatorMessage=(ptrSimGetSimulatorMessage)(_getProcAddress(lib,"simGetSimulatorMessage"));
simGetMainWindow=(ptrSimGetMainWindow)(_getProcAddress(lib,"simGetMainWindow"));
simGetLastError=(ptrSimGetLastError)(_getProcAddress(lib,"simGetLastError"));
simLoadModule=(ptrSimLoadModule)(_getProcAddress(lib,"simLoadModule"));
simUnloadModule=(ptrSimUnloadModule)(_getProcAddress(lib,"simUnloadModule"));
simSendModuleMessage=(ptrSimSendModuleMessage)(_getProcAddress(lib,"simSendModuleMessage"));
simSetBooleanParameter=(ptrSimSetBooleanParameter)(_getProcAddress(lib,"simSetBooleanParameter"));
simGetBooleanParameter=(ptrSimGetBooleanParameter)(_getProcAddress(lib,"simGetBooleanParameter"));
simSetBoolParameter=(ptrSimSetBoolParameter)(_getProcAddress(lib,"simSetBoolParameter"));
simGetBoolParameter=(ptrSimGetBoolParameter)(_getProcAddress(lib,"simGetBoolParameter"));
simSetIntegerParameter=(ptrSimSetIntegerParameter)(_getProcAddress(lib,"simSetIntegerParameter"));
simGetIntegerParameter=(ptrSimGetIntegerParameter)(_getProcAddress(lib,"simGetIntegerParameter"));
simSetInt32Parameter=(ptrSimSetInt32Parameter)(_getProcAddress(lib,"simSetInt32Parameter"));
simGetInt32Parameter=(ptrSimGetInt32Parameter)(_getProcAddress(lib,"simGetInt32Parameter"));
simGetUInt64Parameter=(ptrSimGetUInt64Parameter)(_getProcAddress(lib,"simGetUInt64Parameter"));
simSetFloatingParameter=(ptrSimSetFloatingParameter)(_getProcAddress(lib,"simSetFloatingParameter"));
simGetFloatingParameter=(ptrSimGetFloatingParameter)(_getProcAddress(lib,"simGetFloatingParameter"));
simSetFloatParameter=(ptrSimSetFloatParameter)(_getProcAddress(lib,"simSetFloatParameter"));
simGetFloatParameter=(ptrSimGetFloatParameter)(_getProcAddress(lib,"simGetFloatParameter"));
simSetStringParameter=(ptrSimSetStringParameter)(_getProcAddress(lib,"simSetStringParameter"));
simGetStringParameter=(ptrSimGetStringParameter)(_getProcAddress(lib,"simGetStringParameter"));
simGetObjectHandle=(ptrSimGetObjectHandle)(_getProcAddress(lib,"simGetObjectHandle"));
simRemoveObject=(ptrSimRemoveObject)(_getProcAddress(lib,"simRemoveObject"));
simRemoveModel=(ptrSimRemoveModel)(_getProcAddress(lib,"simRemoveModel"));
simGetObjectName=(ptrSimGetObjectName)(_getProcAddress(lib,"simGetObjectName"));
simGetObjects=(ptrSimGetObjects)(_getProcAddress(lib,"simGetObjects"));
simSetObjectName=(ptrSimSetObjectName)(_getProcAddress(lib,"simSetObjectName"));
simGetCollectionHandle=(ptrSimGetCollectionHandle)(_getProcAddress(lib,"simGetCollectionHandle"));
simRemoveCollection=(ptrSimRemoveCollection)(_getProcAddress(lib,"simRemoveCollection"));
simEmptyCollection=(ptrSimEmptyCollection)(_getProcAddress(lib,"simEmptyCollection"));
simGetCollectionName=(ptrSimGetCollectionName)(_getProcAddress(lib,"simGetCollectionName"));
simSetCollectionName=(ptrSimSetCollectionName)(_getProcAddress(lib,"simSetCollectionName"));
simGetObjectMatrix=(ptrSimGetObjectMatrix)(_getProcAddress(lib,"simGetObjectMatrix"));
simSetObjectMatrix=(ptrSimSetObjectMatrix)(_getProcAddress(lib,"simSetObjectMatrix"));
simGetObjectPosition=(ptrSimGetObjectPosition)(_getProcAddress(lib,"simGetObjectPosition"));
simSetObjectPosition=(ptrSimSetObjectPosition)(_getProcAddress(lib,"simSetObjectPosition"));
simGetObjectOrientation=(ptrSimGetObjectOrientation)(_getProcAddress(lib,"simGetObjectOrientation"));
simSetObjectOrientation=(ptrSimSetObjectOrientation)(_getProcAddress(lib,"simSetObjectOrientation"));
simGetJointPosition=(ptrSimGetJointPosition)(_getProcAddress(lib,"simGetJointPosition"));
simSetJointPosition=(ptrSimSetJointPosition)(_getProcAddress(lib,"simSetJointPosition"));
simSetJointTargetPosition=(ptrSimSetJointTargetPosition)(_getProcAddress(lib,"simSetJointTargetPosition"));
simGetJointTargetPosition=(ptrSimGetJointTargetPosition)(_getProcAddress(lib,"simGetJointTargetPosition"));
simSetJointForce=(ptrSimSetJointForce)(_getProcAddress(lib,"simSetJointForce"));
simGetPathPosition=(ptrSimGetPathPosition)(_getProcAddress(lib,"simGetPathPosition"));
simSetPathPosition=(ptrSimSetPathPosition)(_getProcAddress(lib,"simSetPathPosition"));
simGetPathLength=(ptrSimGetPathLength)(_getProcAddress(lib,"simGetPathLength"));
simGetJointMatrix=(ptrSimGetJointMatrix)(_getProcAddress(lib,"simGetJointMatrix"));
simSetSphericalJointMatrix=(ptrSimSetSphericalJointMatrix)(_getProcAddress(lib,"simSetSphericalJointMatrix"));
simGetJointInterval=(ptrSimGetJointInterval)(_getProcAddress(lib,"simGetJointInterval"));
simSetJointInterval=(ptrSimSetJointInterval)(_getProcAddress(lib,"simSetJointInterval"));
simGetObjectParent=(ptrSimGetObjectParent)(_getProcAddress(lib,"simGetObjectParent"));
simGetObjectChild=(ptrSimGetObjectChild)(_getProcAddress(lib,"simGetObjectChild"));
simSetObjectParent=(ptrSimSetObjectParent)(_getProcAddress(lib,"simSetObjectParent"));
simGetObjectType=(ptrSimGetObjectType)(_getProcAddress(lib,"simGetObjectType"));
simGetJointType=(ptrSimGetJointType)(_getProcAddress(lib,"simGetJointType"));
simBuildIdentityMatrix=(ptrSimBuildIdentityMatrix)(_getProcAddress(lib,"simBuildIdentityMatrix"));
simCopyMatrix=(ptrSimCopyMatrix)(_getProcAddress(lib,"simCopyMatrix"));
simBuildMatrix=(ptrSimBuildMatrix)(_getProcAddress(lib,"simBuildMatrix"));
simGetEulerAnglesFromMatrix=(ptrSimGetEulerAnglesFromMatrix)(_getProcAddress(lib,"simGetEulerAnglesFromMatrix"));
simInvertMatrix=(ptrSimInvertMatrix)(_getProcAddress(lib,"simInvertMatrix"));
simMultiplyMatrices=(ptrSimMultiplyMatrices)(_getProcAddress(lib,"simMultiplyMatrices"));
simInterpolateMatrices=(ptrSimInterpolateMatrices)(_getProcAddress(lib,"simInterpolateMatrices"));
simTransformVector=(ptrSimTransformVector)(_getProcAddress(lib,"simTransformVector"));
simReservedCommand=(ptrSimReservedCommand)(_getProcAddress(lib,"simReservedCommand"));
simGetSimulationTime=(ptrSimGetSimulationTime)(_getProcAddress(lib,"simGetSimulationTime"));
simGetSimulationState=(ptrSimGetSimulationState)(_getProcAddress(lib,"simGetSimulationState"));
simGetSystemTime=(ptrSimGetSystemTime)(_getProcAddress(lib,"simGetSystemTime"));
simGetSystemTimeInMilliseconds=(ptrSimGetSystemTimeInMilliseconds)(_getProcAddress(lib,"simGetSystemTimeInMilliseconds"));
simGetSystemTimeInMs=(ptrSimGetSystemTimeInMs)(_getProcAddress(lib,"simGetSystemTimeInMs"));
simLoadScene=(ptrSimLoadScene)(_getProcAddress(lib,"simLoadScene"));
simCloseScene=(ptrSimCloseScene)(_getProcAddress(lib,"simCloseScene"));
simSaveScene=(ptrSimSaveScene)(_getProcAddress(lib,"simSaveScene"));
simLoadModel=(ptrSimLoadModel)(_getProcAddress(lib,"simLoadModel"));
simSaveModel=(ptrSimSaveModel)(_getProcAddress(lib,"simSaveModel"));
simAddStatusbarMessage=(ptrSimAddStatusbarMessage)(_getProcAddress(lib,"simAddStatusbarMessage"));
simAddModuleMenuEntry=(ptrSimAddModuleMenuEntry)(_getProcAddress(lib,"simAddModuleMenuEntry"));
simSetModuleMenuItemState=(ptrSimSetModuleMenuItemState)(_getProcAddress(lib,"simSetModuleMenuItemState"));
simDoesFileExist=(ptrSimDoesFileExist)(_getProcAddress(lib,"simDoesFileExist"));
simIsObjectInSelection=(ptrSimIsObjectInSelection)(_getProcAddress(lib,"simIsObjectInSelection"));
simAddObjectToSelection=(ptrSimAddObjectToSelection)(_getProcAddress(lib,"simAddObjectToSelection"));
simRemoveObjectFromSelection=(ptrSimRemoveObjectFromSelection)(_getProcAddress(lib,"simRemoveObjectFromSelection"));
simGetObjectSelectionSize=(ptrSimGetObjectSelectionSize)(_getProcAddress(lib,"simGetObjectSelectionSize"));
simGetObjectLastSelection=(ptrSimGetObjectLastSelection)(_getProcAddress(lib,"simGetObjectLastSelection"));
simGetObjectSelection=(ptrSimGetObjectSelection)(_getProcAddress(lib,"simGetObjectSelection"));
simHandleCollision=(ptrSimHandleCollision)(_getProcAddress(lib,"simHandleCollision"));
simReadCollision=(ptrSimReadCollision)(_getProcAddress(lib,"simReadCollision"));
simHandleDistance=(ptrSimHandleDistance)(_getProcAddress(lib,"simHandleDistance"));
simReadDistance=(ptrSimReadDistance)(_getProcAddress(lib,"simReadDistance"));
simHandleProximitySensor=(ptrSimHandleProximitySensor)(_getProcAddress(lib,"simHandleProximitySensor"));
simReadProximitySensor=(ptrSimReadProximitySensor)(_getProcAddress(lib,"simReadProximitySensor"));
simHandleMill=(ptrSimHandleMill)(_getProcAddress(lib,"simHandleMill"));
simHandleIkGroup=(ptrSimHandleIkGroup)(_getProcAddress(lib,"simHandleIkGroup"));
simCheckIkGroup=(ptrSimCheckIkGroup)(_getProcAddress(lib,"simCheckIkGroup"));
simHandleDynamics=(ptrSimHandleDynamics)(_getProcAddress(lib,"simHandleDynamics"));
simGetMechanismHandle=(ptrSimGetMechanismHandle)(_getProcAddress(lib,"simGetMechanismHandle"));
simHandleMechanism=(ptrSimHandleMechanism)(_getProcAddress(lib,"simHandleMechanism"));
simGetScriptHandle=(ptrSimGetScriptHandle)(_getProcAddress(lib,"simGetScriptHandle"));
simSetScriptText=(ptrSimSetScriptText)(_getProcAddress(lib,"simSetScriptText"));
simGetScriptText=(ptrSimGetScriptText)(_getProcAddress(lib,"simGetScriptText"));
simGetScriptProperty=(ptrSimGetScriptProperty)(_getProcAddress(lib,"simGetScriptProperty"));
simAssociateScriptWithObject=(ptrSimAssociateScriptWithObject)(_getProcAddress(lib,"simAssociateScriptWithObject"));
simGetScript=(ptrSimGetScript)(_getProcAddress(lib,"simGetScript"));
simGetScriptAssociatedWithObject=(ptrSimGetScriptAssociatedWithObject)(_getProcAddress(lib,"simGetScriptAssociatedWithObject"));
simGetCustomizationScriptAssociatedWithObject=(ptrSimGetCustomizationScriptAssociatedWithObject)(_getProcAddress(lib,"simGetCustomizationScriptAssociatedWithObject"));
simGetObjectAssociatedWithScript=(ptrSimGetObjectAssociatedWithScript)(_getProcAddress(lib,"simGetObjectAssociatedWithScript"));
simGetScriptName=(ptrSimGetScriptName)(_getProcAddress(lib,"simGetScriptName"));
simHandleMainScript=(ptrSimHandleMainScript)(_getProcAddress(lib,"simHandleMainScript"));
simHandleGeneralCallbackScript=(ptrSimHandleGeneralCallbackScript)(_getProcAddress(lib,"simHandleGeneralCallbackScript"));
simResetScript=(ptrSimResetScript)(_getProcAddress(lib,"simResetScript"));
simAddScript=(ptrSimAddScript)(_getProcAddress(lib,"simAddScript"));
simRemoveScript=(ptrSimRemoveScript)(_getProcAddress(lib,"simRemoveScript"));
simRefreshDialogs=(ptrSimRefreshDialogs)(_getProcAddress(lib,"simRefreshDialogs"));
simGetCollisionHandle=(ptrSimGetCollisionHandle)(_getProcAddress(lib,"simGetCollisionHandle"));
simGetDistanceHandle=(ptrSimGetDistanceHandle)(_getProcAddress(lib,"simGetDistanceHandle"));
simGetIkGroupHandle=(ptrSimGetIkGroupHandle)(_getProcAddress(lib,"simGetIkGroupHandle"));
simResetCollision=(ptrSimResetCollision)(_getProcAddress(lib,"simResetCollision"));
simResetDistance=(ptrSimResetDistance)(_getProcAddress(lib,"simResetDistance"));
simResetProximitySensor=(ptrSimResetProximitySensor)(_getProcAddress(lib,"simResetProximitySensor"));
simResetMill=(ptrSimResetMill)(_getProcAddress(lib,"simResetMill"));
simCheckProximitySensor=(ptrSimCheckProximitySensor)(_getProcAddress(lib,"simCheckProximitySensor"));
simCheckProximitySensorEx=(ptrSimCheckProximitySensorEx)(_getProcAddress(lib,"simCheckProximitySensorEx"));
simCheckProximitySensorEx2=(ptrSimCheckProximitySensorEx2)(_getProcAddress(lib,"simCheckProximitySensorEx2"));
simCreateBuffer=(ptrSimCreateBuffer)(_getProcAddress(lib,"simCreateBuffer"));
simReleaseBuffer=(ptrSimReleaseBuffer)(_getProcAddress(lib,"simReleaseBuffer"));
simCheckCollision=(ptrSimCheckCollision)(_getProcAddress(lib,"simCheckCollision"));
simCheckCollisionEx=(ptrSimCheckCollisionEx)(_getProcAddress(lib,"simCheckCollisionEx"));
simCheckDistance=(ptrSimCheckDistance)(_getProcAddress(lib,"simCheckDistance"));
simGetObjectConfiguration=(ptrSimGetObjectConfiguration)(_getProcAddress(lib,"simGetObjectConfiguration"));
simSetObjectConfiguration=(ptrSimSetObjectConfiguration)(_getProcAddress(lib,"simSetObjectConfiguration"));
simGetConfigurationTree=(ptrSimGetConfigurationTree)(_getProcAddress(lib,"simGetConfigurationTree"));
simSetConfigurationTree=(ptrSimSetConfigurationTree)(_getProcAddress(lib,"simSetConfigurationTree"));
simSetSimulationTimeStep=(ptrSimSetSimulationTimeStep)(_getProcAddress(lib,"simSetSimulationTimeStep"));
simGetSimulationTimeStep=(ptrSimGetSimulationTimeStep)(_getProcAddress(lib,"simGetSimulationTimeStep"));
simGetRealTimeSimulation=(ptrSimGetRealTimeSimulation)(_getProcAddress(lib,"simGetRealTimeSimulation"));
simIsRealTimeSimulationStepNeeded=(ptrSimIsRealTimeSimulationStepNeeded)(_getProcAddress(lib,"simIsRealTimeSimulationStepNeeded"));
simAdjustRealTimeTimer=(ptrSimAdjustRealTimeTimer)(_getProcAddress(lib,"simAdjustRealTimeTimer"));
simGetSimulationPassesPerRenderingPass=(ptrSimGetSimulationPassesPerRenderingPass)(_getProcAddress(lib,"simGetSimulationPassesPerRenderingPass"));
simAdvanceSimulationByOneStep=(ptrSimAdvanceSimulationByOneStep)(_getProcAddress(lib,"simAdvanceSimulationByOneStep"));
simStartSimulation=(ptrSimStartSimulation)(_getProcAddress(lib,"simStartSimulation"));
simStopSimulation=(ptrSimStopSimulation)(_getProcAddress(lib,"simStopSimulation"));
simPauseSimulation=(ptrSimPauseSimulation)(_getProcAddress(lib,"simPauseSimulation"));
simBroadcastMessage=(ptrSimBroadcastMessage)(_getProcAddress(lib,"simBroadcastMessage"));
simGetModuleName=(ptrSimGetModuleName)(_getProcAddress(lib,"simGetModuleName"));
simGetScriptSimulationParameter=(ptrSimGetScriptSimulationParameter)(_getProcAddress(lib,"simGetScriptSimulationParameter"));
simSetScriptSimulationParameter=(ptrSimSetScriptSimulationParameter)(_getProcAddress(lib,"simSetScriptSimulationParameter"));
simFloatingViewAdd=(ptrSimFloatingViewAdd)(_getProcAddress(lib,"simFloatingViewAdd"));
simFloatingViewRemove=(ptrSimFloatingViewRemove)(_getProcAddress(lib,"simFloatingViewRemove"));
simAdjustView=(ptrSimAdjustView)(_getProcAddress(lib,"simAdjustView"));
simSetLastError=(ptrSimSetLastError)(_getProcAddress(lib,"simSetLastError"));
simHandleGraph=(ptrSimHandleGraph)(_getProcAddress(lib,"simHandleGraph"));
simResetGraph=(ptrSimResetGraph)(_getProcAddress(lib,"simResetGraph"));
simSetNavigationMode=(ptrSimSetNavigationMode)(_getProcAddress(lib,"simSetNavigationMode"));
simGetNavigationMode=(ptrSimGetNavigationMode)(_getProcAddress(lib,"simGetNavigationMode"));
simSetPage=(ptrSimSetPage)(_getProcAddress(lib,"simSetPage"));
simGetPage=(ptrSimGetPage)(_getProcAddress(lib,"simGetPage"));
simDisplayDialog=(ptrSimDisplayDialog)(_getProcAddress(lib,"simDisplayDialog"));
simGetDialogResult=(ptrSimGetDialogResult)(_getProcAddress(lib,"simGetDialogResult"));
simGetDialogInput=(ptrSimGetDialogInput)(_getProcAddress(lib,"simGetDialogInput"));
simEndDialog=(ptrSimEndDialog)(_getProcAddress(lib,"simEndDialog"));
simRegisterCustomLuaFunction=(ptrSimRegisterCustomLuaFunction)(_getProcAddress(lib,"simRegisterCustomLuaFunction"));
simRegisterScriptCallbackFunction=(ptrSimRegisterScriptCallbackFunction)(_getProcAddress(lib,"simRegisterScriptCallbackFunction"));
simRegisterCustomLuaVariable=(ptrSimRegisterCustomLuaVariable)(_getProcAddress(lib,"simRegisterCustomLuaVariable"));
simRegisterScriptVariable=(ptrSimRegisterScriptVariable)(_getProcAddress(lib,"simRegisterScriptVariable"));
simSetJointTargetVelocity=(ptrSimSetJointTargetVelocity)(_getProcAddress(lib,"simSetJointTargetVelocity"));
simGetJointTargetVelocity=(ptrSimGetJointTargetVelocity)(_getProcAddress(lib,"simGetJointTargetVelocity"));
simSetPathTargetNominalVelocity=(ptrSimSetPathTargetNominalVelocity)(_getProcAddress(lib,"simSetPathTargetNominalVelocity"));
simGetScriptRawBuffer=(ptrSimGetScriptRawBuffer)(_getProcAddress(lib,"simGetScriptRawBuffer"));
simSetScriptRawBuffer=(ptrSimSetScriptRawBuffer)(_getProcAddress(lib,"simSetScriptRawBuffer"));
simReleaseScriptRawBuffer=(ptrSimReleaseScriptRawBuffer)(_getProcAddress(lib,"simReleaseScriptRawBuffer"));
simCopyPasteObjects=(ptrSimCopyPasteObjects)(_getProcAddress(lib,"simCopyPasteObjects"));
simScaleSelectedObjects=(ptrSimScaleSelectedObjects)(_getProcAddress(lib,"simScaleSelectedObjects"));
simScaleObjects=(ptrSimScaleObjects)(_getProcAddress(lib,"simScaleObjects"));
simDeleteSelectedObjects=(ptrSimDeleteSelectedObjects)(_getProcAddress(lib,"simDeleteSelectedObjects"));
simGetObjectUniqueIdentifier=(ptrSimGetObjectUniqueIdentifier)(_getProcAddress(lib,"simGetObjectUniqueIdentifier"));
simGetNameSuffix=(ptrSimGetNameSuffix)(_getProcAddress(lib,"simGetNameSuffix"));
simSendData=(ptrSimSendData)(_getProcAddress(lib,"simSendData"));
simReceiveData=(ptrSimReceiveData)(_getProcAddress(lib,"simReceiveData"));
simSetGraphUserData=(ptrSimSetGraphUserData)(_getProcAddress(lib,"simSetGraphUserData"));
simSetNameSuffix=(ptrSimSetNameSuffix)(_getProcAddress(lib,"simSetNameSuffix"));
simAddDrawingObject=(ptrSimAddDrawingObject)(_getProcAddress(lib,"simAddDrawingObject"));
simRemoveDrawingObject=(ptrSimRemoveDrawingObject)(_getProcAddress(lib,"simRemoveDrawingObject"));
simAddDrawingObjectItem=(ptrSimAddDrawingObjectItem)(_getProcAddress(lib,"simAddDrawingObjectItem"));
simAddParticleObject=(ptrSimAddParticleObject)(_getProcAddress(lib,"simAddParticleObject"));
simRemoveParticleObject=(ptrSimRemoveParticleObject)(_getProcAddress(lib,"simRemoveParticleObject"));
simAddParticleObjectItem=(ptrSimAddParticleObjectItem)(_getProcAddress(lib,"simAddParticleObjectItem"));
simGetObjectSizeFactor=(ptrSimGetObjectSizeFactor)(_getProcAddress(lib,"simGetObjectSizeFactor"));
simAnnounceSceneContentChange=(ptrSimAnnounceSceneContentChange)(_getProcAddress(lib,"simAnnounceSceneContentChange"));
simResetMilling=(ptrSimResetMilling)(_getProcAddress(lib,"simResetMilling"));
simApplyMilling=(ptrSimApplyMilling)(_getProcAddress(lib,"simApplyMilling"));
simSetIntegerSignal=(ptrSimSetIntegerSignal)(_getProcAddress(lib,"simSetIntegerSignal"));
simGetIntegerSignal=(ptrSimGetIntegerSignal)(_getProcAddress(lib,"simGetIntegerSignal"));
simClearIntegerSignal=(ptrSimClearIntegerSignal)(_getProcAddress(lib,"simClearIntegerSignal"));
simSetFloatSignal=(ptrSimSetFloatSignal)(_getProcAddress(lib,"simSetFloatSignal"));
simGetFloatSignal=(ptrSimGetFloatSignal)(_getProcAddress(lib,"simGetFloatSignal"));
simClearFloatSignal=(ptrSimClearFloatSignal)(_getProcAddress(lib,"simClearFloatSignal"));
simSetStringSignal=(ptrSimSetStringSignal)(_getProcAddress(lib,"simSetStringSignal"));
simGetStringSignal=(ptrSimGetStringSignal)(_getProcAddress(lib,"simGetStringSignal"));
simClearStringSignal=(ptrSimClearStringSignal)(_getProcAddress(lib,"simClearStringSignal"));
simGetSignalName=(ptrSimGetSignalName)(_getProcAddress(lib,"simGetSignalName"));
simSetObjectProperty=(ptrSimSetObjectProperty)(_getProcAddress(lib,"simSetObjectProperty"));
simGetObjectProperty=(ptrSimGetObjectProperty)(_getProcAddress(lib,"simGetObjectProperty"));
simSetObjectSpecialProperty=(ptrSimSetObjectSpecialProperty)(_getProcAddress(lib,"simSetObjectSpecialProperty"));
simGetObjectSpecialProperty=(ptrSimGetObjectSpecialProperty)(_getProcAddress(lib,"simGetObjectSpecialProperty"));
simGetPositionOnPath=(ptrSimGetPositionOnPath)(_getProcAddress(lib,"simGetPositionOnPath"));
simGetDataOnPath=(ptrSimGetDataOnPath)(_getProcAddress(lib,"simGetDataOnPath"));
simGetOrientationOnPath=(ptrSimGetOrientationOnPath)(_getProcAddress(lib,"simGetOrientationOnPath"));
simGetClosestPositionOnPath=(ptrSimGetClosestPositionOnPath)(_getProcAddress(lib,"simGetClosestPositionOnPath"));
simReadForceSensor=(ptrSimReadForceSensor)(_getProcAddress(lib,"simReadForceSensor"));
simBreakForceSensor=(ptrSimBreakForceSensor)(_getProcAddress(lib,"simBreakForceSensor"));
simGetShapeVertex=(ptrSimGetShapeVertex)(_getProcAddress(lib,"simGetShapeVertex"));
simGetShapeTriangle=(ptrSimGetShapeTriangle)(_getProcAddress(lib,"simGetShapeTriangle"));
simSetLightParameters=(ptrSimSetLightParameters)(_getProcAddress(lib,"simSetLightParameters"));
simGetLightParameters=(ptrSimGetLightParameters)(_getProcAddress(lib,"simGetLightParameters"));
simGetVelocity=(ptrSimGetVelocity)(_getProcAddress(lib,"simGetVelocity"));
simGetObjectVelocity=(ptrSimGetObjectVelocity)(_getProcAddress(lib,"simGetObjectVelocity"));
simAddForceAndTorque=(ptrSimAddForceAndTorque)(_getProcAddress(lib,"simAddForceAndTorque"));
simAddForce=(ptrSimAddForce)(_getProcAddress(lib,"simAddForce"));
simSetExplicitHandling=(ptrSimSetExplicitHandling)(_getProcAddress(lib,"simSetExplicitHandling"));
simGetExplicitHandling=(ptrSimGetExplicitHandling)(_getProcAddress(lib,"simGetExplicitHandling"));
simGetLinkDummy=(ptrSimGetLinkDummy)(_getProcAddress(lib,"simGetLinkDummy"));
simSetLinkDummy=(ptrSimSetLinkDummy)(_getProcAddress(lib,"simSetLinkDummy"));
simSetModelProperty=(ptrSimSetModelProperty)(_getProcAddress(lib,"simSetModelProperty"));
simGetModelProperty=(ptrSimGetModelProperty)(_getProcAddress(lib,"simGetModelProperty"));
simSetShapeColor=(ptrSimSetShapeColor)(_getProcAddress(lib,"simSetShapeColor"));
simGetShapeColor=(ptrSimGetShapeColor)(_getProcAddress(lib,"simGetShapeColor"));
simResetDynamicObject=(ptrSimResetDynamicObject)(_getProcAddress(lib,"simResetDynamicObject"));
simSetJointMode=(ptrSimSetJointMode)(_getProcAddress(lib,"simSetJointMode"));
simGetJointMode=(ptrSimGetJointMode)(_getProcAddress(lib,"simGetJointMode"));
simSerialOpen=(ptrSimSerialOpen)(_getProcAddress(lib,"simSerialOpen"));
simSerialClose=(ptrSimSerialClose)(_getProcAddress(lib,"simSerialClose"));
simSerialSend=(ptrSimSerialSend)(_getProcAddress(lib,"simSerialSend"));
simSerialRead=(ptrSimSerialRead)(_getProcAddress(lib,"simSerialRead"));
simSerialCheck=(ptrSimSerialCheck)(_getProcAddress(lib,"simSerialCheck"));
simGetContactInfo=(ptrSimGetContactInfo)(_getProcAddress(lib,"simGetContactInfo"));
simSetThreadIsFree=(ptrSimSetThreadIsFree)(_getProcAddress(lib,"simSetThreadIsFree"));
simTubeOpen=(ptrSimTubeOpen)(_getProcAddress(lib,"simTubeOpen"));
simTubeClose=(ptrSimTubeClose)(_getProcAddress(lib,"simTubeClose"));
simTubeWrite=(ptrSimTubeWrite)(_getProcAddress(lib,"simTubeWrite"));
simTubeRead=(ptrSimTubeRead)(_getProcAddress(lib,"simTubeRead"));
simTubeStatus=(ptrSimTubeStatus)(_getProcAddress(lib,"simTubeStatus"));
simAuxiliaryConsoleOpen=(ptrSimAuxiliaryConsoleOpen)(_getProcAddress(lib,"simAuxiliaryConsoleOpen"));
simAuxiliaryConsoleClose=(ptrSimAuxiliaryConsoleClose)(_getProcAddress(lib,"simAuxiliaryConsoleClose"));
simAuxiliaryConsoleShow=(ptrSimAuxiliaryConsoleShow)(_getProcAddress(lib,"simAuxiliaryConsoleShow"));
simAuxiliaryConsolePrint=(ptrSimAuxiliaryConsolePrint)(_getProcAddress(lib,"simAuxiliaryConsolePrint"));
simImportShape=(ptrSimImportShape)(_getProcAddress(lib,"simImportShape"));
simImportMesh=(ptrSimImportMesh)(_getProcAddress(lib,"simImportMesh"));
simExportMesh=(ptrSimExportMesh)(_getProcAddress(lib,"simExportMesh"));
simCreateMeshShape=(ptrSimCreateMeshShape)(_getProcAddress(lib,"simCreateMeshShape"));
simCreatePureShape=(ptrSimCreatePureShape)(_getProcAddress(lib,"simCreatePureShape"));
simCreateHeightfieldShape=(ptrSimCreateHeightfieldShape)(_getProcAddress(lib,"simCreateHeightfieldShape"));
simGetShapeMesh=(ptrSimGetShapeMesh)(_getProcAddress(lib,"simGetShapeMesh"));
simAddBanner=(ptrSimAddBanner)(_getProcAddress(lib,"simAddBanner"));
simRemoveBanner=(ptrSimRemoveBanner)(_getProcAddress(lib,"simRemoveBanner"));
simCreateJoint=(ptrSimCreateJoint)(_getProcAddress(lib,"simCreateJoint"));
simCreateDummy=(ptrSimCreateDummy)(_getProcAddress(lib,"simCreateDummy"));
simCreateProximitySensor=(ptrSimCreateProximitySensor)(_getProcAddress(lib,"simCreateProximitySensor"));
simCreatePath=(ptrSimCreatePath)(_getProcAddress(lib,"simCreatePath"));
simInsertPathCtrlPoints=(ptrSimInsertPathCtrlPoints)(_getProcAddress(lib,"simInsertPathCtrlPoints"));
simCutPathCtrlPoints=(ptrSimCutPathCtrlPoints)(_getProcAddress(lib,"simCutPathCtrlPoints"));
simCreateForceSensor=(ptrSimCreateForceSensor)(_getProcAddress(lib,"simCreateForceSensor"));
simCreateVisionSensor=(ptrSimCreateVisionSensor)(_getProcAddress(lib,"simCreateVisionSensor"));
simRegisterContactCallback=(ptrSimRegisterContactCallback)(_getProcAddress(lib,"simRegisterContactCallback"));
simGetObjectIntParameter=(ptrSimGetObjectIntParameter)(_getProcAddress(lib,"simGetObjectIntParameter"));
simSetObjectIntParameter=(ptrSimSetObjectIntParameter)(_getProcAddress(lib,"simSetObjectIntParameter"));
simGetObjectInt32Parameter=(ptrSimGetObjectInt32Parameter)(_getProcAddress(lib,"simGetObjectInt32Parameter"));
simSetObjectInt32Parameter=(ptrSimSetObjectInt32Parameter)(_getProcAddress(lib,"simSetObjectInt32Parameter"));
simGetObjectFloatParameter=(ptrSimGetObjectFloatParameter)(_getProcAddress(lib,"simGetObjectFloatParameter"));
simSetObjectFloatParameter=(ptrSimSetObjectFloatParameter)(_getProcAddress(lib,"simSetObjectFloatParameter"));
simGetObjectStringParameter=(ptrSimGetObjectStringParameter)(_getProcAddress(lib,"simGetObjectStringParameter"));
simSetObjectStringParameter=(ptrSimSetObjectStringParameter)(_getProcAddress(lib,"simSetObjectStringParameter"));
simSetSimulationPassesPerRenderingPass=(ptrSimSetSimulationPassesPerRenderingPass)(_getProcAddress(lib,"simSetSimulationPassesPerRenderingPass"));
simGetRotationAxis=(ptrSimGetRotationAxis)(_getProcAddress(lib,"simGetRotationAxis"));
simRotateAroundAxis=(ptrSimRotateAroundAxis)(_getProcAddress(lib,"simRotateAroundAxis"));
simGetJointForce=(ptrSimGetJointForce)(_getProcAddress(lib,"simGetJointForce"));
simSetArrayParameter=(ptrSimSetArrayParameter)(_getProcAddress(lib,"simSetArrayParameter"));
simGetArrayParameter=(ptrSimGetArrayParameter)(_getProcAddress(lib,"simGetArrayParameter"));
simSetIkGroupProperties=(ptrSimSetIkGroupProperties)(_getProcAddress(lib,"simSetIkGroupProperties"));
simSetIkElementProperties=(ptrSimSetIkElementProperties)(_getProcAddress(lib,"simSetIkElementProperties"));
simCameraFitToView=(ptrSimCameraFitToView)(_getProcAddress(lib,"simCameraFitToView"));
simPersistentDataWrite=(ptrSimPersistentDataWrite)(_getProcAddress(lib,"simPersistentDataWrite"));
simPersistentDataRead=(ptrSimPersistentDataRead)(_getProcAddress(lib,"simPersistentDataRead"));
simIsHandleValid=(ptrSimIsHandleValid)(_getProcAddress(lib,"simIsHandleValid"));
simHandleVisionSensor=(ptrSimHandleVisionSensor)(_getProcAddress(lib,"simHandleVisionSensor"));
simReadVisionSensor=(ptrSimReadVisionSensor)(_getProcAddress(lib,"simReadVisionSensor"));
simResetVisionSensor=(ptrSimResetVisionSensor)(_getProcAddress(lib,"simResetVisionSensor"));
simCheckVisionSensor=(ptrSimCheckVisionSensor)(_getProcAddress(lib,"simCheckVisionSensor"));
simCheckVisionSensorEx=(ptrSimCheckVisionSensorEx)(_getProcAddress(lib,"simCheckVisionSensorEx"));
simGetVisionSensorResolution=(ptrSimGetVisionSensorResolution)(_getProcAddress(lib,"simGetVisionSensorResolution"));
simGetVisionSensorImage=(ptrSimGetVisionSensorImage)(_getProcAddress(lib,"simGetVisionSensorImage"));
simGetVisionSensorCharImage=(ptrSimGetVisionSensorCharImage)(_getProcAddress(lib,"simGetVisionSensorCharImage"));
simSetVisionSensorImage=(ptrSimSetVisionSensorImage)(_getProcAddress(lib,"simSetVisionSensorImage"));
simSetVisionSensorCharImage=(ptrSimSetVisionSensorCharImage)(_getProcAddress(lib,"simSetVisionSensorCharImage"));
simGetVisionSensorDepthBuffer=(ptrSimGetVisionSensorDepthBuffer)(_getProcAddress(lib,"simGetVisionSensorDepthBuffer"));
simGetObjectQuaternion=(ptrSimGetObjectQuaternion)(_getProcAddress(lib,"simGetObjectQuaternion"));
simSetObjectQuaternion=(ptrSimSetObjectQuaternion)(_getProcAddress(lib,"simSetObjectQuaternion"));
simRMLPosition=(ptrSimRMLPosition)(_getProcAddress(lib,"simRMLPosition"));
simRMLVelocity=(ptrSimRMLVelocity)(_getProcAddress(lib,"simRMLVelocity"));
simRMLPos=(ptrSimRMLPos)(_getProcAddress(lib,"simRMLPos"));
simRMLVel=(ptrSimRMLVel)(_getProcAddress(lib,"simRMLVel"));
simRMLStep=(ptrSimRMLStep)(_getProcAddress(lib,"simRMLStep"));
simRMLRemove=(ptrSimRMLRemove)(_getProcAddress(lib,"simRMLRemove"));
simBuildMatrixQ=(ptrSimBuildMatrixQ)(_getProcAddress(lib,"simBuildMatrixQ"));
simGetQuaternionFromMatrix=(ptrSimGetQuaternionFromMatrix)(_getProcAddress(lib,"simGetQuaternionFromMatrix"));
simFileDialog=(ptrSimFileDialog)(_getProcAddress(lib,"simFileDialog"));
simMsgBox=(ptrSimMsgBox)(_getProcAddress(lib,"simMsgBox"));
simSetShapeMassAndInertia=(ptrSimSetShapeMassAndInertia)(_getProcAddress(lib,"simSetShapeMassAndInertia"));
simGetShapeMassAndInertia=(ptrSimGetShapeMassAndInertia)(_getProcAddress(lib,"simGetShapeMassAndInertia"));
simGroupShapes=(ptrSimGroupShapes)(_getProcAddress(lib,"simGroupShapes"));
simUngroupShape=(ptrSimUngroupShape)(_getProcAddress(lib,"simUngroupShape"));
simConvexDecompose=(ptrSimConvexDecompose)(_getProcAddress(lib,"simConvexDecompose"));
simGetIkGroupMatrix=(ptrSimGetIkGroupMatrix)(_getProcAddress(lib,"simGetIkGroupMatrix"));
simAddGhost=(ptrSimAddGhost)(_getProcAddress(lib,"simAddGhost"));
simModifyGhost=(ptrSimModifyGhost)(_getProcAddress(lib,"simModifyGhost"));
simQuitSimulator=(ptrSimQuitSimulator)(_getProcAddress(lib,"simQuitSimulator"));
simGetThreadId=(ptrSimGetThreadId)(_getProcAddress(lib,"simGetThreadId"));
simLockResources=(ptrSimLockResources)(_getProcAddress(lib,"simLockResources"));
simUnlockResources=(ptrSimUnlockResources)(_getProcAddress(lib,"simUnlockResources"));
simEnableEventCallback=(ptrSimEnableEventCallback)(_getProcAddress(lib,"simEnableEventCallback"));
simSetShapeMaterial=(ptrSimSetShapeMaterial)(_getProcAddress(lib,"simSetShapeMaterial"));
simGetTextureId=(ptrSimGetTextureId)(_getProcAddress(lib,"simGetTextureId"));
simReadTexture=(ptrSimReadTexture)(_getProcAddress(lib,"simReadTexture"));