File: SoOrthographicCamera.ivm

package info (click to toggle)
inventor 2.1.5-10-14
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 32,892 kB
  • ctags: 21,729
  • sloc: ansic: 33,867; lisp: 7,361; cpp: 3,874; yacc: 369; sh: 359; perl: 234; awk: 141; makefile: 76; csh: 35; sed: 11
file content (35 lines) | stat: -rw-r--r-- 1,100 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
NAME SoOrthographicCamera SoOrthoCam "" { orthographic camera node }

INCLUDE nodes/SoOrthographicCamera.h

DESC {
An orthographic camera defines a parallel projection from a viewpoint.
This camera does not diminish objects with distance, as an
\cSoPerspectiveCamera\. does. The viewing volume for an orthographic
camera is a rectangular parallelepiped (a box).
\p
By default, the camera is located at (0,0,1) and looks along the
negative z-axis; the \vposition\. and \vorientation\. fields can be
used to change these values. The \vheight\. field defines the total
height of the viewing volume; this and the \caspectRatio\. field
determine its width.
}

FIELD height { Height of the viewing volume. }

METHOD "" SoOrthographicCamera() {
Creates an orthographic camera node with default settings.
}

METHOD "" static SoType getClassTypeId() {
Returns type identifier for this class.
}

ACTION SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction,
       SoHandleEventAction, SoRayPickAction {
Sets the viewport and camera information in the state.
}

ALSO {
SbViewVolume, SoPerspectiveCamera
}