ML Reference
|
Template class for a 3D vector for floating point types, derived from FloatingPointVector. More...
#include "mlLinearAlgebraSystem.h"
#include "mlLinearAlgebraDefs.h"
#include "mlFloatingPointVector.h"
#include "mlVector2.h"
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 | |
Typedefs | |
Specializations for float, double and long double. | |
typedef Tvec3< MLfloat > | ml::Vector3f |
A vector with 3 components of type float. | |
typedef Tvec3< MLdouble > | ml::Vector3d |
A vector with 3 components of type double. | |
typedef Tvec3< MLldouble > | ml::Vector3ld |
A vector with 3 components of type long double. | |
typedef Tvec3< MLdouble > | ml::Vector3 |
A vector with 3 components of type double. | |
Deprecated | |
typedef Tvec3< MLfloat > | ml::vecf3 |
typedef Tvec3< MLdouble > | ml::vecd3 |
typedef Tvec3< MLldouble > | ml::vecld3 |
typedef Tvec3< MLdouble > | ml::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. |
Template class for a 3D vector for floating point types, derived from FloatingPointVector.
Definition in file mlVector3.h.