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

Public Member Functions

 Camera2DStruct ()
 
vtkm::Matrix< vtkm::Float32, 4, 4 > CreateViewMatrix () const
 
vtkm::Matrix< vtkm::Float32, 4, 4 > CreateProjectionMatrix (vtkm::Float32 size, vtkm::Float32 znear, vtkm::Float32 zfar, vtkm::Float32 aspect) const
 

Public Attributes

vtkm::Float32 Left
 
vtkm::Float32 Right
 
vtkm::Float32 Bottom
 
vtkm::Float32 Top
 
vtkm::Float32 XScale
 
vtkm::Float32 XPan
 
vtkm::Float32 YPan
 
vtkm::Float32 Zoom
 

Constructor & Destructor Documentation

◆ Camera2DStruct()

vtkm::rendering::Camera::Camera2DStruct::Camera2DStruct ( )
inline

Member Function Documentation

◆ CreateProjectionMatrix()

vtkm::Matrix<vtkm::Float32, 4, 4> vtkm::rendering::Camera::Camera2DStruct::CreateProjectionMatrix ( vtkm::Float32  size,
vtkm::Float32  znear,
vtkm::Float32  zfar,
vtkm::Float32  aspect 
) const

◆ CreateViewMatrix()

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

Member Data Documentation

◆ Bottom

vtkm::Float32 vtkm::rendering::Camera::Camera2DStruct::Bottom

◆ Left

vtkm::Float32 vtkm::rendering::Camera::Camera2DStruct::Left

◆ Right

vtkm::Float32 vtkm::rendering::Camera::Camera2DStruct::Right

◆ Top

vtkm::Float32 vtkm::rendering::Camera::Camera2DStruct::Top

◆ XPan

vtkm::Float32 vtkm::rendering::Camera::Camera2DStruct::XPan

◆ XScale

vtkm::Float32 vtkm::rendering::Camera::Camera2DStruct::XScale

◆ YPan

vtkm::Float32 vtkm::rendering::Camera::Camera2DStruct::YPan

◆ Zoom

vtkm::Float32 vtkm::rendering::Camera::Camera2DStruct::Zoom

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