Visualization Library v1.0.3

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

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Namespaces | Typedefs | Functions

/home/master/UCL/VisualizationLibrary/src/vlCore/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

namespace  vl
 

Visualization Library namespace.


Typedefs

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

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.
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.
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.
template<typename T_Scalar >
Vector4< T_Scalar > vl::operator* (const Vector4< T_Scalar > &v, const Matrix4< T_Scalar > &m)
 pre-multiplication: row vector * matrix
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
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

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:04.
Permission is granted to use this page to write and publish articles regarding Visualization Library.