Detailed Description
- See also:
 
- Class CameraObject,
Class Interval, Class
Control.
 
- Description:
 
- This class describes a generic camera object. It is used as a
base class for creating plug-in cameras. Methods of this class are
used to get and set properties of the camera. All methods of this
class are virtual.
 
 
#include <gencam.h>
List of all
members.
Member Function Documentation
| virtual GenCamera* NewCamera | 
( | 
int  | 
type | 
) | 
[pure virtual] | 
 
- Parameters:
 
- int type
Nonzero if the camera has a target; otherwise 0. 
- Returns:
 
- A pointer to a new instance of the specified light type.
 
Implemented in MSPluginCamera,
and MSCameraXtnd.
 
 
| virtual void SetConeState | 
( | 
int  | 
s | 
) | 
[pure virtual] | 
 
 
| virtual int GetConeState | 
( | 
 | 
) | 
[pure virtual] | 
 
 
| virtual void SetHorzLineState | 
( | 
int  | 
s | 
) | 
[pure virtual] | 
 
 
| virtual int GetHorzLineState | 
( | 
 | 
) | 
[pure virtual] | 
 
 
| virtual void Enable | 
( | 
int  | 
enab | 
) | 
[pure virtual] | 
 
 
| virtual BOOL SetFOVControl | 
( | 
Control *  | 
c | 
) | 
[pure virtual] | 
 
 
| virtual void SetFOVType | 
( | 
int  | 
ft | 
) | 
[pure virtual] | 
 
- Parameters:
 
- int ft
One of the following values:
FOV_W
Width-related FOV
FOV_H
Height-related FOV
FOV_D
Diagonal-related FOV 
Implemented in MSPluginCamera,
and MSCameraXtnd.
 
 
| virtual int GetFOVType | 
( | 
 | 
) | 
[pure virtual] | 
 
 
| virtual Control* GetFOVControl | 
( | 
 | 
) | 
[pure virtual] | 
 
 
| virtual int Type | 
( | 
 | 
) | 
[pure virtual] | 
 
 
| virtual void SetType | 
( | 
int  | 
tp | 
) | 
[pure virtual] | 
 
- Parameters:
 
- int tp
One of the following types:
FREE_CAMERA (No Target)
TARGETED_CAMERA (Target / Look At Controller)
PARALLEL_CAMERA (Orthographic 
Camera) 
Implemented in MSPluginCamera,
and MSCameraXtnd.
 
 
| virtual void SetDOFEnable | 
( | 
TimeValue  | 
t, | 
 | 
 | 
BOOL  | 
onOff  | 
 | 
) | 
 | 
[inline, virtual] | 
 
 
| virtual BOOL GetDOFEnable | 
( | 
TimeValue  | 
t, | 
 | 
 | 
Interval &  | 
valid = Interval(0,0)  | 
 | 
) | 
 | 
[inline, virtual] | 
 
 
| virtual void SetDOFFStop | 
( | 
TimeValue  | 
t, | 
 | 
 | 
float  | 
fs  | 
 | 
) | 
 | 
[inline, virtual] | 
 
 
| virtual float GetDOFFStop | 
( | 
TimeValue  | 
t, | 
 | 
 | 
Interval &  | 
valid = Interval(0,0)  | 
 | 
) | 
 | 
[inline, virtual] | 
 
 
 
GenCamera GenCamera GenCamera GenCamera
GenCamera GenCamera GenCamera GenCamera GenCamera GenCamera
GenCamera GenCamera GenCamera GenCamera
GenCamera GenCamera GenCamera GenCamera GenCamera GenCamera