/usr/share/Coin/draggerDefaults/translate2Dragger.iv is in libcoin80-runtime 3.1.4~abc9f50+dfsg3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #Inventor V2.1 ascii
# Standard material definitions.
DEF TRANSLATE2_INACTIVE_MATERIAL Material { diffuseColor 0.5 0.5 0.5 emissiveColor 0.5 0.5 0.5 }
DEF TRANSLATE2_ACTIVE_MATERIAL Material { diffuseColor 0.5 0.5 0 emissiveColor 0.5 0.5 0 }
DEF TRANSLATE2_GEOM Separator {
# "Lines" connecting the cones.
Cube { width 2 height 0.1 depth 0.1 } # Horizontal
Cube { width 0.1 height 2 depth 0.1 } # Vertical
Separator {
Translation { translation 1.25 0 0 }
RotationXYZ { axis Z angle -1.57 }
DEF TRANSLATE2_ARROWHEAD Cone { height 0.5 bottomRadius 0.25 }
}
Separator {
Translation { translation -1.25 0 0 }
RotationXYZ { axis Z angle 1.57 }
USE TRANSLATE2_ARROWHEAD
}
Separator {
Translation { translation 0 1.25 0 }
USE TRANSLATE2_ARROWHEAD
}
Separator {
Translation { translation 0 -1.25 0 }
RotationXYZ { axis X angle 3.14 }
USE TRANSLATE2_ARROWHEAD
}
}
DEF translate2Translator Separator {
USE TRANSLATE2_INACTIVE_MATERIAL
USE TRANSLATE2_GEOM
}
DEF translate2TranslatorActive Separator {
USE TRANSLATE2_ACTIVE_MATERIAL
USE TRANSLATE2_GEOM
}
DEF translate2Feedback Separator { }
DEF translate2FeedbackActive Separator { }
DEF translate2XAxisFeedback Separator {
USE TRANSLATE2_ACTIVE_MATERIAL
DrawStyle { lineWidth 2 }
Coordinate3 { point [ -3 0 0, 3 0 0 ] }
LineSet { }
}
DEF translate2YAxisFeedback Separator {
USE TRANSLATE2_ACTIVE_MATERIAL
DrawStyle { lineWidth 2 }
Coordinate3 { point [ 0 -3 0, 0 3 0 ] }
LineSet { }
}
|