Public Member Functions | Public Attributes | List of all members
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 ( 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

SurgSim::Math::Vector3d GlutCamera::center

Center (look at) position.

SurgSim::Math::Vector3d GlutCamera::eye

Eye position.

double GlutCamera::fovY

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

SurgSim::Math::Vector3d GlutCamera::up

Up direction.

double GlutCamera::zFar

Far clipping plane distance from camera, in meters.

double GlutCamera::zNear

Near clipping plane distance from camera, in meters.


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