|
| wVectorT () |
| Constructor. More...
|
|
template<bool OtherShared> |
| wVectorT (const wVectorT< OtherShared > &) |
| The function to copy from another kind of wVectorT. More...
|
|
| wVectorT (const wVectorT &) |
| Copy-Constructor. More...
|
|
| wVectorT (const real *ptr) |
| Constructor. More...
|
|
| wVectorT (real *ptr) |
| Constructor. More...
|
|
| wVectorT (real x, real y, real z, real w=1.0) |
| Constructor. More...
|
|
template<> |
| wVectorT (const wVectorT< OtherShared > &src) |
|
template<> |
| wVectorT (const wVectorT< false > &src) |
|
template<> |
| wVectorT (const real *ptr) |
|
template<> |
| wVectorT (real *ptr) |
|
template<> |
| wVectorT (real _x, real _y, real _z, real _w) |
|
template<bool OtherShared> |
wVectorT< false > | compProduct (const wVectorT< OtherShared > &A) const |
| component wise multiplication More...
|
|
real | norm () const |
| return the norm of this vector More...
|
|
wVectorT & | normalize () |
| Normalize the vector. More...
|
|
wVectorT< false > | normalized () const |
| Returns a normalized vector with the same direction of the current vector. More...
|
|
| operator qglviewer::Vec () const |
| Convert to qglviewer::Vec. More...
|
|
| operator QString () const |
| Returns a string representation of the vector. More...
|
|
template<bool OtherShared> |
real | operator% (const wVectorT< OtherShared > &A) const |
| return dot product More...
|
|
template<bool OtherShared> |
wVectorT< false > | operator* (const wVectorT< OtherShared > &B) const |
| return cross product More...
|
|
const wVectorT & | operator+ () const |
| Operator + (unary) More...
|
|
template<bool OtherShared> |
wVectorT< false > | operator+ (const wVectorT< OtherShared > &A) const |
| Operator +. More...
|
|
template<bool OtherShared> |
wVectorT & | operator+= (const wVectorT< OtherShared > &A) |
| Operator +=. More...
|
|
template<bool OtherShared> |
wVectorT< Shared > & | operator+= (const wVectorT< OtherShared > &A) |
|
wVectorT< false > | operator- () const |
| Operator - (unary) More...
|
|
template<bool OtherShared> |
wVectorT< false > | operator- (const wVectorT< OtherShared > &A) const |
| Operator -. More...
|
|
template<bool OtherShared> |
wVectorT & | operator-= (const wVectorT< OtherShared > &A) |
| Operator -=. More...
|
|
template<bool OtherShared> |
wVectorT< Shared > & | operator-= (const wVectorT< OtherShared > &A) |
|
wVectorT & | operator= (const wVectorT &A) |
| Assignment. More...
|
|
template<bool OtherShared> |
wVectorT & | operator= (const wVectorT< OtherShared > &A) |
| Assignment. More...
|
|
template<bool OtherShared> |
wVectorT< Shared > & | operator= (const wVectorT< OtherShared > &A) |
|
template<bool OtherShared> |
bool | operator== (const wVectorT< OtherShared > &A) const |
| Compare only the first three elements and return true if their are equals. More...
|
|
real & | operator[] (int i) |
| indexing operator More...
|
|
const real & | operator[] (int i) const |
| indexing operator (const version) More...
|
|
wVectorT & | rotateAround (wVectorT< false > axis, real theta) |
| rotate the position indicated by this wVectorT around the axis by the angle theta More...
|
|
wVectorT< false > | scale (real s) const |
| return a new wVectorT with element scaled by s More...
|
|