WSM API v25.0.0 (2025.0.0)
Loading...
Searching...
No Matches
WSM::ATFCameraData Struct Reference

Description

Data used to pass camera information to and from ATF.

Note there is no camera object in WSM.

#include <GeometryDataContainers.h>

Public Attributes

bool m_bIsPerspective = true
 True if the camera is perspective, otherwise parallel.
 
WSM::Point3d m_eye
 The camera eye position.
 
WSM::UnitVector3d m_direction
 The camera direction.
 
WSM::UnitVector3d m_up
 The camera up direction.
 
double m_orthoHeight = -1.0
 The view height when in orthographic view.
 
double m_horizontalFOV = -1.0
 The horizontal field of view in radians used in perspective views.
 

Member Data Documentation

◆ m_bIsPerspective

bool WSM::ATFCameraData::m_bIsPerspective = true

True if the camera is perspective, otherwise parallel.

◆ m_direction

WSM::UnitVector3d WSM::ATFCameraData::m_direction

The camera direction.

◆ m_eye

WSM::Point3d WSM::ATFCameraData::m_eye

The camera eye position.

◆ m_horizontalFOV

double WSM::ATFCameraData::m_horizontalFOV = -1.0

The horizontal field of view in radians used in perspective views.

If negative, the value is not specified.

◆ m_orthoHeight

double WSM::ATFCameraData::m_orthoHeight = -1.0

The view height when in orthographic view.

Note we use a 1-1 aspect ratio for export.

◆ m_up

WSM::UnitVector3d WSM::ATFCameraData::m_up

The camera up direction.


The documentation for this struct was generated from the following file: