File: tabBoxDragger.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 (29 lines) | stat: -rw-r--r-- 870 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
#Inventor V2.1 ascii

# Standard common material definition.
DEF TABBOX_INACTIVE_MATERIAL Material { diffuseColor 0.5 0.5 0.5  emissiveColor 0.5 0.5 0.5 }

# Note: these two are duplicated in tabPlaneDragger.iv -- migrate
# changes.

DEF tabBoxScaleTabMaterial Material { diffuseColor 0 0.5 0  emissiveColor 0 0.5 0 }
DEF tabBoxScaleTabHints ShapeHints {
   # Make sure only the front side of the polygons are shown.
   vertexOrdering COUNTERCLOCKWISE
   shapeType SOLID
}

# For displaying the border lines.
DEF tabBoxBoxGeom Separator {
   USE TABBOX_INACTIVE_MATERIAL
   DrawStyle { style LINES }
   PickStyle { style UNPICKABLE }
   Cube { }
}

# Defines translator planes for picking.
DEF tabBoxTranslator Separator {
   DrawStyle { style INVISIBLE }
   Coordinate3 { point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ] }
   IndexedFaceSet { coordIndex [ 0, 1, 2, 3, -1 ] }
}