File: tabPlaneDragger.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 (18 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#Inventor V2.1 ascii

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

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

# Use a faceset instead of a lineset so we can pick in the plane.
DEF tabPlaneTranslator Separator {
   DrawStyle { style LINES }
   Coordinate3 { point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ] }
   IndexedFaceSet { coordIndex [ 0, 1, 2, 3, -1 ] }
}