| 1 |
NAME SoPerspectiveCamera SoPerspCam "" { perspective camera node } |
| 2 |
|
| 3 |
INCLUDE nodes/SoPerspectiveCamera.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
A perspective camera defines a perspective projection from a |
| 7 |
viewpoint. The viewing volume for a perspective camera is a truncated |
| 8 |
right pyramid. |
| 9 |
\p |
| 10 |
By default, the camera is located at (0,0,1) and looks along the |
| 11 |
negative z-axis; the \vposition\. and \vorientation\. fields can be |
| 12 |
used to change these values. The \vheightAngle\. field defines the |
| 13 |
total vertical angle of the viewing volume; this and the |
| 14 |
\caspectRatio\. field determine the horizontal angle. |
| 15 |
} |
| 16 |
|
| 17 |
FIELD heightAngle { Vertical angle of the viewing volume. } |
| 18 |
|
| 19 |
METHOD "" SoPerspectiveCamera() { |
| 20 |
Creates a perspective camera node with default settings. |
| 21 |
} |
| 22 |
|
| 23 |
METHOD "" static SoType getClassTypeId() { |
| 24 |
Returns type identifier for this class. |
| 25 |
} |
| 26 |
|
| 27 |
ACTION SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction, |
| 28 |
SoHandleEventAction, SoRayPickAction { |
| 29 |
Sets the viewport and camera information in the state. |
| 30 |
} |
| 31 |
|
| 32 |
ALSO { |
| 33 |
SbViewVolume, SoOrthographicCamera |
| 34 |
} |