VECTORCAMERA

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.

Members

L_INT nSize

Size of this structure. Used for versioning.

L_DOUBLETheta

Rotation angle around the Z axis.

L_DOUBLE Phi

Rotation angle off the Z axis.

VECTORPOINT LookAt

Point on which the camera is focused.

L_DOUBLE Distance

Distance between the camera and the object.

L_BOOL bPerspective

Flag that indicates the type of projection. Possible values are:

Value Meaning
TRUE Perspective projection is used.
FALSE Parallel projection is used.

Comments

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.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.