diff options
Diffstat (limited to 'tool_src/QvLib/QvPerspectiveCamera.h')
| -rw-r--r-- | tool_src/QvLib/QvPerspectiveCamera.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tool_src/QvLib/QvPerspectiveCamera.h b/tool_src/QvLib/QvPerspectiveCamera.h new file mode 100644 index 0000000..9ac8543 --- /dev/null +++ b/tool_src/QvLib/QvPerspectiveCamera.h @@ -0,0 +1,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_ */ |
