Collaboration diagram for Matrix transformations:
Functions | |
template<typename T> | |
ShMatrix< 4, 4, SH_TEMP, T > | SH::rotate (const ShGeneric< 3, T > &axis, const ShGeneric< 1, T > &angle) |
3D Rotation about the given axis by the given angle | |
template<typename T> | |
ShMatrix< 3, 3, SH_TEMP, T > | SH::rotate (const ShGeneric< 1, T > &angle) |
2D Rotation about the given angle | |
template<typename T> | |
ShMatrix< 4, 4, SH_TEMP, T > | SH::translate (const ShGeneric< 3, T > &a) |
3D Translation | |
template<typename T> | |
ShMatrix< 3, 3, SH_TEMP, T > | SH::translate (const ShGeneric< 2, T > &a) |
2D Translation | |
template<typename T> | |
ShMatrix< 4, 4, SH_TEMP, T > | SH::scale (const ShGeneric< 3, T > &a) |
3D Scale | |
template<typename T> | |
ShMatrix< 3, 3, SH_TEMP, T > | SH::scale (const ShGeneric< 2, T > &a) |
2D Scale | |
template<int N, typename T> | |
ShMatrix< N, N, SH_TEMP, T > | SH::scale (const ShGeneric< 1, T > &a) |
Uniform scale in N-1 dimensions. |
|
2D Rotation about the given angle The angle is specified in radians. The result is an affine transformation matrix. Definition at line 402 of file ShLibMatrixImpl.hpp. |
|
3D Rotation about the given axis by the given angle The angle is specified in radians. The result is an affine transformation matrix. Definition at line 368 of file ShLibMatrixImpl.hpp. References SH::cos(), SH::normalize(), and SH::sin(). |
|
Uniform scale in N-1 dimensions. Returns an NxN affine transformation matrix performing a uniform scale of the given amount in (N-1) dimensions. Definition at line 457 of file ShLibMatrixImpl.hpp. References SH::join(). |
|
2D Scale Returns an affine transformation matrix scaling by the given nonuniform vector. Definition at line 450 of file ShLibMatrixImpl.hpp. References SH::join(). |
|
3D Scale Returns an affine transformation matrix scaling by the given nonuniform vector. Definition at line 443 of file ShLibMatrixImpl.hpp. References SH::join(). |
|
2D Translation Returns an affine transformation matrix translating by the given vector. Definition at line 430 of file ShLibMatrixImpl.hpp. |
|
3D Translation Returns an affine transformation matrix translating by the given vector. Definition at line 417 of file ShLibMatrixImpl.hpp. |