1 | /**********************************************************************
|
---|
2 | *<
|
---|
3 | FILE: gencamera.h
|
---|
4 |
|
---|
5 | DESCRIPTION: Defines General-Purpose cameras
|
---|
6 |
|
---|
7 | CREATED BY: Tom Hudson
|
---|
8 |
|
---|
9 | HISTORY: created 5 December 1995
|
---|
10 |
|
---|
11 | *> Copyright (c) 1995, All Rights Reserved.
|
---|
12 | **********************************************************************/
|
---|
13 |
|
---|
14 | #ifndef __GENCAM__H__
|
---|
15 |
|
---|
16 | #define __GENCAM__H__
|
---|
17 |
|
---|
18 | // Camera types
|
---|
19 | #define FREE_CAMERA 0
|
---|
20 | #define TARGETED_CAMERA 1
|
---|
21 |
|
---|
22 | class GenCamera: public CameraObject {
|
---|
23 | public:
|
---|
24 | virtual GenCamera *NewCamera(int type)=0;
|
---|
25 | virtual void SetFOV(TimeValue t, float f)=0;
|
---|
26 | virtual float GetFOV(TimeValue t, Interval& valid = Interval(0,0))=0;
|
---|
27 | virtual void SetTDist(TimeValue t, float f)=0;
|
---|
28 | virtual float GetTDist(TimeValue t, Interval& valid = Interval(0,0))=0;
|
---|
29 | virtual void SetConeState(int s)=0;
|
---|
30 | virtual void SetHorzLineState(int s)=0;
|
---|
31 | virtual int GetManualClip()=0;
|
---|
32 | virtual void SetManualClip(int onOff)=0;
|
---|
33 | virtual float GetClipDist(TimeValue t, int which, Interval &valid = Interval(0,0))=0;
|
---|
34 | virtual void SetClipDist(TimeValue t, int which, float f)=0;
|
---|
35 | virtual void SetEnvRange(TimeValue time, int which, float f)=0;
|
---|
36 | virtual float GetEnvRange(TimeValue t, int which, Interval& valid = Interval(0,0))=0;
|
---|
37 | virtual void SetEnvDisplay(BOOL b, int notify=TRUE)=0;
|
---|
38 | virtual BOOL GetEnvDisplay(void)=0;
|
---|
39 | virtual void Enable(int enab)=0;
|
---|
40 | virtual BOOL SetFOVControl(Control *c)=0;
|
---|
41 |
|
---|
42 | virtual Control *GetFOVControl()=0;
|
---|
43 | };
|
---|
44 |
|
---|
45 |
|
---|
46 |
|
---|
47 | #endif // __GENCAM__H__
|
---|