Stg::PerspectiveCamera Class Reference

#include <stage.hh>

Inheritance diagram for Stg::PerspectiveCamera:

List of all members.

Public Member Functions

void addPitch (double pitch)
void addPose (double x, double y, double z)
void addYaw (double yaw)
virtual void Draw (void) const
double farClip (void) const
void forward (double amount)
double horizFov (void) const
void Load (Worldfile *wf, int sec)
void move (double x, double y, double z)
double nearClip (void) const
 PerspectiveCamera (void)
double realDistance (double z_buf_val) const
void reset ()
void Save (Worldfile *wf, int sec)
void scroll (double dy)
void setAspect (double aspect)
 update vertical fov based on window aspect and current horizontal fov
void setClip (double near, double far)
void setFov (double horiz_fov, double vert_fov)
void setPitch (double pitch)
void setPose (double x, double y, double z)
virtual void SetProjection (void) const
void setYaw (double yaw)
void strafe (double amount)
void update (void)
double vertFov (void) const

Constructor & Destructor Documentation

PerspectiveCamera::PerspectiveCamera ( void  )

Member Function Documentation

void Stg::PerspectiveCamera::addPitch ( double  pitch) [inline]
void Stg::PerspectiveCamera::addPose ( double  x,
double  y,
double  z 
) [inline]
void Stg::PerspectiveCamera::addYaw ( double  yaw) [inline]
void PerspectiveCamera::Draw ( void  ) const [virtual]

Implements Stg::Camera.

double Stg::PerspectiveCamera::farClip ( void  ) const [inline]
void PerspectiveCamera::forward ( double  amount)
double Stg::PerspectiveCamera::horizFov ( void  ) const [inline]
void PerspectiveCamera::Load ( Worldfile wf,
int  sec 
) [virtual]

Implements Stg::Camera.

void PerspectiveCamera::move ( double  x,
double  y,
double  z 
)
double Stg::PerspectiveCamera::nearClip ( void  ) const [inline]
double Stg::PerspectiveCamera::realDistance ( double  z_buf_val) const [inline]
void Stg::PerspectiveCamera::reset ( void  ) [inline, virtual]

Implements Stg::Camera.

void PerspectiveCamera::Save ( Worldfile wf,
int  sec 
)
void Stg::PerspectiveCamera::scroll ( double  dy) [inline]
void Stg::PerspectiveCamera::setAspect ( double  aspect) [inline]

update vertical fov based on window aspect and current horizontal fov

void Stg::PerspectiveCamera::setClip ( double  near,
double  far 
) [inline]
void Stg::PerspectiveCamera::setFov ( double  horiz_fov,
double  vert_fov 
) [inline]
void Stg::PerspectiveCamera::setPitch ( double  pitch) [inline]
void Stg::PerspectiveCamera::setPose ( double  x,
double  y,
double  z 
) [inline]
void PerspectiveCamera::SetProjection ( void  ) const [virtual]

Implements Stg::Camera.

void Stg::PerspectiveCamera::setYaw ( double  yaw) [inline]
void PerspectiveCamera::strafe ( double  amount)
void PerspectiveCamera::update ( void  )
double Stg::PerspectiveCamera::vertFov ( void  ) const [inline]

The documentation for this class was generated from the following files: