FormIt C++ API  v23.0.0 (2023.0.0)
FormIt::Cameras API

Description

Functions

FORMIT_CORE_EXPORT CameraData FormIt::Cameras::GetCameraData ()
 GetCameraData() function. More...
 
FORMIT_CORE_EXPORT WSM::Point3d FormIt::Cameras::GetCameraWorldPosition ()
 GetCameraWorldPosition() function. More...
 
FORMIT_CORE_EXPORT WSM::Vector3d FormIt::Cameras::GetCameraWorldForward ()
 GetCameraWorldForward() function. More...
 
FORMIT_CORE_EXPORT WSM::Vector3d FormIt::Cameras::GetCameraWorldUp ()
 GetCameraWorldUp() function. More...
 
FORMIT_CORE_EXPORT bool FormIt::Cameras::SetCameraData (CameraData const &)
 SetCameraData() function. More...
 
FORMIT_CORE_EXPORT bool FormIt::Cameras::AlignWithFace (const WSM::GroupInstancePath &facePath, bool withTransition)
 AlignWithFace() function. More...
 
FORMIT_CORE_EXPORT FormIt::CameraProjectionType FormIt::Cameras::GetProjectionType ()
 GetProjectionType() function. More...
 
FORMIT_CORE_EXPORT void FormIt::Cameras::SetProjectionType (FormIt::CameraProjectionType type)
 SetProjectionType() function. More...
 
FORMIT_CORE_EXPORT void FormIt::Cameras::GetViewportSize (double &width, double &height)
 GetViewportSize() function. More...
 
FORMIT_CORE_EXPORT bool FormIt::Cameras::SetPositionAndOrientation (const WSM::Point3d &aEye, const WSM::Point3d &aLook, const WSM::Vector3d &aUp)
 SetPositionAndOrientation() function. More...
 
FORMIT_CORE_EXPORT void FormIt::Cameras::SetWorldForward (const WSM::Vector3d &forward)
 SetWorldForward() function. More...
 
FORMIT_CORE_EXPORT void FormIt::Cameras::SetFieldOfView (double fieldOfView)
 SetFieldOfView() function. More...
 

Function Documentation

FORMIT_CORE_EXPORT bool FormIt::Cameras::AlignWithFace ( const WSM::GroupInstancePath facePath,
bool  withTransition 
)

AlignWithFace() function.

Parameters
[in]facePath
[in]withTransition
FORMIT_CORE_EXPORT CameraData FormIt::Cameras::GetCameraData ( )

GetCameraData() function.

FORMIT_CORE_EXPORT WSM::Vector3d FormIt::Cameras::GetCameraWorldForward ( )
FORMIT_CORE_EXPORT WSM::Point3d FormIt::Cameras::GetCameraWorldPosition ( )
FORMIT_CORE_EXPORT WSM::Vector3d FormIt::Cameras::GetCameraWorldUp ( )

GetCameraWorldUp() function.

FORMIT_CORE_EXPORT FormIt::CameraProjectionType FormIt::Cameras::GetProjectionType ( )
FORMIT_CORE_EXPORT void FormIt::Cameras::GetViewportSize ( double &  width,
double &  height 
)

GetViewportSize() function.

Parameters
[out]width
[out]height
FORMIT_CORE_EXPORT bool FormIt::Cameras::SetCameraData ( CameraData const &  )

SetCameraData() function.

FORMIT_CORE_EXPORT void FormIt::Cameras::SetFieldOfView ( double  fieldOfView)

SetFieldOfView() function.

Parameters
[in]fieldOfView
FORMIT_CORE_EXPORT bool FormIt::Cameras::SetPositionAndOrientation ( const WSM::Point3d aEye,
const WSM::Point3d aLook,
const WSM::Vector3d aUp 
)

SetPositionAndOrientation() function.

Parameters
[in]aEye
[in]aLook
[in]aUp
FORMIT_CORE_EXPORT void FormIt::Cameras::SetProjectionType ( FormIt::CameraProjectionType  type)

SetProjectionType() function.

Parameters
[in]type
FORMIT_CORE_EXPORT void FormIt::Cameras::SetWorldForward ( const WSM::Vector3d forward)

SetWorldForward() function.

Parameters
[in]forward