source: golgotha/src/max_plugin/sdk_inc/gencam.h @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
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
22class 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__
Note: See TracBrowser for help on using the repository browser.