#include <Wm4Vector4.h>
Public Member Functions | |
Real | Dot (const Vector4 &rkV) const |
Real | Length () const |
Real | Normalize () |
operator const Real * () const | |
operator Real * () | |
bool | operator!= (const Vector4 &rkV) const |
Vector4 | operator* (Real fScalar) const |
Vector4 & | operator*= (Real fScalar) |
Vector4 | operator+ (const Vector4 &rkV) const |
Vector4 & | operator+= (const Vector4 &rkV) |
Vector4 | operator- () const |
Vector4 | operator- (const Vector4 &rkV) const |
Vector4 & | operator-= (const Vector4 &rkV) |
Vector4 | operator/ (Real fScalar) const |
Vector4 & | operator/= (Real fScalar) |
bool | operator< (const Vector4 &rkV) const |
bool | operator<= (const Vector4 &rkV) const |
Vector4 & | operator= (const Vector4 &rkV) |
bool | operator== (const Vector4 &rkV) const |
bool | operator> (const Vector4 &rkV) const |
bool | operator>= (const Vector4 &rkV) const |
Real & | operator[] (int i) |
Real | operator[] (int i) const |
Real | SquaredLength () const |
Vector4 (const Vector4 &rkV) | |
Vector4 (const Real *afTuple) | |
Vector4 (Real fX, Real fY, Real fZ, Real fW) | |
Vector4 () | |
Real & | W () |
Real | W () const |
Real & | X () |
Real | X () const |
Real & | Y () |
Real | Y () const |
Real & | Z () |
Real | Z () const |
Static Public Attributes | |
static const Vector4 | ONE |
static const Vector4 | UNIT_W |
static const Vector4 | UNIT_X |
static const Vector4 | UNIT_Y |
static const Vector4 | UNIT_Z |
static const Vector4 | ZERO |
Definition at line 27 of file Wm4Vector4.h.
Wm4::Vector4< Real >::Vector4 | ( | ) | [inline] |
Definition at line 21 of file Wm4Vector4.inl.
Referenced by Wm4::Vector4< Real >::operator*(), Wm4::Vector4< Real >::operator+(), and Wm4::Vector4< Real >::operator-().
Wm4::Vector4< Real >::Vector4 | ( | Real | fX, | |
Real | fY, | |||
Real | fZ, | |||
Real | fW | |||
) | [inline] |
Definition at line 27 of file Wm4Vector4.inl.
Wm4::Vector4< Real >::Vector4 | ( | const Real * | afTuple | ) | [inline] |
Definition at line 36 of file Wm4Vector4.inl.
Wm4::Vector4< Real >::Vector4 | ( | const Vector4< Real > & | rkV | ) | [inline] |
Definition at line 45 of file Wm4Vector4.inl.
Real Wm4::Vector4< Real >::Dot | ( | const Vector4< Real > & | rkV | ) | const [inline] |
Definition at line 324 of file Wm4Vector4.inl.
Referenced by Wm4::Matrix4< Real >::QForm().
Real Wm4::Vector4< Real >::Length | ( | void | ) | const [inline] |
Definition at line 304 of file Wm4Vector4.inl.
Referenced by Wm4::Vector4< Real >::Normalize().
Real Wm4::Vector4< Real >::Normalize | ( | void | ) | [inline] |
Definition at line 334 of file Wm4Vector4.inl.
References Wm4::Vector4< Real >::Length().
Wm4::Vector4< Real >::operator const Real * | ( | ) | const [inline] |
Definition at line 54 of file Wm4Vector4.inl.
Wm4::Vector4< Real >::operator Real * | ( | ) | [inline] |
Definition at line 60 of file Wm4Vector4.inl.
bool Wm4::Vector4< Real >::operator!= | ( | const Vector4< Real > & | rkV | ) | const [inline] |
Definition at line 148 of file Wm4Vector4.inl.
Vector4< Real > Wm4::Vector4< Real >::operator* | ( | Real | fScalar | ) | const [inline] |
Definition at line 198 of file Wm4Vector4.inl.
References Wm4::Vector4< Real >::Vector4().
Vector4< Real > & Wm4::Vector4< Real >::operator*= | ( | Real | fScalar | ) | [inline] |
Definition at line 272 of file Wm4Vector4.inl.
Vector4< Real > Wm4::Vector4< Real >::operator+ | ( | const Vector4< Real > & | rkV | ) | const [inline] |
Definition at line 178 of file Wm4Vector4.inl.
References Wm4::Vector4< Real >::Vector4().
Vector4< Real > & Wm4::Vector4< Real >::operator+= | ( | const Vector4< Real > & | rkV | ) | [inline] |
Definition at line 252 of file Wm4Vector4.inl.
Vector4< Real > Wm4::Vector4< Real >::operator- | ( | void | ) | const [inline] |
Definition at line 232 of file Wm4Vector4.inl.
References Wm4::Vector4< Real >::Vector4().
Vector4< Real > Wm4::Vector4< Real >::operator- | ( | const Vector4< Real > & | rkV | ) | const [inline] |
Definition at line 188 of file Wm4Vector4.inl.
References Wm4::Vector4< Real >::Vector4().
Vector4< Real > & Wm4::Vector4< Real >::operator-= | ( | const Vector4< Real > & | rkV | ) | [inline] |
Definition at line 262 of file Wm4Vector4.inl.
Vector4< Real > Wm4::Vector4< Real >::operator/ | ( | Real | fScalar | ) | const [inline] |
Definition at line 208 of file Wm4Vector4.inl.
Vector4< Real > & Wm4::Vector4< Real >::operator/= | ( | Real | fScalar | ) | [inline] |
Definition at line 282 of file Wm4Vector4.inl.
bool Wm4::Vector4< Real >::operator< | ( | const Vector4< Real > & | rkV | ) | const [inline] |
Definition at line 154 of file Wm4Vector4.inl.
bool Wm4::Vector4< Real >::operator<= | ( | const Vector4< Real > & | rkV | ) | const [inline] |
Definition at line 160 of file Wm4Vector4.inl.
Vector4< Real > & Wm4::Vector4< Real >::operator= | ( | const Vector4< Real > & | rkV | ) | [inline] |
Definition at line 126 of file Wm4Vector4.inl.
bool Wm4::Vector4< Real >::operator== | ( | const Vector4< Real > & | rkV | ) | const [inline] |
Definition at line 142 of file Wm4Vector4.inl.
bool Wm4::Vector4< Real >::operator> | ( | const Vector4< Real > & | rkV | ) | const [inline] |
Definition at line 166 of file Wm4Vector4.inl.
bool Wm4::Vector4< Real >::operator>= | ( | const Vector4< Real > & | rkV | ) | const [inline] |
Definition at line 172 of file Wm4Vector4.inl.
Real & Wm4::Vector4< Real >::operator[] | ( | int | i | ) | [inline] |
Definition at line 72 of file Wm4Vector4.inl.
Real Wm4::Vector4< Real >::operator[] | ( | int | i | ) | const [inline] |
Definition at line 66 of file Wm4Vector4.inl.
Real Wm4::Vector4< Real >::SquaredLength | ( | ) | const [inline] |
Definition at line 314 of file Wm4Vector4.inl.
Real & Wm4::Vector4< Real >::W | ( | ) | [inline] |
Definition at line 120 of file Wm4Vector4.inl.
Real Wm4::Vector4< Real >::W | ( | ) | const [inline] |
Definition at line 114 of file Wm4Vector4.inl.
Real & Wm4::Vector4< Real >::X | ( | ) | [inline] |
Definition at line 84 of file Wm4Vector4.inl.
Real Wm4::Vector4< Real >::X | ( | ) | const [inline] |
Definition at line 78 of file Wm4Vector4.inl.
Real & Wm4::Vector4< Real >::Y | ( | ) | [inline] |
Definition at line 96 of file Wm4Vector4.inl.
Real Wm4::Vector4< Real >::Y | ( | ) | const [inline] |
Definition at line 90 of file Wm4Vector4.inl.
Real & Wm4::Vector4< Real >::Z | ( | ) | [inline] |
Definition at line 108 of file Wm4Vector4.inl.
Real Wm4::Vector4< Real >::Z | ( | ) | const [inline] |
Definition at line 102 of file Wm4Vector4.inl.
const Vector4 Wm4::Vector4< Real >::ONE [static] |
Definition at line 86 of file Wm4Vector4.h.
const Vector4 Wm4::Vector4< Real >::UNIT_W [static] |
Definition at line 85 of file Wm4Vector4.h.
const Vector4 Wm4::Vector4< Real >::UNIT_X [static] |
Definition at line 82 of file Wm4Vector4.h.
const Vector4 Wm4::Vector4< Real >::UNIT_Y [static] |
Definition at line 83 of file Wm4Vector4.h.
const Vector4 Wm4::Vector4< Real >::UNIT_Z [static] |
Definition at line 84 of file Wm4Vector4.h.
const Vector4 Wm4::Vector4< Real >::ZERO [static] |
Definition at line 81 of file Wm4Vector4.h.