Visualization Library 2.0.0

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Namespaces | Typedefs | Functions
Matrix4.hpp File Reference
#include <vlCore/Vector4.hpp>
#include <vlCore/Matrix3.hpp>

Go to the source code of this file.

Classes

class  vl::Matrix4< T_Scalar >
 The Matrix4 class is a template class that implements a generic 4x4 matrix, see also vl::dmat4, vl::fmat4, vl::umat4, vl::imat4. More...
 

Namespaces

 vl
 Visualization Library main namespace.
 

Typedefs

typedef Matrix4< double > vl::dmat4
 A 4x4 matrix using double precision. More...
 
typedef Matrix4< float > vl::fmat4
 A 4x4 matrix using float precision. More...
 
typedef Matrix4< int > vl::imat4
 A 4x4 matrix using int precision. More...
 
typedef Matrix4< unsigned int > vl::umat4
 A 4x4 matrix using unsigned int precision. More...
 
typedef fmat4 vl::mat4
 Defined as: 'typedef fmat4 mat4'. See also VL_PIPELINE_PRECISION. More...
 

Functions

template<typename T_Scalar >
Matrix4< T_Scalar > vl::operator* (const Matrix4< T_Scalar > &p, const Matrix4< T_Scalar > &q)
 
template<typename T_Scalar >
Matrix4< T_Scalar > vl::operator+ (T_Scalar d, const Matrix4< T_Scalar > &m)
 
template<typename T_Scalar >
Matrix4< T_Scalar > vl::operator* (T_Scalar d, const Matrix4< T_Scalar > &m)
 
template<typename T_Scalar >
Vector4< T_Scalar > vl::operator* (const Matrix4< T_Scalar > &m, const Vector4< T_Scalar > &v)
 Post multiplication: matrix * column vector. More...
 
template<typename T_Scalar >
Vector3< T_Scalar > vl::operator* (const Matrix4< T_Scalar > &m, const Vector3< T_Scalar > &v)
 Post multiplication: matrix * column vector The incoming vector is considered a Vector4<T_Scalar> with the component w = 1. More...
 
template<typename T_Scalar >
Vector2< T_Scalar > vl::operator* (const Matrix4< T_Scalar > &m, const Vector2< T_Scalar > &v)
 Post multiplication: matrix * column vector The incoming vector is considered a Vector4<T_Scalar> with components: z = 0 and w = 1. More...
 
template<typename T_Scalar >
Vector4< T_Scalar > vl::operator* (const Vector4< T_Scalar > &v, const Matrix4< T_Scalar > &m)
 pre-multiplication: row vector * matrix More...
 
template<typename T_Scalar >
Vector3< T_Scalar > vl::operator* (const Vector3< T_Scalar > &v, const Matrix4< T_Scalar > &m)
 pre-multiplication: row vector * matrix The incoming vector is considered a Vector4<T_Scalar> with the component w = 1 More...
 
template<typename T_Scalar >
Vector2< T_Scalar > vl::operator* (const Vector2< T_Scalar > &v, const Matrix4< T_Scalar > &m)
 pre-multiplication: row vector * matrix The incoming vector is considered a Vector4<T_Scalar> with components: z = 0 and w = 1 More...