2
from H3DInterface import *
8
Includes all variables which are routed to and from the C++ code via the .x3d-file
11
#Varaible decleration and initialization
12
renderMethodField = SFInt32()
13
renderMethodField.setValue(1)
15
windowWidthField = SFInt32()
16
windowWidthField.setValue(38)
18
windowCenterField = SFInt32()
19
windowCenterField.setValue(27)
21
cutRadiusField = SFFloat()
22
cutRadiusField.setValue(0.0025)
24
drillSpeedField = SFFloat()
25
drillSpeedField.setValue(3)
27
saveVolumeField = SFBool()
28
saveVolumeField.setValue(False)
30
playbackDirectionField = SFFloat()
31
playbackDirectionField.setValue(0)
33
runPlaybackField = SFBool()
34
runPlaybackField.setValue(False)
36
saveHapticField = SFBool()
37
saveHapticField.setValue(False)
39
playHapticField = SFBool()
40
playHapticField.setValue(False)
42
saveHapticToFileField = SFBool()
43
saveHapticToFileField.setValue(False)
45
resetTimePlaybackField = SFBool()
46
resetTimePlaybackField.setValue(False)
48
saveExpertToFileField = SFBool()
49
saveExpertToFileField.setValue(False)
51
saveStatisticsToFileField = SFBool()
52
saveStatisticsToFileField.setValue(False)
54
highlightTypeField = SFString()
55
highlightTypeField.setValue("highlightTypeNormal")
57
hardnessSetEnabledField = SFBool()
58
hardnessSetEnabledField.setValue(False)
60
segmentField = SFInt32()
61
segmentField.setValue(64)
64
setButton.setValue(False)
66
segmentHardnessField = SFFloat()
68
posvec3fField = SFVec3f()