Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

nvsg::MonoCamera Class Reference

A monoscopic camera. More...

#include <MonoCamera.h>

Inheritance diagram for nvsg::MonoCamera:

Inheritance graph
[legend]
Collaboration diagram for nvsg::MonoCamera:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual NVSG_API const MonoCameraclone (void) const =0
 Interface for cloning a MonoCamera.
virtual NVSG_API nvmath::Mat44f getProjection (void) const =0
 Interface for getting the projection matrix.
virtual NVSG_API float getProjectionDx (void) const =0
 Interface for getting the projection translation (used with stereo only).
virtual NVSG_API nvmath::Mat44f getInverseProjection (void) const =0
 Interface for getting the inverse projection matrix.
virtual NVSG_API void setProjectionDx (float dx)=0
 Interface for setting the project translation (used with stereo only).

Protected Member Functions

NVSG_API MonoCamera (void)
 Constructor.
virtual NVSG_API ~MonoCamera (void)
 Protected destructor to prevent explicit creation on stack.

Detailed Description

A monoscopic camera.

This camera class is used to group the monoscopic camera types (like SimpleCamera, JitterCamera).


Constructor & Destructor Documentation

NVSG_API nvsg::MonoCamera::MonoCamera void   )  [protected]
 

Constructor.

virtual NVSG_API nvsg::MonoCamera::~MonoCamera void   )  [protected, virtual]
 

Protected destructor to prevent explicit creation on stack.


Member Function Documentation

virtual NVSG_API const MonoCamera* nvsg::MonoCamera::clone void   )  const [pure virtual]
 

Interface for cloning a MonoCamera.

Returns:
pointer to the new MonoCamera.

Implements nvsg::Camera.

Implemented in nvsg::JitterCamera, nvsg::ParallelCamera, nvsg::PerspectiveCamera, and nvsg::SimpleCamera.

virtual NVSG_API nvmath::Mat44f nvsg::MonoCamera::getProjection void   )  const [pure virtual]
 

Interface for getting the projection matrix.

Returns:
The projection matrix

Implemented in nvsg::JitterCamera, nvsg::ParallelCamera, and nvsg::PerspectiveCamera.

virtual NVSG_API float nvsg::MonoCamera::getProjectionDx void   )  const [pure virtual]
 

Interface for getting the projection translation (used with stereo only).

Returns:
The projection translation in x

Implemented in nvsg::JitterCamera, and nvsg::SimpleCamera.

virtual NVSG_API nvmath::Mat44f nvsg::MonoCamera::getInverseProjection void   )  const [pure virtual]
 

Interface for getting the inverse projection matrix.

Returns:
The inverse projection matrix

Implemented in nvsg::JitterCamera, nvsg::ParallelCamera, and nvsg::PerspectiveCamera.

virtual NVSG_API void nvsg::MonoCamera::setProjectionDx float  dx  )  [pure virtual]
 

Interface for setting the project translation (used with stereo only).

Parameters:
dx  shift of projection in x-direction

Implemented in nvsg::JitterCamera, and nvsg::SimpleCamera.


The documentation for this class was generated from the following file:
Generated on Tue Mar 1 13:20:50 2005 for NVSGSDK by NVIDIA