Structure to define a Camera View. More...

Data Fields

A3DBool m_bIsDefault
 
A3DDouble m_dFieldOfView
 
A3DDouble m_dZoomFactor
 
A3DPDFEProjectionMode m_eProjectionMode
 
A3DPDFELighting m_eViewLighting
 
A3DPDFERenderingStyle m_eViewRenderingStyle
 
A3DUTF8Charm_pcExternalName
 
A3DUTF8Charm_pcInternalName
 
A3DVector3dData m_sPosition
 
A3DVector3dData m_sTarget
 
A3DVector3dData m_sUpVector
 
A3DPDFRgbColorData m_sViewBackgroundColor
 

Detailed Description

Structure to define a Camera View.

Version
4.1

Field Documentation

◆ m_pcInternalName

A3DUTF8Char* A3DPDFViewData::m_pcInternalName

Internal name of the view.

◆ m_pcExternalName

A3DUTF8Char* A3DPDFViewData::m_pcExternalName

External name of the view. This name is used in JavaScript functions.

◆ m_sPosition

A3DVector3dData A3DPDFViewData::m_sPosition

Camera position.

◆ m_sTarget

A3DVector3dData A3DPDFViewData::m_sTarget

Target position where the camera is looking at.

◆ m_sUpVector

A3DVector3dData A3DPDFViewData::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.

◆ m_dZoomFactor

A3DDouble A3DPDFViewData::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.

◆ m_bIsDefault

A3DBool A3DPDFViewData::m_bIsDefault

Specifies that this view should be the default view (the view used when the 3D is activated). Only one view should be defined by default.

◆ m_sViewBackgroundColor

A3DPDFRgbColorData A3DPDFViewData::m_sViewBackgroundColor

Display setting - background color for the view.

◆ m_eViewLighting

A3DPDFELighting A3DPDFViewData::m_eViewLighting

Display setting - lighting for the view.

◆ m_eViewRenderingStyle

A3DPDFERenderingStyle A3DPDFViewData::m_eViewRenderingStyle

Display setting - rendering style for the view.

◆ m_eProjectionMode

A3DPDFEProjectionMode A3DPDFViewData::m_eProjectionMode

Camera projection mode: orthographic or perspective.

◆ m_dFieldOfView

A3DDouble A3DPDFViewData::m_dFieldOfView

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