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.
| Member | Description | |
| nSize | Size of this structure. Used for versioning. | |
| Theta | Rotation angle around the Z axis. | |
| Phi | Rotation angle off the Z axis. | |
| LookAt | Point on which the camera is focused. | |
| Distance | Distance between the camera and the object. | |
| bPerspective | 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.
LVectorBase::SetCamera and LVectorBase::GetCamera 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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
