Math::Transform<3> class reference
[Core module]
Declaration
#include <Goptical/Math/Transform>
namespace Goptical {
namespace Math {
template <> class Transform<3>;
};
};
This class is a member of the Math namespace.
This class is a specialization of Transform.
Description
This class describes linear and affine transformations in 3d space. It contains a 3x3 transformation matrix and a 3d translation vector. It can be used for translation and rotation in 3d.
See also Transform3 typedef.
Members
See also the full member list section for this class.
Functions
- Transform()
- Transform(const TransformBase<3> &t)
- Transform(const Quaternion &q, const Vector3 &v)
- TransformBase<3> & affine_rotation(unsigned int axis, double dangle)
- Transform<3> & affine_rotation(const Vector3 &rangles)
- TransformBase<3> & affine_rotation_rad(unsigned int axis, double rangle)
- Transform<3> & affine_rotation_rad(const Vector3 &rangles)
- TransformBase<3> & affine_scaling(const Vector<N> &v)
- TransformBase<3> & affine_scaling(double s)
- TransformBase<3> & apply_translation(const Vector<N> &v)
- void compose(const TransformBase<N> &t)
- const Matrix<N> & get_linear() const
- Matrix<N> & get_linear()
- const Vector<N> & get_translation() const
- Vector<N> & get_translation()
- TransformBase<3> inverse() const
- void linear_reset()
- TransformBase<3> & linear_rotation(unsigned int axis, double dangle)
- Transform<3> & linear_rotation(const Vector3 &dangles)
- TransformBase<3> & linear_rotation_rad(unsigned int axis, double rangle)
- Transform<3> & linear_rotation_rad(const Vector3 &rangles)
- TransformBase<3> & linear_scaling(const Vector<N> &v)
- TransformBase<3> & linear_scaling(double s)
- void reset()
- void set_direction(const Vector3 &d)
- void set_rotation(const Quaternion &q)
- void set_translation(const Vector<N> &v)
- Vector<N> transform(const Vector<N> &v) const
- VectorPair<N> transform_line(const VectorPair<N> &v) const
- Vector<N> transform_linear(const Vector<N> &v) const
- VectorPair<N> transform_pair(const VectorPair<N> &p) const
- Vector<N> transform_translate(const Vector<N> &v) const
- void translation_reset()
Members detail
No documentation available
No documentation available
Transform(const Quaternion &q, const Vector3 &v)
Create a transform from rotation quaternion and translation vector
apply rotation to current transform (degree)
apply rotation to current transform (radian)
apply rotation to current transform (degree) (does not transform translation vector)
apply rotation to current transform (radian) (does not transform translation vector)
void set_direction(const Vector3 &d)
set rotation from given direction vector
void set_rotation(const Quaternion &q)
set rotation from given quaternion