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 1374 of file stage.hh.

Constructor & Destructor Documentation

◆ OrthoCamera()

Stg::OrthoCamera::OrthoCamera ( void  )
inline

Definition at line 1383 of file stage.hh.

Member Function Documentation

◆ addPitch()

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

Definition at line 1395 of file stage.hh.

◆ addYaw()

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

Definition at line 1394 of file stage.hh.

◆ Draw()

void OrthoCamera::Draw ( void  ) const
virtual

Implements Stg::Camera.

Definition at line 101 of file camera.cc.

◆ Load()

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

Implements Stg::Camera.

Definition at line 198 of file camera.cc.

◆ move()

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

Definition at line 135 of file camera.cc.

◆ reset()

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

Implements Stg::Camera.

Definition at line 1412 of file stage.hh.

◆ Save()

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

Definition at line 205 of file camera.cc.

◆ scale() [1/2]

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

Definition at line 161 of file camera.cc.

◆ scale() [2/2]

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

Definition at line 1413 of file stage.hh.

◆ setPitch()

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

Definition at line 1393 of file stage.hh.

◆ setPose()

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

Definition at line 1405 of file stage.hh.

◆ SetProjection() [1/2]

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

Definition at line 125 of file camera.cc.

◆ SetProjection() [2/2]

void OrthoCamera::SetProjection ( void  ) const
virtual

Implements Stg::Camera.

Definition at line 113 of file camera.cc.

◆ setScale()

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

Definition at line 1404 of file stage.hh.

◆ setYaw()

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

Definition at line 1392 of file stage.hh.

Member Data Documentation

◆ _pixels_height

double Stg::OrthoCamera::_pixels_height
private

Definition at line 1378 of file stage.hh.

◆ _pixels_width

double Stg::OrthoCamera::_pixels_width
private

Definition at line 1377 of file stage.hh.

◆ _scale

double Stg::OrthoCamera::_scale
private

Definition at line 1376 of file stage.hh.

◆ _y_max

double Stg::OrthoCamera::_y_max
private

Definition at line 1380 of file stage.hh.

◆ _y_min

double Stg::OrthoCamera::_y_min
private

Definition at line 1379 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 Feb 28 2022 23:48:56