/usr/share/Coin/draggerDefaults/scaleUniformDragger.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 77 78 79 80 81 | #Inventor V2.1 ascii
# Standard common material definitions.
DEF SCALEUNIFORM_INACTIVE_MATERIAL Material { diffuseColor 0.5 0.5 0.5 emissiveColor 0.5 0.5 0.5 }
DEF SCALEUNIFORM_ACTIVE_MATERIAL Material { diffuseColor 0.5 0.5 0 emissiveColor 0.5 0.5 0 }
DEF SCALEUNIFORM_FEEDBACK_MATERIAL Material { diffuseColor 0.5 0 0.5 emissiveColor 0.5 0 0.5 }
# Geometry for the markers in the corners of the box.
DEF SCALEUNIFORM_SOLIDMARKER Cube { width 0.1 height 0.1 depth 0.1 }
# Define the 8 corner markers. Put them at the corner points of the
# box surrounding the geometry + 10% "air".
DEF SCALEUNIFORM_DRAGPOINTS Group {
Separator {
Translation { translation -1.1 1.1 1.1 }
USE SCALEUNIFORM_SOLIDMARKER
}
Separator {
Translation { translation 1.1 1.1 1.1 }
USE SCALEUNIFORM_SOLIDMARKER
}
Separator {
Translation { translation 1.1 -1.1 1.1 }
USE SCALEUNIFORM_SOLIDMARKER
}
Separator {
Translation { translation -1.1 -1.1 1.1 }
USE SCALEUNIFORM_SOLIDMARKER
}
Separator {
Translation { translation -1.1 1.1 -1.1 }
USE SCALEUNIFORM_SOLIDMARKER
}
Separator {
Translation { translation 1.1 1.1 -1.1 }
USE SCALEUNIFORM_SOLIDMARKER
}
Separator {
Translation { translation 1.1 -1.1 -1.1 }
USE SCALEUNIFORM_SOLIDMARKER
}
Separator {
Translation { translation -1.1 -1.1 -1.1 }
USE SCALEUNIFORM_SOLIDMARKER
}
}
DEF scaleUniformScaler Separator {
USE SCALEUNIFORM_INACTIVE_MATERIAL
USE SCALEUNIFORM_DRAGPOINTS
}
DEF scaleUniformScalerActive Separator {
USE SCALEUNIFORM_ACTIVE_MATERIAL
USE SCALEUNIFORM_DRAGPOINTS
# Mark boundaris with a box when active, as Inventor does.
DrawStyle { style LINES lineWidth 1 }
Cube { width 2.25 height 2.25 depth 2.25 }
}
# Define the axis cross. Included only to provide a visual cue to the
# orientation of the scale "box".
DEF SCALEUNIFORM_FEEDBACK_AXES Group {
USE SCALEUNIFORM_FEEDBACK_MATERIAL
DrawStyle { lineWidth 2 }
Coordinate3 { point [ 1 0 0, -1 0 0, 0 1 0, 0 -1 0, 0 0 1, 0 0 -1 ] }
IndexedLineSet { coordIndex [ 0, 1, -1, 2, 3, -1, 4, 5, -1 ] }
}
DEF scaleUniformFeedback Separator {
USE SCALEUNIFORM_FEEDBACK_AXES
}
DEF scaleUniformFeedbackActive Separator {
USE SCALEUNIFORM_FEEDBACK_AXES
}
|