File: SoXtWalkViewer.ivm

package info (click to toggle)
inventor 2.1.5-10-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 32,884 kB
  • ctags: 21,728
  • sloc: ansic: 33,861; lisp: 7,361; cpp: 3,874; yacc: 369; sh: 358; perl: 234; awk: 141; makefile: 74; csh: 35; sed: 11
file content (76 lines) | stat: -rw-r--r-- 2,609 bytes parent folder | download | duplicates (12)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
NAME SoXtWalkViewer SoXtWalkVwr "" {
viewer component which moves the camera in a plane
}

INCLUDE Xt/viewers/SoXtWalkViewer.h

BEGIN C
DEFINE { SoXtWalkVwrCreateStd(parent, name) 
SoXtWalkVwrCreate(parent, name, TRUE, SO_XT_FULL_VWR_BUILD_ALL, SO_XT_VWR_BROWSER)
}
END 

DESC {
The paradigm for this viewer is a walkthrough of an architectural model.
Its primary behavior is forward, backward, and left/right turning motion
while maintaining a constant "eye level". It is also possible to stop and
look around at the scene. The eye level plane can be disabled, allowing the
viewer to proceed in the "look at" direction, as if on an escalator. The
eye level plane can also be translated up and down \(em similar to an
elevator.
}

METHOD "" SoXtWalkViewer(
	Widget parent = NULL,
	const char *name = NULL, 
	SbBool buildInsideParent = TRUE, 
	SoXtFullViewer::BuildFlag flag = BUILD_ALL, 
	SoXtViewer::Type type = BROWSER) {}
METHOD "" ~SoXtWalkViewer()
{
Constructor and destructor which specifies the viewer type.
Please refer to the
\cSoXtViewer\.
man pages for a description of the viewer types.
\-For a constructor short cut look at the \mSoXtWalkVwrCreateStd\. #define.\.
}

MISC RESOURCES {
\b
*SoXtWalkViewer.decoration: on (on | off)
*SoXtWalkViewer.seekAnimationTime: 2.0 (float)
*SoXtWalkViewer.seekTo: point (point | object)
*SoXtWalkViewer.seekDistanceUsage: percentage (percentage | absolute)
*SoXtWalkViewer.zoomMin: 1.0 (float)
*SoXtWalkViewer.zoomMax: 179.0 (float)
*SoXtWalkViewer.autoClipping: on (on | off)
*SoXtWalkViewer.nearDistance: 2.4 (float, when autoClipping is off)
*SoXtWalkViewer.farDistance: 2.8 (float, when autoClipping is off)
*SoXtWalkViewer*BackgroundColor: black (color name or hex value)
\.
}

MISC USAGE {

\vLeft Mouse:\. walk mode. Click down and move up/down for fowards/backwards
motion.  Move right and left for turning. Speed increases exponentially
with the distance from the mouse-down origin.

\p\vMiddle Mouse\. - or
\p\vCtrl + Left Mouse:\. Translate up, down, left and right.

\p\vCtrl + Middle Mouse:\. tilt the camera up/down and right/left. This 
allows you to look around while stopped.

\p\v<s> + click:\. Alternative to the Seek button. Press (but do not
hold down) the <s> key, then click on a target object.

\p\v<u> + click:\. Press (but do not hold down) the <u> key, then
click on a target object to set the "up" direction to the surface normal.
By default +y is the "up" direction.

\p\vRight Mouse:\. Open the popup menu.
}

ALSO { SoXtFullViewer, SoXtViewer, SoXtComponent, SoXtRenderArea, SoXtPlaneViewer, 
SoXtExaminerViewer, SoXtFlyViewer }