#include <sch/Matrix/SmallVector3T.h>


Public Types | |
| typedef Vector3T< T, normOptimization > | Vector |
Public Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int) |
| Vector3T () | |
| Vector3T (const T &x, const T &y, const T &z) | |
| Vector3T (const T *const p) | |
| void | Set (const T &x, const T &y, const T &z) |
| void | Set (const T *const p) |
| template<bool b> | |
| Vector3T (const struct Vector3T< T, b > &v) | |
| template<bool b> | |
| Vector3T & | operator= (const struct Vector3T< T, b > &v) |
| Vector3T | operator- () const |
| T & | operator[] (unsigned i) |
| const T & | operator[] (unsigned i) const |
| T & | operator() (unsigned i) |
| template<bool b> | |
| bool | operator== (const struct Vector3T< T, b > &v) const |
| template<bool b> | |
| Vector3T | operator+ (const struct Vector3T< T, b > &v) const |
| template<bool b> | |
| Vector3T | operator- (const struct Vector3T< T, b > &v) const |
| template<bool b> | |
| void | operator+= (const struct Vector3T< T, b > &v) |
| template<bool b> | |
| void | operator-= (const struct Vector3T< T, b > &v) |
| Vector3T | operator* (const T &t) const |
| template<bool b> | |
| T | operator* (const Vector3T< T, b > &v) const |
| Vector3T | operator* (const Matrix3x3T< T > &m) const |
| void | operator*= (const Matrix3x3T< T > m) |
| Vector3T | operator/ (const T &t) const |
| void | operator*= (const T &t) |
| void | operator/= (const T &t) |
| void | normalize () |
| Vector3T | normalized () const |
| T | norm () const |
| T | optimizedNorm () |
| T | normsquared () const |
| bool | IsZero () const |
| template<bool b> | |
| Vector3T | operator^ (const Vector3T< T, b > &v2) const |
Public Attributes | |
| T | m_x |
| T | m_y |
| T | m_z |
Friends | |
| std::ostream & | operator<< (std::ostream &os, Vector3T< T, normOptimization > const &v) |
Additional Inherited Members | |
Protected Member Functions inherited from CD_Matrix::Norm< T, normOptimization > | |
| Norm () | |
| void | setNorm (const T &n) |
| void | outdateNorm () |
| bool | normOutdated () const |
| T | getNorm () const |
Protected Attributes inherited from CD_Matrix::Norm< T, normOptimization > | |
| T | norm_ |
| bool | normOutdated_ |
Template to handle 3 dimensional vector
| typedef Vector3T<T, normOptimization> CD_Matrix::Vector3T< T, normOptimization >::Vector |
|
inlineexplicit |
Basic constructor: all the field are set to zero.
|
inlineexplicit |
|
inlineexplicit |
|
inline |
copy constructor
|
inline |
|
inline |
Get the norm.
|
inline |
Normalize .
|
inline |
Normalized .
|
inline |
Get the norm squared
|
inline |
Array operator
|
inline |
multiplication as a row vector by a left-hand matrix
|
inline |
Binary operator *
|
inline |
Binary operator * : dot product
|
inline |
|
inline |
Binary operator *=
|
inline |
Binary operator +
|
inline |
Binary operator +=
|
inline |
Unary operator -
|
inline |
Binary operator -
|
inline |
Binary operator -=
|
inline |
Binary operator /
|
inline |
Binary operator /=
|
inline |
Assignement operator
|
inline |
Binary operator ==
|
inline |
Array operator
|
inline |
Array operator
|
inline |
Cross product
|
inline |
Get the norm.
|
inline |
|
inline |
|
inline |
|
friend |
| T CD_Matrix::Vector3T< T, normOptimization >::m_x |
| T CD_Matrix::Vector3T< T, normOptimization >::m_y |
| T CD_Matrix::Vector3T< T, normOptimization >::m_z |