/usr/share/Coin/draggerDefaults/transformBoxDragger.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 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 | #Inventor V2.1 ascii
# Standard common material definitions.
DEF TRANSFORMBOX_INACTIVE_MATERIAL Material { diffuseColor 0.5 0.5 0.5 emissiveColor 0.5 0.5 0.5 }
DEF TRANSFORMBOX_ACTIVE_MATERIAL Material { diffuseColor 0.5 0.5 0 emissiveColor 0.5 0.5 0 }
DEF TRANSFORMBOX_FEEDBACK_MATERIAL Material { diffuseColor 0.5 0 0.5 emissiveColor 0.5 0 0.5 }
### Geometry definitions for scale operations ################################
# Geometry for the markers in the corners of the box.
DEF TRANSFORMBOX_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 TRANSFORMBOX_SCALEDRAGPOINTS Group {
Separator {
Translation { translation 1.1 1.1 1.1 }
USE TRANSFORMBOX_SOLIDMARKER
}
Separator {
Translation { translation 1.1 1.1 -1.1 }
USE TRANSFORMBOX_SOLIDMARKER
}
Separator {
Translation { translation 1.1 -1.1 1.1 }
USE TRANSFORMBOX_SOLIDMARKER
}
Separator {
Translation { translation 1.1 -1.1 -1.1 }
USE TRANSFORMBOX_SOLIDMARKER
}
Separator {
Translation { translation -1.1 1.1 1.1 }
USE TRANSFORMBOX_SOLIDMARKER
}
Separator {
Translation { translation -1.1 1.1 -1.1 }
USE TRANSFORMBOX_SOLIDMARKER
}
Separator {
Translation { translation -1.1 -1.1 1.1 }
USE TRANSFORMBOX_SOLIDMARKER
}
Separator {
Translation { translation -1.1 -1.1 -1.1 }
USE TRANSFORMBOX_SOLIDMARKER
}
}
DEF transformBoxScalerScaler Separator {
USE TRANSFORMBOX_INACTIVE_MATERIAL
USE TRANSFORMBOX_SCALEDRAGPOINTS
}
DEF transformBoxScalerScalerActive Separator {
USE TRANSFORMBOX_ACTIVE_MATERIAL
USE TRANSFORMBOX_SCALEDRAGPOINTS
}
DEF transformBoxScalerFeedback Separator { }
DEF transformBoxScalerFeedbackActive Separator { }
### Geometry definitions for rotation operations #############################
DEF TRANSFORMBOX_ROTATION_MARKER Cube { width 0.04 height 2.2 depth 0.04 }
DEF TRANSFORMBOX_ROTATE_SIDE Group {
Separator {
Translation { translation 1.1 0 1.1 }
USE TRANSFORMBOX_ROTATION_MARKER
}
Separator {
Translation { translation 1.1 0 -1.1 }
USE TRANSFORMBOX_ROTATION_MARKER
}
Separator {
Translation { translation -1.1 0 1.1 }
USE TRANSFORMBOX_ROTATION_MARKER
}
Separator {
Translation { translation -1.1 0 -1.1 }
USE TRANSFORMBOX_ROTATION_MARKER
}
}
DEF transformBoxRotatorRotator Separator {
USE TRANSFORMBOX_INACTIVE_MATERIAL
USE TRANSFORMBOX_ROTATE_SIDE
}
DEF transformBoxRotatorRotatorActive Separator {
USE TRANSFORMBOX_ACTIVE_MATERIAL
USE TRANSFORMBOX_ROTATE_SIDE
}
DEF transformBoxRotatorFeedback Separator { }
DEF transformBoxRotatorFeedbackActive Separator {
USE TRANSFORMBOX_FEEDBACK_MATERIAL
Coordinate3 { point [ 0 1.2 0, 0 -1.2 0 ] }
IndexedLineSet { coordIndex [ 0, 1, -1 ] }
}
### Geometry definitions for translation operations ##########################
DEF TRANSFORMBOX_TRANSLATIONSIDE Separator {
DrawStyle { style INVISIBLE }
Coordinate3 { point [ 1.1 1.1 1.1, -1.1 1.1 1.1, -1.1 -1.1 1.1, 1.1 -1.1 1.1 ] }
IndexedFaceSet { coordIndex [ 0, 1, 2, 3, -1 ] }
}
DEF transformBoxTranslatorTranslator Separator {
USE TRANSFORMBOX_TRANSLATIONSIDE
}
DEF transformBoxTranslatorTranslatorActive Separator {
USE TRANSFORMBOX_TRANSLATIONSIDE
}
DEF transformBoxTranslatorXAxisFeedback Separator {
DEF TRANSFORMBOX_FEEDBACK_AXIS Group {
USE TRANSFORMBOX_FEEDBACK_MATERIAL
Coordinate3 { point [ 0.5 0 1.1, -0.5 0 1.1 ] }
IndexedLineSet { coordIndex [ 0, 1, -1 ] }
Separator {
Rotation { rotation 0 0 1 1.57 }
DEF TRANSFORMBOX_FEEDBACK_MARKER Group {
Translation { translation 0 0.5 1.1 }
Cone { bottomRadius 0.04 height 0.08 }
}
}
Separator {
Rotation { rotation 0 0 1 -1.57 }
USE TRANSFORMBOX_FEEDBACK_MARKER
}
}
}
DEF transformBoxTranslatorYAxisFeedback Separator {
Rotation { rotation 0 0 1 -1.57 }
USE TRANSFORMBOX_FEEDBACK_AXIS
}
|