| 1 |
NAME SoXtPlaneViewer SoXtPlnVwr "" { |
| 2 |
viewer component which moves the camera in a plane |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE Xt/viewers/SoXtPlaneViewer.h |
| 6 |
|
| 7 |
BEGIN C |
| 8 |
DEFINE { SoXtPlnVwrCreateStd(parent, name) |
| 9 |
SoXtPlnVwrCreate(parent, name, TRUE, SO_XT_FULL_VWR_BUILD_ALL, SO_XT_VWR_BROWSER) |
| 10 |
} |
| 11 |
END |
| 12 |
|
| 13 |
DESC { |
| 14 |
The Plane viewer component allows the user to translate the camera |
| 15 |
in the viewing plane, as well as dolly (move foward/backward) and zoom |
| 16 |
in and out. The viewer also allows the user to roll the camera (rotate |
| 17 |
around the forward direction) and seek to objects which will specify |
| 18 |
a new viewing plane. This viewer could be used for modeling, in drafting, |
| 19 |
and architectural work. The camera can be aligned to the X, Y or Z axes. |
| 20 |
} |
| 21 |
|
| 22 |
METHOD "" SoXtPlaneViewer( |
| 23 |
Widget parent = NULL, |
| 24 |
const char *name = NULL, |
| 25 |
SbBool buildInsideParent = TRUE, |
| 26 |
SoXtFullViewer::BuildFlag flag = BUILD_ALL, |
| 27 |
SoXtViewer::Type type = BROWSER) {} |
| 28 |
METHOD "" ~SoXtPlaneViewer() |
| 29 |
{ |
| 30 |
Constructor and destructor which specifies the viewer type. |
| 31 |
Please refer to the |
| 32 |
\cSoXtViewer\. |
| 33 |
man pages for a description of the viewer types. |
| 34 |
\-For a constructor short cut look at the \mSoXtPlnVwrCreateStd\. #define.\. |
| 35 |
} |
| 36 |
|
| 37 |
MISC RESOURCES { |
| 38 |
\b |
| 39 |
*SoXtPlaneViewer.decoration: on (on | off) |
| 40 |
*SoXtPlaneViewer.seekAnimationTime: 2.0 (float) |
| 41 |
*SoXtPlaneViewer.seekTo: point (point | object) |
| 42 |
*SoXtPlaneViewer.seekDistanceUsage: percentage (percentage | absolute) |
| 43 |
*SoXtPlaneViewer.zoomMin: 1.0 (float) |
| 44 |
*SoXtPlaneViewer.zoomMax: 179.0 (float) |
| 45 |
*SoXtPlaneViewer.autoClipping: on (on | off) |
| 46 |
*SoXtPlaneViewer.nearDistance: 2.4 (float, when autoClipping is off) |
| 47 |
*SoXtPlaneViewer.farDistance: 2.8 (float, when autoClipping is off) |
| 48 |
*SoXtPlaneViewer*BackgroundColor: black (color name or hex value) |
| 49 |
\. |
| 50 |
} |
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
MISC USAGE { |
| 55 |
\b |
| 56 |
\vLeft Mouse:\. |
| 57 |
\vLeft + Middle Mouse:\. Dolly in and out (gets closer to and further |
| 58 |
away from the object). |
| 59 |
|
| 60 |
\p\vMiddle Mouse:\. |
| 61 |
\vCtrl + Left Mouse:\. Translate up, down, left and right. |
| 62 |
|
| 63 |
\p\vCtrl + Middle Mouse:\. Used for roll action (rotates around the viewer |
| 64 |
forward direction). |
| 65 |
|
| 66 |
\p\v<s> + click:\. Alternative to the Seek button. Press (but do not |
| 67 |
hold down) the <s> key, then click on a target object. |
| 68 |
|
| 69 |
\p\vRight Mouse:\. Open the popup menu. |
| 70 |
\. |
| 71 |
} |
| 72 |
|
| 73 |
ALSO { SoXtFullViewer, SoXtViewer, SoXtComponent, SoXtRenderArea, SoXtWalkViewer, |
| 74 |
SoXtExaminerViewer, SoXtFlyViewer } |