ML Reference
MeVis/Foundation/Sources/MLLinearAlgebra/mlVector3.h File Reference

Template class for a 3D vector for floating point types, derived from FloatingPointVector. More...

Go to the source code of this file.

Classes

class  ml::Vector3DataContainer< DT >
 Specialized base class for the FloatingPointVectorDataContainerBase. More...
class  ml::Tvec3< DT >
 A three dimensional vector class for floating point types. More...

Namespaces

namespace  ml
 

Define the namespace name like in the ML. Default is ml.


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.
Deprecated
typedef Tvec3< MLfloatml::vecf3
typedef Tvec3< MLdoubleml::vecd3
typedef Tvec3< MLldoubleml::vecld3
typedef Tvec3< MLdoubleml::vec3

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)
 Interpret 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)
 Interpret 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)
 Return a vector orthogonal to a and b.

Detailed Description

Template class for a 3D vector for floating point types, derived from FloatingPointVector.

Author:
Florian Link, Wolf Spindler
Date:
09/2001

Definition in file mlVector3.h.