| 1 |
NAME SoOrthographicCamera SoOrthoCam "" { orthographic camera node } |
| 2 |
|
| 3 |
INCLUDE nodes/SoOrthographicCamera.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
An orthographic camera defines a parallel projection from a viewpoint. |
| 7 |
This camera does not diminish objects with distance, as an |
| 8 |
\cSoPerspectiveCamera\. does. The viewing volume for an orthographic |
| 9 |
camera is a rectangular parallelepiped (a box). |
| 10 |
\p |
| 11 |
By default, the camera is located at (0,0,1) and looks along the |
| 12 |
negative z-axis; the \vposition\. and \vorientation\. fields can be |
| 13 |
used to change these values. The \vheight\. field defines the total |
| 14 |
height of the viewing volume; this and the \caspectRatio\. field |
| 15 |
determine its width. |
| 16 |
} |
| 17 |
|
| 18 |
FIELD height { Height of the viewing volume. } |
| 19 |
|
| 20 |
METHOD "" SoOrthographicCamera() { |
| 21 |
Creates an orthographic camera node with default settings. |
| 22 |
} |
| 23 |
|
| 24 |
METHOD "" static SoType getClassTypeId() { |
| 25 |
Returns type identifier for this class. |
| 26 |
} |
| 27 |
|
| 28 |
ACTION SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction, |
| 29 |
SoHandleEventAction, SoRayPickAction { |
| 30 |
Sets the viewport and camera information in the state. |
| 31 |
} |
| 32 |
|
| 33 |
ALSO { |
| 34 |
SbViewVolume, SoPerspectiveCamera |
| 35 |
} |