MeVisLab Toolbox Reference
mlVector3.h File Reference

Go to the source code of this file.

Classes

class  ml::Vector3DataContainer< DT >
 Specialized base class for the FloatingPointVectorDataContainerBase. More...
 
class  ml::Tvec3< DT >
 Forward declarations to resolve header file dependencies. More...
 

Namespaces

namespace  ml
 Main documentation file for ML users and developers.
 

Typedefs

Specializations for float, double and long double.
typedef Tvec3< MLfloatml::Vector3f
 A vector with 3 components of type float.
 
typedef Tvec3< MLdoubleml::Vector3d
 A vector with 3 components of type double.
 
typedef Tvec3< MLldoubleml::Vector3ld
 A vector with 3 components of type long double.
 
typedef Tvec3< MLdoubleml::Vector3
 A vector with 3 components of type double.
 

Functions

template<class DT , class DT2 >
Tvec3< DT > ml::operator* (const Tmat3< DT > &a, const Tvec3< DT2 > &v)
 Normal multiplication of 3x3 matrix a with 3d vector v with a Tvec3 as result.
 
template<class DT , class DT2 >
Tvec3< DT > ml::operator* (const Tvec3< DT > &v, const Tmat3< DT2 > &a)
 Normal multiplication of 3d vector v with 3x3 matrix with a Tvec3 as result.
 
template<class DT , class DT2 >
Tvec3< DT > ml::operator* (const Tmat4< DT > &a, const Tvec3< DT2 > &v)
 Interprets v as a 4d homogeneous point and multiply the 4x4 matrix M with it and return a Tvec3 after normalizing the result by dividing by the fourth component.
 
template<class DT , class DT2 >
Tvec3< DT > ml::operator* (const Tvec3< DT > &v, const Tmat4< DT2 > &a)
 Interprets v as a 4d homogeneous point and multiply it with the 4x4 matrix M and return a Tvec3 after normalizing the result by dividing by the fourth component.
 
template<class DT , class DT2 >
Tvec3< DT > ml::operator^ (const Tvec3< DT > &a, const Tvec3< DT2 > &b)
 Returns a vector orthogonal to a and b.