GlutCamera Struct Reference

Camera which controls the view of the scene. More...

`#include <SurgSim/Testing/VisualTestCommon/GlutRenderer.h>`

## Public Member Functions

| GlutCamera (const SurgSim::Math::Vector3d &eye_, const SurgSim::Math::Vector3d &center_, const SurgSim::Math::Vector3d &up_, const double fovY_, double zNear_, double zFar_)
| Constructor. More...

## Public Attributes

SurgSim::Math::Vector3d | eye
| Eye position. More...
SurgSim::Math::Vector3d | center
| Center (look at) position. More...
SurgSim::Math::Vector3d | up
| Up direction. More...
double | fovY
| Field of view angle (in degrees) in the vertical direction. More...
double | zNear
| Near clipping plane distance from camera, in meters. More...
double | zFar
| Far clipping plane distance from camera, in meters. More...

## Detailed Description

Camera which controls the view of the scene.

## Constructor & Destructor Documentation

## GlutCamera()

GlutCamera::GlutCamera | ( | const SurgSim::Math::Vector3d & | eye_,
|  | const SurgSim::Math::Vector3d & | center_,
|  | const SurgSim::Math::Vector3d & | up_,
|  | const double | fovY_,
|  | double | zNear_,
|  | double | zFar_
| ) |  |

inline

Constructor.

Parameters

  eye_ | Eye position.
  center_ | Center (look at) position.
  up_ | Up direction.
  fovY_ | Field of view angle (in degrees) in the vertical direction.
  zNear_ | Near clipping plane distance from camera, in meters.
  zFar_ | Far clipping plane distance from camera, in meters.

## Member Data Documentation

## center

SurgSim::Math::Vector3d GlutCamera::center

Center (look at) position.

## eye

SurgSim::Math::Vector3d GlutCamera::eye

Eye position.

## fovY

double GlutCamera::fovY

Field of view angle (in degrees) in the vertical direction.

## up

SurgSim::Math::Vector3d GlutCamera::up

Up direction.

## zFar

double GlutCamera::zFar

Far clipping plane distance from camera, in meters.

## zNear

double GlutCamera::zNear

Near clipping plane distance from camera, in meters.

The documentation for this struct was generated from the following file:

- SurgSim/Testing/VisualTestCommon/GlutRenderer.h