VECTORCAMERA

Summary

The VECTORCAMERA structure holds information about the camera.

Syntax

typedef  struct  tagVECTORCAMERA 
{ 
   L_INT  nSize; 
   L_DOUBLE  Theta; 
   L_DOUBLE  Phi; 
   VECTORPOINT  LookAt; 
   L_DOUBLE  Distance; 
   L_BOOL  bPerspective; 
}  VECTORCAMERA,  *  pVECTORCAMERA; 

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.

The camera can be used with either 2D or 3D vector images.

pVECTORCAMERA is a pointer to a VECTORCAMERA object.

Usage

Data Types

Functions

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

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