Debian Codegraph @

doc/man/man3/ivm/viewers/SoXtFlyViewer.ivm

raw
1 NAME SoXtFlyViewer SoXtFlyVwr "" {
2 viewer component for flying through space, with a constant world up
3 }
4
5 INCLUDE Xt/viewers/SoXtFlyViewer.h
6
7 BEGIN C
8 DEFINE { SoXtFlyVwrCreateStd(parent, name)
9 SoXtFlyVwrCreate(parent, name, TRUE, SO_XT_FULL_VWR_BUILD_ALL, SO_XT_VWR_BROWSER)
10 }
11 END
12
13 DESC {
14 Fly Viewer \(em this viewer is intended to simulate flight through space, with
15 a constant world up direction. The viewer only constrains the camera to
16 keep the user from flying upside down. No mouse buttons need to be pressed
17 in order to fly. The mouse position is used only for steering, while mouse
18 clicks are used to increase or decrease the viewer speed.
19 \p
20 The viewer allows you to tilt your head up/down/right/left and move in the
21 direction you are looking (forward or backward). The viewer also supports
22 seek to quickly move the camera to a desired object or point.
23 }
24
25 METHOD "" SoXtFlyViewer(
26 Widget parent = NULL,
27 const char *name = NULL,
28 SbBool buildInsideParent = TRUE,
29 SoXtFullViewer::BuildFlag flag = BUILD_ALL,
30 SoXtViewer::Type type = BROWSER) {}
31 METHOD "" ~SoXtFlyViewer()
32 {
33 Constructor and destructor which specifies the viewer type.
34 Please refer to the
35 \cSoXtViewer\.
36 reference page for a description of the viewer types.
37 \-For a constructor short cut look at the \mSoXtFlyVwrCreateStd\. #define.\.
38 }
39
40 MISC RESOURCES {
41 \b
42 *SoXtFlyViewer.decoration: on (on | off)
43 *SoXtFlyViewer.seekAnimationTime: 2.0 (float)
44 *SoXtFlyViewer.seekTo: point (point | object)
45 *SoXtFlyViewer.seekDistanceUsage: percentage (percentage | absolute)
46 *SoXtFlyViewer.zoomMin: 1.0 (float)
47 *SoXtFlyViewer.zoomMax: 179.0 (float)
48 *SoXtFlyViewer.autoClipping: on (on | off)
49 *SoXtFlyViewer.nearDistance: 2.4 (float, when autoClipping is off)
50 *SoXtFlyViewer.farDistance: 2.8 (float, when autoClipping is off)
51 *SoXtFlyViewer*BackgroundColor: black (color name or hex value)\.
52 }
53
54 MISC USAGE {
55 \vLeft Mouse:\. Click to increase speed.
56
57 \p\v<s> + Left Mouse:\. Alternative to the Seek button. Press (but do not
58 hold down) the <s> key, then click on a target object.
59
60 \p\v<u> + Left Mouse:\. Press (but do not hold down) the <u> key, then
61 click on a target object to set the "up" direction to the surface normal.
62 By default +y is the "up" direction.
63
64 \p\vMiddle Mouse:\. Click to decrease speed.
65
66 \p\vLeft and Middle Mouse:\. Click boths simultaneously to stop.
67
68 \p\vCtrl:\. Hold the key down to temporary stop and rotate the viewpoint.
69
70 \p\vRight Mouse:\. Open the popup menu.
71 }
72
73 ALSO { SoXtFullViewer, SoXtViewer, SoXtComponent, SoXtRenderArea, SoXtWalkViewer,
74 SoXtExaminerViewer, SoXtPlaneViewer }