VTK-m  2.0
Public Member Functions | Public Attributes | List of all members
vtkm::rendering::Camera::Camera3DStruct Struct Reference

Public Member Functions

VTKM_CONT Camera3DStruct ()
 
vtkm::Matrix< vtkm::Float32, 4, 4 > CreateViewMatrix () const
 
vtkm::Matrix< vtkm::Float32, 4, 4 > CreateProjectionMatrix (vtkm::Id width, vtkm::Id height, vtkm::Float32 nearPlane, vtkm::Float32 farPlane) const
 

Public Attributes

vtkm::Vec3f_32 LookAt
 
vtkm::Vec3f_32 Position
 
vtkm::Vec3f_32 ViewUp
 
vtkm::Float32 FieldOfView
 
vtkm::Float32 XPan
 
vtkm::Float32 YPan
 
vtkm::Float32 Zoom
 

Constructor & Destructor Documentation

◆ Camera3DStruct()

VTKM_CONT vtkm::rendering::Camera::Camera3DStruct::Camera3DStruct ( )
inline

Member Function Documentation

◆ CreateProjectionMatrix()

vtkm::Matrix<vtkm::Float32, 4, 4> vtkm::rendering::Camera::Camera3DStruct::CreateProjectionMatrix ( vtkm::Id  width,
vtkm::Id  height,
vtkm::Float32  nearPlane,
vtkm::Float32  farPlane 
) const

◆ CreateViewMatrix()

vtkm::Matrix<vtkm::Float32, 4, 4> vtkm::rendering::Camera::Camera3DStruct::CreateViewMatrix ( ) const

Member Data Documentation

◆ FieldOfView

vtkm::Float32 vtkm::rendering::Camera::Camera3DStruct::FieldOfView

◆ LookAt

vtkm::Vec3f_32 vtkm::rendering::Camera::Camera3DStruct::LookAt

◆ Position

vtkm::Vec3f_32 vtkm::rendering::Camera::Camera3DStruct::Position

◆ ViewUp

vtkm::Vec3f_32 vtkm::rendering::Camera::Camera3DStruct::ViewUp

◆ XPan

vtkm::Float32 vtkm::rendering::Camera::Camera3DStruct::XPan

◆ YPan

vtkm::Float32 vtkm::rendering::Camera::Camera3DStruct::YPan

◆ Zoom

vtkm::Float32 vtkm::rendering::Camera::Camera3DStruct::Zoom

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