< Home

< Programming Guide

< Supported File Formats

REFERENCE MANUAL

Data Fields
A3DPDFAnimCameraData Struct Reference

Structure grouping the camera characteristics. More...

Data Fields

A3DUns16 m_usStructSize
 
A3DVector3dData m_sPosition
 
A3DVector3dData m_sTarget
 
A3DVector3dData m_sUpVector
 
A3DDouble m_dZoomFactor
 
A3DPDFEProjectionMode m_eMode
 
A3DDouble m_dFieldOfView
 

Detailed Description

Structure grouping the camera characteristics.

Version
6.1

Field Documentation

A3DUns16 A3DPDFAnimCameraData::m_usStructSize

Reserved; must be initialized by A3D_INITIALIZE_DATA.

A3DVector3dData A3DPDFAnimCameraData::m_sPosition

Camera position.

A3DVector3dData A3DPDFAnimCameraData::m_sTarget

Target position where the camera is looking at.

A3DVector3dData A3DPDFAnimCameraData::m_sUpVector

Camera up vector. It should be defined so that it is perpendicular to the vector created between the camera and target position. A non-perpendicular up vector results in a view which is tilting when it is activated in the Adobe PDF Reader.

A3DDouble A3DPDFAnimCameraData::m_dZoomFactor

This parameter is only applicable for orthographic cameras. It specifies the part of the scene that can be visualized and inversely acts as a zoom factor with the following relationship: [zoomfactor=1/2*view_size], with view_size as the smallest size of the viewable part in the X or Y direction.

A3DPDFEProjectionMode A3DPDFAnimCameraData::m_eMode

Camera projection mode: orthographic or perspective. Assuming that it won't change during the animation.

A3DDouble A3DPDFAnimCameraData::m_dFieldOfView

This parameter is only applicable for perspective cameras. It specifies the field of view as an angle in degrees.