Magnum/MeshTools/Transform.h file

Function Magnum::MeshTools::transformVectorsInPlace(), Magnum::MeshTools::transformVectors(), Magnum::MeshTools::transformPointsInPlace(), Magnum::MeshTools::transformPoints(), Magnum::MeshTools::transform2D(), Magnum::MeshTools::transform2DInPlace(), Magnum::MeshTools::transform3D(), Magnum::MeshTools::transform3DInPlace(), Magnum::MeshTools::transformTextureCoordinates2D(), Magnum::MeshTools::transformTextureCoordinates2DInPlace()

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::MeshTools
Mesh tools.

Functions

template<class T, class U>
void transformVectorsInPlace(const Math::Matrix4<T>& matrix, U&& vectors)
Transform vectors in-place using given transformation.
template<class T, class U>
void transformVectorsInPlace(const Math::Matrix3<T>& matrix, U&& vectors)
template<class T, class U>
void transformVectorsInPlace(const Math::Complex<T>& complex, U&& vectors)
template<class T, class U>
void transformVectorsInPlace(const Math::Quaternion<T>& normalizedQuaternion, U&& vectors)
template<class T, class U>
auto transformVectors(const T& transformation, U vectors) -> U
Transform vectors using given transformation.
template<class T, class U>
void transformPointsInPlace(const Math::Matrix4<T>& matrix, U&& points)
Transform points in-place using given transformation.
template<class T, class U>
void transformPointsInPlace(const Math::Matrix3<T>& matrix, U&& points)
template<class T, class U>
void transformPointsInPlace(const Math::DualComplex<T>& dualComplex, U&& points)
template<class T, class U>
void transformPointsInPlace(const Math::DualQuaternion<T>& normalizedDualQuaternion, U&& points)
template<class T, class U>
auto transformPoints(const T& transformation, U vectors) -> U
Transform points using given transformation.
auto transform2D(const Trade::MeshData& mesh, const Matrix3& transformation, UnsignedInt id = 0, Int morphTargetId = -1, InterleaveFlags flags = InterleaveFlag::PreserveInterleavedAttributes) -> Trade::MeshData new in Git master
Transform 2D positions in a mesh data.
auto transform2D(const Trade::MeshData& mesh, const Matrix3& transformation, UnsignedInt id, InterleaveFlags flags) -> Trade::MeshData deprecated in Git master
Transform 2D positions in a mesh data.
auto transform2D(Trade::MeshData&& mesh, const Matrix3& transformation, UnsignedInt id = 0, Int morphTargetId = -1, InterleaveFlags flags = InterleaveFlag::PreserveInterleavedAttributes) -> Trade::MeshData new in Git master
Transform 2D positions in a mesh data.
auto transform2D(Trade::MeshData&& mesh, const Matrix3& transformation, UnsignedInt id, InterleaveFlags flags) -> Trade::MeshData deprecated in Git master
Transform 2D positions in a mesh data.
void transform2DInPlace(Trade::MeshData& mesh, const Matrix3& transformation, UnsignedInt id = 0, Int morphTargetId = -1) new in Git master
Transform 2D positions in a mesh data in-place.
auto transform3D(const Trade::MeshData& mesh, const Matrix4& transformation, UnsignedInt id = 0, Int morphTargetId = -1, InterleaveFlags flags = InterleaveFlag::PreserveInterleavedAttributes) -> Trade::MeshData new in Git master
Transform 3D positions, normals, tangents and bitangents in a mesh data.
auto transform3D(const Trade::MeshData& mesh, const Matrix4& transformation, UnsignedInt id, InterleaveFlags flags) -> Trade::MeshData deprecated in Git master
Transform 3D positions, normals, tangents and bitangents in a mesh data.
auto transform3D(Trade::MeshData&& mesh, const Matrix4& transformation, UnsignedInt id = 0, Int morphTargetId = -1, InterleaveFlags flags = InterleaveFlag::PreserveInterleavedAttributes) -> Trade::MeshData new in Git master
Transform 3D positions, normals, tangenta and bitangents in a mesh data.
auto transform3D(Trade::MeshData&& mesh, const Matrix4& transformation, UnsignedInt id, InterleaveFlags flags) -> Trade::MeshData deprecated in Git master
Transform 3D positions, normals, tangenta and bitangents in a mesh data.
void transform3DInPlace(Trade::MeshData& mesh, const Matrix4& transformation, UnsignedInt id = 0, Int morphTargetId = -1) new in Git master
Transform 3D positions, normals, tangents and bitangents in a mesh data in-place.
auto transformTextureCoordinates2D(const Trade::MeshData& mesh, const Matrix3& transformation, UnsignedInt id = 0, Int morphTargetId = -1, InterleaveFlags flags = InterleaveFlag::PreserveInterleavedAttributes) -> Trade::MeshData new in Git master
Transform 2D texture coordinates in a mesh data.
auto transformTextureCoordinates2D(const Trade::MeshData& mesh, const Matrix3& transformation, UnsignedInt id, InterleaveFlags flags) -> Trade::MeshData deprecated in Git master
Transform 2D texture coordinates in a mesh data.
auto transformTextureCoordinates2D(Trade::MeshData&& mesh, const Matrix3& transformation, UnsignedInt id = 0, Int morphTargetId = -1, InterleaveFlags flags = InterleaveFlag::PreserveInterleavedAttributes) -> Trade::MeshData new in Git master
Transform 2D texture coordinates in a mesh data.
auto transformTextureCoordinates2D(Trade::MeshData&& mesh, const Matrix3& transformation, UnsignedInt id, InterleaveFlags flags) -> Trade::MeshData deprecated in Git master
Transform 2D texture coordinates in a mesh data.
void transformTextureCoordinates2DInPlace(Trade::MeshData& mesh, const Matrix3& transformation, UnsignedInt id = 0, Int morphTargetId = -1) new in Git master
Transform 2D texture coordinates in a mesh data in-place.