Public Member Functions | Private Attributes | List of all members
Stg::OrthoCamera Class Reference

#include <stage.hh>

Inheritance diagram for Stg::OrthoCamera:
Inheritance graph
[legend]

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 ()
 

Private Attributes

double _pixels_height
 
double _pixels_width
 
double _scale
 
double _y_max
 
double _y_min
 

Additional Inherited Members

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

Detailed Description

Definition at line 1439 of file stage.hh.

Constructor & Destructor Documentation

Stg::OrthoCamera::OrthoCamera ( void  )
inline

Definition at line 1449 of file stage.hh.

Member Function Documentation

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

Definition at line 1474 of file stage.hh.

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

Definition at line 1472 of file stage.hh.

void OrthoCamera::Draw ( void  ) const
virtual

Implements Stg::Camera.

Definition at line 110 of file camera.cc.

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

Implements Stg::Camera.

Definition at line 206 of file camera.cc.

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

Definition at line 144 of file camera.cc.

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

Implements Stg::Camera.

Definition at line 1486 of file stage.hh.

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

Definition at line 213 of file camera.cc.

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

Definition at line 168 of file camera.cc.

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

Definition at line 1488 of file stage.hh.

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

Definition at line 1470 of file stage.hh.

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

Definition at line 1483 of file stage.hh.

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

Definition at line 135 of file camera.cc.

void OrthoCamera::SetProjection ( void  ) const
virtual

Implements Stg::Camera.

Definition at line 123 of file camera.cc.

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

Definition at line 1482 of file stage.hh.

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

Definition at line 1468 of file stage.hh.

Member Data Documentation

double Stg::OrthoCamera::_pixels_height
private

Definition at line 1444 of file stage.hh.

double Stg::OrthoCamera::_pixels_width
private

Definition at line 1443 of file stage.hh.

double Stg::OrthoCamera::_scale
private

Definition at line 1442 of file stage.hh.

double Stg::OrthoCamera::_y_max
private

Definition at line 1446 of file stage.hh.

double Stg::OrthoCamera::_y_min
private

Definition at line 1445 of file stage.hh.


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


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:12