#include <K3dVector4.h>
Inheritance diagram for K3dVector4:
Public Member Functions | |
K3dVector4 () | |
K3dVector4 (const K3dVector4 &rkV) | |
K3dVector4 (const float afVector[4]) | |
K3dVector4 (const float fX, const float fY, const float fZ, const float fW) | |
K3dVector4 (const unsigned char aucVector[4]) | |
~K3dVector4 () | |
Destructor. | |
float * | GetVector () |
float & | operator[] (int index) |
void | Set (K3dVector4 &_rkVec) |
void | Set (float _rkVector[4]) |
void | Set (const float fX, const float fY, const float fZ, const float fW) |
float | GetScalar (const int index) |
void | SetScalar (const float fScalar, const int index) |
K3dVector4 & | operator= (K3dVector4 &rkV) |
bool | operator== (K3dVector4 &rkV) |
bool | operator!= (K3dVector4 &rkV) |
bool | operator< (K3dVector4 &rkV) |
bool | operator<= (K3dVector4 &rkV) |
bool | operator> (K3dVector4 &rkV) |
bool | operator>= (K3dVector4 &rkV) |
int | CompareArrays (K3dVector4 &rkV) |
K3dVector4 | operator+ (K3dVector4 &rkV) |
K3dVector4 | operator+ (float fScalar) |
K3dVector4 | operator- (K3dVector4 &rkVector) |
K3dVector4 | operator- (float fScalar) |
K3dVector4 | operator- () |
K3dVector4 | operator * (K3dVector4 &rkVector) |
K3dVector4 | operator * (float fScalar) |
K3dVector4 | operator/ (K3dVector4 &rkVector) |
K3dVector4 | operator/ (float fScalar) |
K3dVector4 & | operator+= (const K3dVector4 &rkVector) |
K3dVector4 & | operator+= (float fScalar) |
K3dVector4 & | operator-= (const K3dVector4 &rkVector) |
K3dVector4 & | operator-= (float fScalar) |
K3dVector4 | operator *= (const K3dVector4 &rkVector) |
K3dVector4 | operator *= (float fScalar) |
K3dVector4 | operator/= (const K3dVector4 &rkVector) |
K3dVector4 | operator/= (float fScalar) |
K3dVector4 | Sqr () |
void | Reset () |
float | Length () |
float | SquaredLength () |
void | Normalize () |
void | Invert () |
float | Dot (const K3dVector4 &_rkV1, const K3dVector4 &_rkkV2) |
float | Dot (const K3dVector4 &_rkV) |
Private Attributes | |
float | m_afVector [4] |
Definition at line 42 of file K3dVector4.h.
K3dVector4::K3dVector4 | ( | ) |
Definition at line 35 of file K3dVector4.cpp.
Referenced by operator *(), operator+(), and operator-().
K3dVector4::K3dVector4 | ( | const K3dVector4 & | rkV | ) |
K3dVector4::K3dVector4 | ( | const float | afVector[4] | ) |
K3dVector4::K3dVector4 | ( | const float | fX, | |
const float | fY, | |||
const float | fZ, | |||
const float | fW | |||
) |
K3dVector4::K3dVector4 | ( | const unsigned char | aucVector[4] | ) |
K3dVector4::~K3dVector4 | ( | ) |
float * K3dVector4::GetVector | ( | ) | [inline] |
Definition at line 273 of file K3dVector4.h.
References m_afVector.
Referenced by K3dFontBmp::DrawValue().
float & K3dVector4::operator[] | ( | int | index | ) | [inline] |
void K3dVector4::Set | ( | K3dVector4 & | _rkVec | ) | [inline] |
void K3dVector4::Set | ( | float | _rkVector[4] | ) | [inline] |
void K3dVector4::Set | ( | const float | fX, | |
const float | fY, | |||
const float | fZ, | |||
const float | fW | |||
) | [inline] |
float K3dVector4::GetScalar | ( | const int | index | ) | [inline] |
void K3dVector4::SetScalar | ( | const float | fScalar, | |
const int | index | |||
) | [inline] |
K3dVector4 & K3dVector4::operator= | ( | K3dVector4 & | rkV | ) |
bool K3dVector4::operator== | ( | K3dVector4 & | rkV | ) | [inline] |
bool K3dVector4::operator!= | ( | K3dVector4 & | rkV | ) | [inline] |
bool K3dVector4::operator< | ( | K3dVector4 & | rkV | ) | [inline] |
bool K3dVector4::operator<= | ( | K3dVector4 & | rkV | ) | [inline] |
bool K3dVector4::operator> | ( | K3dVector4 & | rkV | ) | [inline] |
bool K3dVector4::operator>= | ( | K3dVector4 & | rkV | ) | [inline] |
int K3dVector4::CompareArrays | ( | K3dVector4 & | rkV | ) |
Definition at line 314 of file K3dVector4.cpp.
References m_afVector.
Referenced by operator<(), operator<=(), operator>(), and operator>=().
K3dVector4 K3dVector4::operator+ | ( | K3dVector4 & | rkV | ) |
K3dVector4 K3dVector4::operator+ | ( | float | fScalar | ) |
K3dVector4 K3dVector4::operator- | ( | K3dVector4 & | rkVector | ) |
K3dVector4 K3dVector4::operator- | ( | float | fScalar | ) |
K3dVector4 K3dVector4::operator- | ( | ) |
K3dVector4 K3dVector4::operator * | ( | K3dVector4 & | rkVector | ) |
K3dVector4 K3dVector4::operator * | ( | float | fScalar | ) |
K3dVector4 K3dVector4::operator/ | ( | K3dVector4 & | rkVector | ) |
K3dVector4 K3dVector4::operator/ | ( | float | fScalar | ) | [inline] |
K3dVector4 & K3dVector4::operator+= | ( | const K3dVector4 & | rkVector | ) |
K3dVector4 & K3dVector4::operator+= | ( | float | fScalar | ) |
K3dVector4 & K3dVector4::operator-= | ( | const K3dVector4 & | rkVector | ) |
K3dVector4 & K3dVector4::operator-= | ( | float | fScalar | ) |
K3dVector4 K3dVector4::operator *= | ( | const K3dVector4 & | rkVector | ) |
K3dVector4 K3dVector4::operator *= | ( | float | fScalar | ) |
K3dVector4 K3dVector4::operator/= | ( | const K3dVector4 & | rkVector | ) |
K3dVector4 K3dVector4::operator/= | ( | float | fScalar | ) | [inline] |
K3dVector4 K3dVector4::Sqr | ( | ) | [inline] |
Definition at line 438 of file K3dVector4.h.
void K3dVector4::Reset | ( | ) | [inline] |
float K3dVector4::Length | ( | ) | [inline] |
float K3dVector4::SquaredLength | ( | ) | [inline] |
void K3dVector4::Normalize | ( | ) | [inline] |
void K3dVector4::Invert | ( | ) | [inline] |
float K3dVector4::Dot | ( | const K3dVector4 & | _rkV1, | |
const K3dVector4 & | _rkkV2 | |||
) | [inline] |
float K3dVector4::Dot | ( | const K3dVector4 & | _rkV | ) | [inline] |
float K3dVector4::m_afVector[4] [private] |
Definition at line 46 of file K3dVector4.h.
Referenced by CompareArrays(), Dot(), GetScalar(), GetVector(), Invert(), K3dVector4(), Length(), Normalize(), operator *(), operator *=(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator==(), operator[](), Reset(), Set(), SetScalar(), and SquaredLength().