/usr/share/Coin/draggerDefaults/scale2UniformDragger.iv is in libcoin60-runtime 3.1.3-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 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | #Inventor V2.1 ascii
# Standard common material definitions.
DEF SCALE2UNIFORM_INACTIVE_MATERIAL Material { diffuseColor 0.5 0.5 0.5 emissiveColor 0.5 0.5 0.5 }
DEF SCALE2UNIFORM_ACTIVE_MATERIAL Material { diffuseColor 0.5 0.5 0 emissiveColor 0.5 0.5 0 }
DEF SCALE2UNIFORM_FEEDBACK_MATERIAL Material { diffuseColor 0.5 0 0.5 emissiveColor 0.5 0 0.5 }
DEF SCALE2UNIFORM_MARKER Group {
PickStyle { style SHAPE }
Translation { translation -0.025 0 0 }
Cube { width 0.05 height 0.10 depth 0.05 }
Translation { translation 0.05 -0.025 0 }
Cube { width 0.05 height 0.05 depth 0.05 }
}
DEF SCALE2UNIFORM_MARKERS Separator {
Separator {
# Left low
Translation { translation -1.1 -1.1 0 }
USE SCALE2UNIFORM_MARKER
}
Separator {
# Right low
Translation { translation 1.1 -1.1 0 }
Rotation { rotation 0 0 1 1.57 }
USE SCALE2UNIFORM_MARKER
}
Separator {
# Left high
Translation { translation -1.1 1.1 0 }
Rotation { rotation 0 0 1 -1.57 }
USE SCALE2UNIFORM_MARKER
}
# Right high
Translation { translation 1.1 1.1 0 }
Rotation { rotation 0 0 1 3.14 }
USE SCALE2UNIFORM_MARKER
}
DEF SCALE2UNIFORM_FRAME Separator {
DrawStyle { lineWidth 2 }
Coordinate3 { point [ 1.1 1.1 0, -1.1 1.1 0, -1.1 -1.1 0, 1.1 -1.1 0 ] }
# FIXME: maybe it'd be better to use an IndexedFaceSet here (with
# DrawStyle style LINES)? Then we'd be able to pick anywhere in the
# frame. 20000510 mortene.
PickStyle { style SHAPE }
IndexedLineSet { coordIndex [ 0, 1, 2, 3, 0, -1 ] }
}
DEF scale2UniformScaler Separator {
USE SCALE2UNIFORM_INACTIVE_MATERIAL
USE SCALE2UNIFORM_FRAME
USE SCALE2UNIFORM_MARKERS
}
DEF scale2UniformScalerActive Separator {
USE SCALE2UNIFORM_ACTIVE_MATERIAL
USE SCALE2UNIFORM_FRAME
USE SCALE2UNIFORM_MARKERS
DrawStyle { style LINES lineWidth 1 }
PickStyle { style UNPICKABLE }
Cube { width 2.2 height 2.2 depth 2.2 }
}
DEF SCALE2UNIFORM_FEEDBACK Group {
USE SCALE2UNIFORM_FEEDBACK_MATERIAL
DrawStyle { lineWidth 2 }
PickStyle { style UNPICKABLE }
Coordinate3 { point [ 1.2 0 0, -1.2 0 0, 0 1.2 0, 0 -1.2 0, 0 0 1.2, 0 0 -1.2 ] }
IndexedLineSet { coordIndex [ 0, 1, -1, 2, 3, -1, 4, 5, -1 ] }
}
DEF scale2UniformFeedback Separator { USE SCALE2UNIFORM_FEEDBACK }
DEF scale2UniformFeedbackActive Separator { USE SCALE2UNIFORM_FEEDBACK }
|