typedef struct tagVECTORCAMERA{L_INT nSize;L_DOUBLE Theta;L_DOUBLE Phi;VECTORPOINT LookAt;L_DOUBLE Distance;L_BOOL bPerspective;} VECTORCAMERA, * pVECTORCAMERA;
The VECTORCAMERA structure holds information about the camera.
Size of this structure. Used for versioning.
Rotation angle around the Z axis.
Rotation angle off the Z axis.
Point on which the camera is focused.
Distance between the camera and the object.
Flag that indicates the type of projection. Possible values are:
| Value | Meaning |
|---|---|
| TRUE | Perspective projection is used. |
| FALSE | Parallel projection is used. |
The camera object is used along with the viewport to project the vector image into a 2D plane.
L_VecSetCamera and L_VecGetCamera are the functions used for manipulating the camera object.
The camera can be used with either 2D or 3D vector images.
pVECTORCAMERA is a pointer to a VECTORCAMERA object.