Public Member Functions | Public Attributes | List of all members
Transform Class Reference

#include <transform.h>

Public Member Functions

void invert ()
 
Transform inverse () const
 
void affine_invert ()
 
Transform affine_inverse () const
 
Transform rotated (const Vector3 &p_axis, real_t p_phi) const
 
void rotate (const Vector3 &p_axis, real_t p_phi)
 
void rotate_basis (const Vector3 &p_axis, real_t p_phi)
 
void set_look_at (const Vector3 &p_eye, const Vector3 &p_target, const Vector3 &p_up)
 
Transform looking_at (const Vector3 &p_target, const Vector3 &p_up) const
 
void scale (const Vector3 &p_scale)
 
Transform scaled (const Vector3 &p_scale) const
 
void scale_basis (const Vector3 &p_scale)
 
void translate (real_t p_tx, real_t p_ty, real_t p_tz)
 
void translate (const Vector3 &p_translation)
 
Transform translated (const Vector3 &p_translation) const
 
const Matrix3get_basis () const
 
void set_basis (const Matrix3 &p_basis)
 
const Vector3get_origin () const
 
void set_origin (const Vector3 &p_origin)
 
void orthonormalize ()
 
Transform orthonormalized () const
 
bool operator== (const Transform &p_transform) const
 
bool operator!= (const Transform &p_transform) const
 
_FORCE_INLINE_ Vector3 xform (const Vector3 &p_vector) const
 
_FORCE_INLINE_ Vector3 xform_inv (const Vector3 &p_vector) const
 
_FORCE_INLINE_ Plane xform (const Plane &p_plane) const
 
_FORCE_INLINE_ Plane xform_inv (const Plane &p_plane) const
 
_FORCE_INLINE_ AABB xform (const AABB &p_aabb) const
 
_FORCE_INLINE_ AABB xform_inv (const AABB &p_aabb) const
 
void operator*= (const Transform &p_transform)
 
Transform operator* (const Transform &p_transform) const
 
Transform interpolate_with (const Transform &p_transform, float p_c) const
 
_FORCE_INLINE_ Transform inverse_xform (const Transform &t) const
 
void set (real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t yz, real_t zx, real_t zy, real_t zz, real_t tx, real_t ty, real_t tz)
 
 operator String () const
 
 Transform (const Matrix3 &p_basis, const Vector3 &p_origin=Vector3())
 

Public Attributes

Matrix3 basis
 
Vector3 origin
 

Detailed Description

Author
Juan Linietsky reduz.nosp@m.io@g.nosp@m.mail..nosp@m.com

The documentation for this class was generated from the following files: