#include <Wm4Vector3.h>
Collaboration diagram for Wm4::Vector3< Real >:
Public Member Functions | |
Vector3 () | |
Vector3 (Real fX, Real fY, Real fZ) | |
Vector3 (const Real *afTuple) | |
Vector3 (const Vector3 &rkV) | |
operator const Real * () const | |
operator Real * () | |
Real | operator[] (int i) const |
Real & | operator[] (int i) |
Real | X () const |
Real & | X () |
Real | Y () const |
Real & | Y () |
Real | Z () const |
Real & | Z () |
Vector3 & | operator= (const Vector3 &rkV) |
bool | operator== (const Vector3 &rkV) const |
bool | operator!= (const Vector3 &rkV) const |
bool | operator< (const Vector3 &rkV) const |
bool | operator<= (const Vector3 &rkV) const |
bool | operator> (const Vector3 &rkV) const |
bool | operator>= (const Vector3 &rkV) const |
Vector3 | operator+ (const Vector3 &rkV) const |
Vector3 | operator- (const Vector3 &rkV) const |
Vector3 | operator * (Real fScalar) const |
Vector3 | operator/ (Real fScalar) const |
Vector3 | operator- () const |
Vector3 & | operator+= (const Vector3 &rkV) |
Vector3 & | operator-= (const Vector3 &rkV) |
Vector3 & | operator *= (Real fScalar) |
Vector3 & | operator/= (Real fScalar) |
Real | Length () const |
Real | SquaredLength () const |
Real | Dot (const Vector3 &rkV) const |
Real | Normalize () |
Vector3 | Cross (const Vector3 &rkV) const |
Vector3 | UnitCross (const Vector3 &rkV) const |
void | GetBarycentrics (const Vector3 &rkV0, const Vector3 &rkV1, const Vector3 &rkV2, const Vector3 &rkV3, Real afBary[4]) const |
Static Public Member Functions | |
static void | Orthonormalize (Vector3 &rkU, Vector3 &rkV, Vector3 &rkW) |
static void | Orthonormalize (Vector3 *akV) |
static void | GenerateOrthonormalBasis (Vector3 &rkU, Vector3 &rkV, Vector3 &rkW) |
static void | GenerateComplementBasis (Vector3 &rkU, Vector3 &rkV, const Vector3 &rkW) |
static void | ComputeExtremes (int iVQuantity, const Vector3 *akPoint, Vector3 &rkMin, Vector3 &rkMax) |
Static Public Attributes | |
static WM4_FOUNDATION_ITEM const Vector3 | ZERO |
static WM4_FOUNDATION_ITEM const Vector3 | UNIT_X |
static WM4_FOUNDATION_ITEM const Vector3 | UNIT_Y |
static WM4_FOUNDATION_ITEM const Vector3 | UNIT_Z |
static WM4_FOUNDATION_ITEM const Vector3 | ONE |
Wm4::Vector3< Real >::Vector3 | ( | ) |
Wm4::Vector3< Real >::Vector3 | ( | Real | fX, | |
Real | fY, | |||
Real | fZ | |||
) |
Wm4::Vector3< Real >::Vector3 | ( | const Real * | afTuple | ) |
Wm4::Vector3< Real >::Vector3 | ( | const Vector3< Real > & | rkV | ) |
Wm4::Vector3< Real >::operator const Real * | ( | ) | const [inline] |
Wm4::Vector3< Real >::operator Real * | ( | ) | [inline] |
Real Wm4::Vector3< Real >::operator[] | ( | int | i | ) | const [inline] |
Real & Wm4::Vector3< Real >::operator[] | ( | int | i | ) | [inline] |
Real Wm4::Vector3< Real >::X | ( | ) | const [inline] |
Real & Wm4::Vector3< Real >::X | ( | ) | [inline] |
Real Wm4::Vector3< Real >::Y | ( | ) | const [inline] |
Real & Wm4::Vector3< Real >::Y | ( | ) | [inline] |
Real Wm4::Vector3< Real >::Z | ( | ) | const [inline] |
Real & Wm4::Vector3< Real >::Z | ( | ) | [inline] |
Vector3< Real > & Wm4::Vector3< Real >::operator= | ( | const Vector3< Real > & | rkV | ) | [inline] |
bool Wm4::Vector3< Real >::operator== | ( | const Vector3< Real > & | rkV | ) | const |
bool Wm4::Vector3< Real >::operator!= | ( | const Vector3< Real > & | rkV | ) | const |
bool Wm4::Vector3< Real >::operator< | ( | const Vector3< Real > & | rkV | ) | const |
bool Wm4::Vector3< Real >::operator<= | ( | const Vector3< Real > & | rkV | ) | const |
bool Wm4::Vector3< Real >::operator> | ( | const Vector3< Real > & | rkV | ) | const |
bool Wm4::Vector3< Real >::operator>= | ( | const Vector3< Real > & | rkV | ) | const |
Vector3< Real > Wm4::Vector3< Real >::operator+ | ( | const Vector3< Real > & | rkV | ) | const [inline] |
Vector3< Real > Wm4::Vector3< Real >::operator- | ( | const Vector3< Real > & | rkV | ) | const [inline] |
Vector3< Real > Wm4::Vector3< Real >::operator * | ( | Real | fScalar | ) | const [inline] |
Vector3< Real > Wm4::Vector3< Real >::operator/ | ( | Real | fScalar | ) | const [inline] |
Vector3< Real > Wm4::Vector3< Real >::operator- | ( | ) | const [inline] |
Vector3< Real > & Wm4::Vector3< Real >::operator+= | ( | const Vector3< Real > & | rkV | ) | [inline] |
Vector3< Real > & Wm4::Vector3< Real >::operator-= | ( | const Vector3< Real > & | rkV | ) | [inline] |
Vector3< Real > & Wm4::Vector3< Real >::operator *= | ( | Real | fScalar | ) | [inline] |
Vector3< Real > & Wm4::Vector3< Real >::operator/= | ( | Real | fScalar | ) | [inline] |
Real Wm4::Vector3< Real >::Length | ( | ) | const [inline] |
Real Wm4::Vector3< Real >::SquaredLength | ( | ) | const [inline] |
Real Wm4::Vector3< Real >::Dot | ( | const Vector3< Real > & | rkV | ) | const [inline] |
Real Wm4::Vector3< Real >::Normalize | ( | ) | [inline] |
Vector3< Real > Wm4::Vector3< Real >::Cross | ( | const Vector3< Real > & | rkV | ) | const [inline] |
Vector3< Real > Wm4::Vector3< Real >::UnitCross | ( | const Vector3< Real > & | rkV | ) | const [inline] |
void Wm4::Vector3< Real >::GetBarycentrics | ( | const Vector3< Real > & | rkV0, | |
const Vector3< Real > & | rkV1, | |||
const Vector3< Real > & | rkV2, | |||
const Vector3< Real > & | rkV3, | |||
Real | afBary[4] | |||
) | const |
void Wm4::Vector3< Real >::Orthonormalize | ( | Vector3< Real > & | rkU, | |
Vector3< Real > & | rkV, | |||
Vector3< Real > & | rkW | |||
) | [static] |
void Wm4::Vector3< Real >::Orthonormalize | ( | Vector3< Real > * | akV | ) | [static] |
void Wm4::Vector3< Real >::GenerateOrthonormalBasis | ( | Vector3< Real > & | rkU, | |
Vector3< Real > & | rkV, | |||
Vector3< Real > & | rkW | |||
) | [static] |
void Wm4::Vector3< Real >::GenerateComplementBasis | ( | Vector3< Real > & | rkU, | |
Vector3< Real > & | rkV, | |||
const Vector3< Real > & | rkW | |||
) | [static] |
void Wm4::Vector3< Real >::ComputeExtremes | ( | int | iVQuantity, | |
const Vector3< Real > * | akPoint, | |||
Vector3< Real > & | rkMin, | |||
Vector3< Real > & | rkMax | |||
) | [static] |
WM4_FOUNDATION_ITEM const Vector3 Wm4::Vector3< Real >::ZERO [static] |
WM4_FOUNDATION_ITEM const Vector3 Wm4::Vector3< Real >::UNIT_X [static] |
WM4_FOUNDATION_ITEM const Vector3 Wm4::Vector3< Real >::UNIT_Y [static] |
WM4_FOUNDATION_ITEM const Vector3 Wm4::Vector3< Real >::UNIT_Z [static] |
WM4_FOUNDATION_ITEM const Vector3 Wm4::Vector3< Real >::ONE [static] |