#include <CameraDirector.h>
List of all members.
Public Types |
enum | CAM_MODE {
MODE_NONE,
MODE_COCKPIT,
MODE_CHASE,
MODE_TARGET,
MODE_THREAT,
MODE_ORBIT,
MODE_VIRTUAL,
MODE_TRANSLATE,
MODE_ZOOM,
MODE_DOCKING,
MODE_DROP,
MODE_LAST
} |
Public Member Functions |
| CameraDirector () |
virtual | ~CameraDirector () |
int | operator== (const CameraDirector &that) const |
virtual void | Reset () |
virtual void | SetMode (int m, double trans_time=1) |
virtual int | GetMode () const |
virtual Camera * | GetCamera () |
virtual Ship * | GetShip () |
virtual void | SetShip (Ship *s) |
virtual void | VirtualHead (double az, double el) |
virtual void | VirtualHeadOffset (double x, double y, double z) |
virtual void | VirtualAzimuth (double delta) |
virtual void | VirtualElevation (double delta) |
virtual void | ExternalAzimuth (double delta) |
virtual void | ExternalElevation (double delta) |
virtual void | ExternalRange (double delta) |
virtual void | SetOrbitPoint (double az, double el, double range) |
virtual void | SetOrbitRates (double az_rate, double el_rate, double r_rate) |
virtual void | CycleViewObject () |
virtual Orbital * | GetViewOrbital () const |
virtual Ship * | GetViewObject () const |
virtual void | SetViewOrbital (Orbital *orb) |
virtual void | SetViewObject (Ship *obj, bool quick=false) |
virtual void | SetViewObjectGroup (ListIter< Ship > group, bool quick=false) |
virtual void | ClearGroup () |
virtual void | ExecFrame (double s) |
virtual void | Transition (double s) |
virtual bool | Update (SimObject *obj) |
virtual const char * | GetObserverName () const |
virtual | ~SimObserver () |
int | operator== (const SimObserver &o) const |
virtual void | Observe (SimObject *obj) |
virtual void | Ignore (SimObject *obj) |
Protected Member Functions |
virtual void | Cockpit (double s) |
virtual void | Chase (double s) |
virtual void | Target (double s) |
virtual void | Threat (double s) |
virtual void | Virtual (double s) |
virtual void | Orbit (double s) |
virtual void | Docking (double s) |
virtual void | Drop (double s) |
Detailed Description
Definition at line 32 of file CameraDirector.h.
Member Enumeration Documentation
- Enumerator:
MODE_NONE |
|
MODE_COCKPIT |
|
MODE_CHASE |
|
MODE_TARGET |
|
MODE_THREAT |
|
MODE_ORBIT |
|
MODE_VIRTUAL |
|
MODE_TRANSLATE |
|
MODE_ZOOM |
|
MODE_DOCKING |
|
MODE_DROP |
|
MODE_LAST |
|
Definition at line 37 of file CameraDirector.h.
Constructor & Destructor Documentation
CameraDirector::CameraDirector |
( |
| ) |
|
CameraDirector::~CameraDirector |
( |
| ) |
|
|
virtual |
Member Function Documentation
void CameraDirector::Chase |
( |
double |
s | ) |
|
|
protectedvirtual |
void CameraDirector::ClearGroup |
( |
| ) |
|
|
virtual |
void CameraDirector::Cockpit |
( |
double |
s | ) |
|
|
protectedvirtual |
void CameraDirector::CycleViewObject |
( |
| ) |
|
|
virtual |
void CameraDirector::Docking |
( |
double |
s | ) |
|
|
protectedvirtual |
void CameraDirector::Drop |
( |
double |
s | ) |
|
|
protectedvirtual |
void CameraDirector::ExecFrame |
( |
double |
s | ) |
|
|
virtual |
void CameraDirector::ExternalAzimuth |
( |
double |
delta | ) |
|
|
virtual |
void CameraDirector::ExternalElevation |
( |
double |
delta | ) |
|
|
virtual |
void CameraDirector::ExternalRange |
( |
double |
delta | ) |
|
|
virtual |
virtual Camera* CameraDirector::GetCamera |
( |
| ) |
|
|
inlinevirtual |
int CameraDirector::GetCameraMode |
( |
| ) |
|
|
static |
virtual int CameraDirector::GetMode |
( |
| ) |
const |
|
inlinevirtual |
const char * CameraDirector::GetModeName |
( |
| ) |
|
|
static |
const char * CameraDirector::GetObserverName |
( |
| ) |
const |
|
virtual |
double CameraDirector::GetRangeLimit |
( |
| ) |
|
|
static |
virtual Ship* CameraDirector::GetShip |
( |
| ) |
|
|
inlinevirtual |
virtual Ship* CameraDirector::GetViewObject |
( |
| ) |
const |
|
inlinevirtual |
virtual Orbital* CameraDirector::GetViewOrbital |
( |
| ) |
const |
|
inlinevirtual |
bool CameraDirector::IsViewCentered |
( |
| ) |
|
|
static |
void CameraDirector::Orbit |
( |
double |
s | ) |
|
|
protectedvirtual |
void CameraDirector::Reset |
( |
| ) |
|
|
virtual |
void CameraDirector::SetCameraMode |
( |
int |
m, |
|
|
double |
trans_time = 1 |
|
) |
| |
|
static |
void CameraDirector::SetMode |
( |
int |
m, |
|
|
double |
trans_time = 1 |
|
) |
| |
|
virtual |
void CameraDirector::SetOrbitPoint |
( |
double |
az, |
|
|
double |
el, |
|
|
double |
range |
|
) |
| |
|
virtual |
void CameraDirector::SetOrbitRates |
( |
double |
az_rate, |
|
|
double |
el_rate, |
|
|
double |
r_rate |
|
) |
| |
|
virtual |
void CameraDirector::SetRangeLimit |
( |
double |
r | ) |
|
|
static |
void CameraDirector::SetRangeLimits |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
|
static |
void CameraDirector::SetShip |
( |
Ship * |
s | ) |
|
|
virtual |
void CameraDirector::SetViewObject |
( |
Ship * |
obj, |
|
|
bool |
quick = false |
|
) |
| |
|
virtual |
void CameraDirector::SetViewObjectGroup |
( |
ListIter< Ship > |
group, |
|
|
bool |
quick = false |
|
) |
| |
|
virtual |
void CameraDirector::SetViewOrbital |
( |
Orbital * |
orb | ) |
|
|
virtual |
void CameraDirector::Target |
( |
double |
s | ) |
|
|
protectedvirtual |
void CameraDirector::Threat |
( |
double |
s | ) |
|
|
protectedvirtual |
void CameraDirector::Transition |
( |
double |
s | ) |
|
|
virtual |
static const char* CameraDirector::TYPENAME |
( |
| ) |
|
|
inlinestatic |
bool CameraDirector::Update |
( |
SimObject * |
obj | ) |
|
|
virtual |
void CameraDirector::Virtual |
( |
double |
s | ) |
|
|
protectedvirtual |
void CameraDirector::VirtualAzimuth |
( |
double |
delta | ) |
|
|
virtual |
void CameraDirector::VirtualElevation |
( |
double |
delta | ) |
|
|
virtual |
void CameraDirector::VirtualHead |
( |
double |
az, |
|
|
double |
el |
|
) |
| |
|
virtual |
void CameraDirector::VirtualHeadOffset |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
virtual |
Member Data Documentation
double CameraDirector::az_rate |
|
protected |
double CameraDirector::azimuth |
|
protected |
Point CameraDirector::base_loc |
|
protected |
double CameraDirector::base_range |
|
protected |
double CameraDirector::el_rate |
|
protected |
double CameraDirector::elevation |
|
protected |
Orbital* CameraDirector::external_body |
|
protected |
List<Ship> CameraDirector::external_group |
|
protected |
Point CameraDirector::external_point |
|
protected |
Ship* CameraDirector::external_ship |
|
protected |
int CameraDirector::old_mode |
|
protected |
double CameraDirector::range |
|
protected |
double CameraDirector::range_max |
|
protected |
double CameraDirector::range_min |
|
protected |
double CameraDirector::range_rate |
|
protected |
int CameraDirector::requested_mode |
|
protected |
Ship* CameraDirector::ship |
|
protected |
double CameraDirector::transition |
|
protected |
double CameraDirector::virt_az |
|
protected |
double CameraDirector::virt_el |
|
protected |
double CameraDirector::virt_x |
|
protected |
double CameraDirector::virt_y |
|
protected |
double CameraDirector::virt_z |
|
protected |
The documentation for this class was generated from the following files: