Stg::OrthoCamera Class Reference

#include <stage.hh>

Inheritance diagram for Stg::OrthoCamera:

Public Member Functions

void addPitch (double pitch)
 
void addYaw (double yaw)
 
virtual void Draw () const
 
void Load (Worldfile *wf, int sec)
 
void move (double x, double y)
 
 OrthoCamera (void)
 
void reset (void)
 
void Save (Worldfile *wf, int sec)
 
void scale (double scale, double shift_x=0, double h=0, double shift_y=0, double w=0)
 
double scale () const
 
void setPitch (double pitch)
 
void setPose (double x, double y)
 
virtual void SetProjection (double pixels_width, double pixels_height, double y_min, double y_max)
 
virtual void SetProjection (void) const
 
void setScale (double scale)
 
void setYaw (double yaw)
 
- Public Member Functions inherited from Stg::Camera
 Camera ()
 
double pitch (void) const
 
double x (void) const
 
double y (void) const
 
double yaw (void) const
 
double z (void) const
 
virtual ~Camera ()
 

Additional Inherited Members

- Protected Attributes inherited from Stg::Camera
double _pitch
 
double _x
 
double _y
 
double _yaw
 
double _z
 

Constructor & Destructor Documentation

◆ OrthoCamera()

Stg::OrthoCamera::OrthoCamera ( void  )
inline

Member Function Documentation

◆ addPitch()

void Stg::OrthoCamera::addPitch ( double  pitch)
inline

◆ addYaw()

void Stg::OrthoCamera::addYaw ( double  yaw)
inline

◆ Draw()

void OrthoCamera::Draw ( void  ) const
virtual

Implements Stg::Camera.

◆ Load()

void OrthoCamera::Load ( Worldfile wf,
int  sec 
)
virtual

Implements Stg::Camera.

◆ move()

void OrthoCamera::move ( double  x,
double  y 
)

◆ reset()

void Stg::OrthoCamera::reset ( void  )
inlinevirtual

Implements Stg::Camera.

◆ Save()

void OrthoCamera::Save ( Worldfile wf,
int  sec 
)

◆ scale() [1/2]

void OrthoCamera::scale ( double  scale,
double  shift_x = 0,
double  h = 0,
double  shift_y = 0,
double  w = 0 
)

◆ scale() [2/2]

double Stg::OrthoCamera::scale ( ) const
inline

◆ setPitch()

void Stg::OrthoCamera::setPitch ( double  pitch)
inline

◆ setPose()

void Stg::OrthoCamera::setPose ( double  x,
double  y 
)
inline

◆ SetProjection() [1/2]

void OrthoCamera::SetProjection ( double  pixels_width,
double  pixels_height,
double  y_min,
double  y_max 
)
virtual

◆ SetProjection() [2/2]

void OrthoCamera::SetProjection ( void  ) const
virtual

Implements Stg::Camera.

◆ setScale()

void Stg::OrthoCamera::setScale ( double  scale)
inline

◆ setYaw()

void Stg::OrthoCamera::setYaw ( double  yaw)
inline

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