File: scale1Dragger.iv

package info (click to toggle)
coin2 2.5.0-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 29,156 kB
  • ctags: 29,453
  • sloc: cpp: 175,383; ansic: 42,198; sh: 9,377; makefile: 7,260; perl: 990; yacc: 181; lex: 114
file content (44 lines) | stat: -rw-r--r-- 1,362 bytes parent folder | download | duplicates (17)
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
#Inventor V2.1 ascii

# Standard common material definitions.
DEF SCALE1_INACTIVE_MATERIAL Material { diffuseColor 0.5 0.5 0.5  emissiveColor 0.5 0.5 0.5 }
DEF SCALE1_ACTIVE_MATERIAL Material { diffuseColor 0.5 0.5 0  emissiveColor 0.5 0.5 0 }
DEF SCALE1_FEEDBACK_MATERIAL Material { diffuseColor 0.5 0 0.5  emissiveColor 0.5 0 0.5 }


DEF SCALE1_AXIS Separator {
   PickStyle { style UNPICKABLE }
   Coordinate3 { point [ 1 0 0, -1 0 0 ] }
   IndexedLineSet { coordIndex [ 0, 1, -1 ] }
   Translation { translation -1.05 0 0 }
   PickStyle { style SHAPE }
   DEF SCALE1_MARKER Cube { width 0.10  height 0.10  depth 0.10 }
   Translation { translation 2.10 0 0 }
   USE SCALE1_MARKER
}

DEF scale1Scaler Separator {
   DrawStyle { lineWidth 2 }
   USE SCALE1_INACTIVE_MATERIAL
   USE SCALE1_AXIS
}

DEF scale1ScalerActive Separator {
   USE SCALE1_ACTIVE_MATERIAL
   DrawStyle { lineWidth 3 }
   USE SCALE1_AXIS
   DrawStyle { style LINES  lineWidth 1 }
   PickStyle { style SHAPE }
   Cube { }
}

DEF SCALE1_FEEDBACK Separator {
   PickStyle { style UNPICKABLE }
   USE SCALE1_FEEDBACK_MATERIAL
   DrawStyle { lineWidth 2 }
   Coordinate3 { point [ 0 1.1 0, 0 -1.1 0, 0 0 1.1, 0 0 -1.1 ] }
   IndexedLineSet { coordIndex [ 0, 1, -1, 2, 3, -1 ] }
}

DEF scale1Feedback Separator { USE SCALE1_FEEDBACK }
DEF scale1FeedbackActive Separator { USE SCALE1_FEEDBACK }