VTK-m  2.0
Static Public Member Functions | List of all members
vtkm::rendering::MatrixHelpers Struct Reference

#include <MatrixHelpers.h>

Static Public Member Functions

static VTKM_CONT void CreateOGLMatrix (const vtkm::Matrix< vtkm::Float32, 4, 4 > &mtx, vtkm::Float32 *oglM)
 
static VTKM_CONT vtkm::Matrix< vtkm::Float32, 4, 4 > ViewMatrix (const vtkm::Vec3f_32 &position, const vtkm::Vec3f_32 &lookAt, const vtkm::Vec3f_32 &up)
 
static VTKM_CONT vtkm::Matrix< vtkm::Float32, 4, 4 > WorldMatrix (const vtkm::Vec3f_32 &neworigin, const vtkm::Vec3f_32 &newx, const vtkm::Vec3f_32 &newy, const vtkm::Vec3f_32 &newz)
 
static VTKM_CONT vtkm::Matrix< vtkm::Float32, 4, 4 > CreateScale (const vtkm::Float32 x, const vtkm::Float32 y, const vtkm::Float32 z)
 
static VTKM_CONT vtkm::Matrix< vtkm::Float32, 4, 4 > TrackballMatrix (vtkm::Float32 p1x, vtkm::Float32 p1y, vtkm::Float32 p2x, vtkm::Float32 p2y)
 

Member Function Documentation

◆ CreateOGLMatrix()

static VTKM_CONT void vtkm::rendering::MatrixHelpers::CreateOGLMatrix ( const vtkm::Matrix< vtkm::Float32, 4, 4 > &  mtx,
vtkm::Float32 oglM 
)
inlinestatic

◆ CreateScale()

static VTKM_CONT vtkm::Matrix<vtkm::Float32, 4, 4> vtkm::rendering::MatrixHelpers::CreateScale ( const vtkm::Float32  x,
const vtkm::Float32  y,
const vtkm::Float32  z 
)
inlinestatic

◆ TrackballMatrix()

static VTKM_CONT vtkm::Matrix<vtkm::Float32, 4, 4> vtkm::rendering::MatrixHelpers::TrackballMatrix ( vtkm::Float32  p1x,
vtkm::Float32  p1y,
vtkm::Float32  p2x,
vtkm::Float32  p2y 
)
inlinestatic

◆ ViewMatrix()

static VTKM_CONT vtkm::Matrix<vtkm::Float32, 4, 4> vtkm::rendering::MatrixHelpers::ViewMatrix ( const vtkm::Vec3f_32 position,
const vtkm::Vec3f_32 lookAt,
const vtkm::Vec3f_32 up 
)
inlinestatic

◆ WorldMatrix()

static VTKM_CONT vtkm::Matrix<vtkm::Float32, 4, 4> vtkm::rendering::MatrixHelpers::WorldMatrix ( const vtkm::Vec3f_32 neworigin,
const vtkm::Vec3f_32 newx,
const vtkm::Vec3f_32 newy,
const vtkm::Vec3f_32 newz 
)
inlinestatic

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