aboutsummaryrefslogtreecommitdiff
path: root/tool_src/QvLib/QvPerspectiveCamera.h
blob: 9ac85432b231a292662fced33728081697e4507c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef  _QV_PERSPECTIVE_CAMERA_
#define  _QV_PERSPECTIVE_CAMERA_

#include <QvSFFloat.h>
#include <QvSFRotation.h>
#include <QvSFVec3f.h>
#include <QvSubNode.h>

class QvPerspectiveCamera : public QvNode {

    QV_NODE_HEADER(QvPerspectiveCamera);

  public:
    QvSFVec3f		position;	// Location of viewpoint
    QvSFRotation	orientation;	// Orientation (rotation with
					// respect to (0,0,-1) vector)
    QvSFFloat	    	focalDistance;	// Distance from viewpoint to
					// point of focus.
    QvSFFloat		heightAngle;	// Angle (in radians) of field
					// of view, in height direction
};

#endif /* _QV_PERSPECTIVE_CAMERA_ */