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

#include <MatrixHelpers.h>

Static Public Member Functions

static void CreateOGLMatrix (const vtkm::Matrix< vtkm::Float32, 4, 4 > &mtx, vtkm::Float32 *oglM)
 
static vtkm::Matrix< vtkm::Float32, 4, 4 > ViewMatrix (const vtkm::Vec3f_32 &position, const vtkm::Vec3f_32 &lookAt, const vtkm::Vec3f_32 &up)
 
static 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::Matrix< vtkm::Float32, 4, 4 > CreateScale (const vtkm::Float32 x, const vtkm::Float32 y, const vtkm::Float32 z)
 
static vtkm::Matrix< vtkm::Float32, 4, 4 > TrackballMatrix (vtkm::Float32 p1x, vtkm::Float32 p1y, vtkm::Float32 p2x, vtkm::Float32 p2y)
 

Member Function Documentation

◆ CreateOGLMatrix()

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

◆ CreateScale()

static 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::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::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::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: