Debian Codegraph @

doc/man/man1/gview.1

raw
1 '\"macro stdmacro
2 .TH gview 1
3 .SH NAME
4 gview \- graph viewer for Inventor 3d databases
5 .SH SYNOPSIS
6 .B gview [file | < file]
7 .SH DESCRIPTION
8 .I gview
9 is a program for viewing, editing, and learning about Inventor 3d
10 scene graphs. There are two views of the Inventor scene graph: a 3d
11 rendered view (left) and a scene graph view (right). The 3d rendered
12 view displays the data in an examiner viewer and allows selection as
13 well as viewing. The scene graph view renders the scene database as a
14 directed acyclic graph illustrating the structure and relationships
15 within the database. This view is displayed in a GraphViewer
16 component, which is derived from the Inventor plane viewer. Each node
17 in the graph is represented by a 3D icon.
18 .PP
19 If you select an object in one view, it will be highlighted in both
20 views. This is a very interesting way to learn about Inventor scene
21 databases. You can create new objects, edit the values of objects,
22 and rearrange the structure of the database by cutting and pasting.
23 (See the descriptions of the menu items for details.)
24 .PP
25 This program is especially useful for Inventor programmers who
26 want to analyze a specific database or who wish to experiment with
27 Inventor features and visualize the database at the same time.
28 .SH GVIEW MENU
29 The top bar contains the following three items under the
30 .I gview
31 menu:
32 .TP
33 .I "Save in gview.iv"
34 .br
35 Saves the Inventor scene (as displayed in the examiner viewer) in the
36 file
37 .IR gview.iv .
38 .TP
39 .I "Save display graph in disp.iv"
40 .br
41 Saves the scene representing the graph (as displayed in the graph
42 viewer) in the file
43 .IR disp.iv .
44 .TP
45 .I Quit
46 .br
47 The usual.
48 .SH GRAPH VIEWER MENU
49 The top bar in the right-hand graph viewer window contains the
50 following menus:
51 .TP
52 .I Graph
53 .br
54 This menu contains an
55 .I Update
56 button that updates the graph view based on changes made to the scene
57 graph. (This is useful only if the GraphViewer component is used in
58 some application that can modify the structure of the original scene
59 graph; the GraphViewer does not update based on changes to this scene
60 graph, since that would be too expensive.)
61 .TP
62 .I Edit
63 .br
64 This menu enables cutting, copying, pasting, and duplicating the
65 selected node in the scene graph. When pasting (or duplicating, which
66 is copying and pasting in one operation), you have a choice of pasting
67 a copy of the node or a reference to (instance of) it. Feedback
68 appears to indicate where the copy or instance will be located.
69 .TP
70 .I Select
71 .br
72 This menu allows you to change easily which node is selected.
73 .TP
74 .I Group
75 .br
76 This menu allows you to hide or show nodes under a group node. If a
77 group node is selected, the
78 .I Open
79 button displays the immediate children of the group, while
80 .I "Open All"
81 displays all descendants.
82 .I Close
83 hides all descendants, and
84 .I Toggle
85 toggles between the open and closed states.
86 .TP
87 .I Inst
88 .br
89 When a node is the child of more than one parent, each instance after
90 the first is displayed as an instance icon (a letter "I" in the
91 default icons). When an instance icon is selected, the
92 .I Toggle
93 button in this menu toggles the display of a line that connects the
94 instance icon to the node it is an instance of. The
95 .I Swap
96 button exchanges the instance icon with this other node. (This can be
97 useful to examine nodes under an instance of a group node.)
98 .TP
99 .I Node
100 .br
101 The
102 .I Create
103 button in this menu brings up a NodeCreator widget that allows you to
104 create a new instance of any built-in Inventor node class. Once a type
105 is selected or typed in, feedback appears in the GraphViewer to help
106 you place the new node in the graph. The
107 .I "Edit Fields"
108 button brings up a FieldEditor widget that allows you to edit the
109 values of fields in a selected node.
110 .SH SHORTCUTS
111 Each menu button has a corresponding keyboard shortcut displayed in
112 the pull-down menu.
113 Double-clicking on a node icon initiates a common action for that type
114 of node. For a group, it is equivalent to the
115 .I "Group Toggle"
116 button.
117 For an instance, it is equivalent to the
118 .I "Inst Toggle"
119 button.
120 For any other node, it is equivalent to the
121 .I "Node Edit Fields"
122 button.
123 .SH ICONS
124 The 3D icons used to represent nodes in the scene graph are read from
125 a file called
126 .IR gviewIcons.iv .
127 This file is searched for in (in order) directories specified in the
128 .I IV_GRAPH_DIR
129 environment variable, the current directory, and the usual place this
130 file gets installed (See the FILES section).
131 .PP
132 Each icon in this file is represented by a subgraph (rooted by a
133 separator) whose first N children are label nodes; each of the label
134 nodes defines one node type to be represented by that subgraph. Icons
135 follow the node hierarchy; that is, the icon representing a group is
136 used for all group nodes that don't have explicitly different icons.
137 .PP
138 The default icon set is chosen to be similar to the icons used in the
139 Inventor documentation.
140 .SH SOURCE CODE
141 Note that the source code to
142 .I gview
143 comes with the
144 .I Open Inventor 3d Toolkit.
145 .SH FILES
146 /usr/share/data/models/* - Sample 3D data files
147 /usr/share/src/Inventor/demos/gview/* - Source to gview
148 /usr/demos/data/Inventor/gviewIcons.iv - Default icon file
149 .SH SEE ALSO
150 SceneViewer, drop, inventor, ivcat, ivview,
151 noodle, showcase, revo, textomatic