VTK-m  2.0
Namespaces | Functions
Transform3D.h File Reference
#include <vtkm/Matrix.h>
#include <vtkm/VectorAnalysis.h>

Go to the source code of this file.

Namespaces

 vtkm
 Groups connected points that have the same field value.
 

Functions

template<typename T >
VTKM_EXEC_CONT vtkm::Vec< T, 3 > vtkm::Transform3DPoint (const vtkm::Matrix< T, 4, 4 > &matrix, const vtkm::Vec< T, 3 > &point)
 Transform a 3D point by a transformation matrix. More...
 
template<typename T >
VTKM_EXEC_CONT vtkm::Vec< T, 3 > vtkm::Transform3DPointPerspective (const vtkm::Matrix< T, 4, 4 > &matrix, const vtkm::Vec< T, 3 > &point)
 Transform a 3D point by a transformation matrix with perspective. More...
 
template<typename T >
VTKM_EXEC_CONT vtkm::Vec< T, 3 > vtkm::Transform3DVector (const vtkm::Matrix< T, 4, 4 > &matrix, const vtkm::Vec< T, 3 > &vector)
 Transform a 3D vector by a transformation matrix. More...
 
template<typename T >
VTKM_EXEC_CONT vtkm::Matrix< T, 4, 4 > vtkm::Transform3DScale (const T &scaleX, const T &scaleY, const T &scaleZ)
 Returns a scale matrix. More...
 
template<typename T >
VTKM_EXEC_CONT vtkm::Matrix< T, 4, 4 > vtkm::Transform3DScale (const vtkm::Vec< T, 3 > &scaleVec)
 Returns a scale matrix. More...
 
template<typename T >
VTKM_EXEC_CONT vtkm::Matrix< T, 4, 4 > vtkm::Transform3DScale (const T &scale)
 Returns a scale matrix. More...
 
template<typename T >
VTKM_EXEC_CONT vtkm::Matrix< T, 4, 4 > vtkm::Transform3DTranslate (const T &x, const T &y, const T &z)
 Returns a translation matrix. More...
 
template<typename T >
VTKM_EXEC_CONT vtkm::Matrix< T, 4, 4 > vtkm::Transform3DTranslate (const vtkm::Vec< T, 3 > &v)
 
template<typename T >
VTKM_EXEC_CONT vtkm::Matrix< T, 4, 4 > vtkm::Transform3DRotate (T angleDegrees, const vtkm::Vec< T, 3 > &axisOfRotation)
 Returns a rotation matrix. More...
 
template<typename T >
VTKM_EXEC_CONT vtkm::Matrix< T, 4, 4 > vtkm::Transform3DRotate (T angleDegrees, T x, T y, T z)
 
template<typename T >
VTKM_EXEC_CONT vtkm::Matrix< T, 4, 4 > vtkm::Transform3DRotateX (T angleDegrees)
 Returns a rotation matrix. More...
 
template<typename T >
VTKM_EXEC_CONT vtkm::Matrix< T, 4, 4 > vtkm::Transform3DRotateY (T angleDegrees)
 Returns a rotation matrix. More...
 
template<typename T >
VTKM_EXEC_CONT vtkm::Matrix< T, 4, 4 > vtkm::Transform3DRotateZ (T angleDegrees)
 Returns a rotation matrix. More...