Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Camera Class Reference

#include <Camera.h>

List of all members.

Public Member Functions

 Camera (double x=0.0, double y=0.0, double z=0.0)
virtual ~Camera ()
void Aim (double roll, double pitch, double yaw)
void Roll (double roll)
void Pitch (double pitch)
void Yaw (double yaw)
void MoveTo (double x, double y, double z)
void MoveTo (const Point &p)
void MoveBy (double dx, double dy, double dz)
void MoveBy (const Point &p)
void Clone (const Camera &cam)
void LookAt (const Point &target)
void LookAt (const Point &target, const Point &eye, const Point &up)
bool Padlock (const Point &target, double alimit=-1, double e_lo=-1, double e_hi=-1)
Point Pos () const
Point vrt () const
Point vup () const
Point vpn () const
const MatrixOrientation () const

Static Public Member Functions

static const char * TYPENAME ()

Protected Attributes

Point pos
Matrix orientation

Detailed Description

Definition at line 25 of file Camera.h.


Constructor & Destructor Documentation

Camera::Camera ( double  x = 0.0,
double  y = 0.0,
double  z = 0.0 
)

Definition at line 20 of file Camera.cpp.

Camera::~Camera ( )
virtual

Definition at line 24 of file Camera.cpp.


Member Function Documentation

void Camera::Aim ( double  roll,
double  pitch,
double  yaw 
)
inline

Definition at line 33 of file Camera.h.

void Camera::Clone ( const Camera cam)

Definition at line 66 of file Camera.cpp.

void Camera::LookAt ( const Point target)

Definition at line 99 of file Camera.cpp.

void Camera::LookAt ( const Point target,
const Point eye,
const Point up 
)

Definition at line 75 of file Camera.cpp.

void Camera::MoveBy ( double  dx,
double  dy,
double  dz 
)

Definition at line 48 of file Camera.cpp.

void Camera::MoveBy ( const Point p)

Definition at line 56 of file Camera.cpp.

void Camera::MoveTo ( double  x,
double  y,
double  z 
)

Definition at line 30 of file Camera.cpp.

void Camera::MoveTo ( const Point p)

Definition at line 38 of file Camera.cpp.

const Matrix& Camera::Orientation ( ) const
inline

Definition at line 53 of file Camera.h.

bool Camera::Padlock ( const Point target,
double  alimit = -1,
double  e_lo = -1,
double  e_hi = -1 
)

Definition at line 143 of file Camera.cpp.

void Camera::Pitch ( double  pitch)
inline

Definition at line 35 of file Camera.h.

Point Camera::Pos ( ) const
inline

Definition at line 48 of file Camera.h.

void Camera::Roll ( double  roll)
inline

Definition at line 34 of file Camera.h.

static const char* Camera::TYPENAME ( )
inlinestatic

Definition at line 28 of file Camera.h.

Point Camera::vpn ( ) const
inline

Definition at line 51 of file Camera.h.

Point Camera::vrt ( ) const
inline

Definition at line 49 of file Camera.h.

Point Camera::vup ( ) const
inline

Definition at line 50 of file Camera.h.

void Camera::Yaw ( double  yaw)
inline

Definition at line 36 of file Camera.h.


Member Data Documentation

Matrix Camera::orientation
protected

Definition at line 57 of file Camera.h.

Point Camera::pos
protected

Definition at line 56 of file Camera.h.


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