Debian Codegraph @

doc/man/man3/ivm/viewers/SoXtExaminerViewer.ivm

raw
1 NAME SoXtExaminerViewer SoXtExamVwr "" {
2 viewer component which uses a virtual trackball to view the data
3 }
4
5 INCLUDE Xt/viewers/SoXtExaminerViewer.h
6
7 BEGIN C
8 DEFINE { SoXtExamVwrCreateStd(parent, name)
9 SoXtExamVwrCreate(parent, name, TRUE, SO_XT_FULL_VWR_BUILD_ALL, SO_XT_VWR_BROWSER)
10 }
11 END
12
13 DESC {
14 The Examiner viewer component allows you to rotate the view
15 around a point of
16 interest using a virtual trackball. The viewer uses the camera
17 \vfocalDistance\.
18 field to figure out the point of rotation, which is usually set
19 to be at the center of the scene. In addition to allowing you to rotate the
20 camera around the point of interest, this viewer also allows you to
21 translate the camera in the viewer plane, as well as dolly (move forward
22 and backward) to get closer to or further away from the point of interest.
23 The viewer also supports
24 seek to quickly move the camera to a desired object or point.
25 }
26
27 METHOD "" SoXtExaminerViewer(
28 Widget parent = NULL,
29 const char *name = NULL,
30 SbBool buildInsideParent = TRUE,
31 SoXtFullViewer::BuildFlag flag = BUILD_ALL,
32 SoXtViewer::Type type = BROWSER) {}
33 METHOD "" ~SoXtExaminerViewer()
34 {
35 Constructor and destructor which specifies the viewer type.
36 Please refer to the
37 \cSoXtViewer\.
38 reference page for a description of the viewer types.
39 \-For a constructor short cut look at the \mSoXtExamVwrCreateStd\. #define.\.
40 }
41
42 METHOD setFeedbackVis void setFeedbackVisibility(SbBool onOrOff) {}
43 METHOD isFeedbackVis SbBool isFeedbackVisible() const
44 {
45 Show/Hide the point of rotation feedback, which only appears while in
46 viewing mode (default in off).
47 }
48
49 METHOD "" void setFeedbackSize(int newSize) {}
50 METHOD "" int getFeedbackSize() const
51 {
52 Set/get the point of rotation feedback size in pixels (default 20 pix).
53 }
54
55 METHOD SetAnimEnabled void setAnimationEnabled(SbBool onOrOff) {}
56 METHOD IsAnimEnabled SbBool isAnimationEnabled()
57 {
58 Enable/disable the spinning animation feature of the viewer
59 (enabled by default).
60 }
61
62 METHOD StopAnim void stopAnimating() {}
63 METHOD IsAnim SbBool isAnimating()
64 {
65 Stop animation, if it is occurring, and query if the viewer is
66 currently animating.
67 }
68
69 MISC RESOURCES {
70 \b
71 *SoXtExaminerViewer.spinAnimation: on (on | off)
72 *SoXtExaminerViewer.pointOfRotationAxes: off (on | off)
73 *SoXtExaminerViewer.axesSize: 20 (short, pixels if axes is on)
74 *SoXtExaminerViewer.decoration: on (on | off)
75 *SoXtExaminerViewer.seekAnimationTime: 2.0 (float)
76 *SoXtExaminerViewer.seekTo: point (point | object)
77 *SoXtExaminerViewer.seekDistanceUsage: percentage (percentage | absolute)
78 *SoXtExaminerViewer.zoomMin: 1.0 (float)
79 *SoXtExaminerViewer.zoomMax: 179.0 (float)
80 *SoXtExaminerViewer.autoClipping: on (on | off)
81 *SoXtExaminerViewer.nearDistance: 2.4 (float, when autoClipping is off)
82 *SoXtExaminerViewer.farDistance: 2.8 (float, when autoClipping is off)
83 *SoXtExaminerViewer*BackgroundColor: black (color name or hex value)\.
84 }
85
86 MISC USAGE {
87 \b
88 \vLeft Mouse:\. Rotate the virtual trackball.
89
90 \p\vMiddle Mouse:\.
91 \vCtrl + Left Mouse:\. Translate up, down, left and right.
92
93 \p\vCtrl + Middle Mouse:\.
94 \vLeft + Middle Mouse:\. Dolly in and out (gets closer to and further
95 away from the object).
96
97 \p\v<s> + click:\. Alternative to the Seek button. Press (but do not
98 hold down) the <s> key, then click on a target object.
99
100 \p\vRight Mouse:\. Open the popup menu.
101 \.
102 }
103
104 ALSO { SoXtFullViewer, SoXtViewer, SoXtComponent, SoXtRenderArea, SoXtWalkViewer,
105 SoXtFlyViewer, SoXtPlaneViewer }