#include <vector4.h>
Public Member Functions | |
| Vector4 () | |
| Vector4 (Real fX, Real fY, Real fZ, Real fW) | |
| Vector4 (Real afCoordinate[4]) | |
| Vector4 (int afCoordinate[4]) | |
| Vector4 (const Real *const r) | |
| Vector4 (const Vector4 &rkVector) | |
| Real | operator[] (unsigned i) const |
| Real & | operator[] (unsigned i) |
| Vector4 & | operator= (const Vector4 &rkVector) |
| bool | operator== (const Vector4 &rkVector) const |
| bool | operator!= (const Vector4 &rkVector) const |
| Vector4 & | operator= (const Vector3 &rhs) |
| Real | dotProduct (const Vector4 &vec) const |
Public Attributes | |
| Real | x |
| Real | y |
| Real | z |
| Real | w |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const Vector4 &v) |
Definition at line 27 of file vector4.h.
| mesh::Vector4::Vector4 | ( | Real | fX, | |
| Real | fY, | |||
| Real | fZ, | |||
| Real | fW | |||
| ) | [inline] |
| mesh::Vector4::Vector4 | ( | int | afCoordinate[4] | ) | [inline] |
| mesh::Vector4::Vector4 | ( | const Vector4 & | rkVector | ) | [inline] |
| Real mesh::Vector4::dotProduct | ( | const Vector4 & | vec | ) | const [inline] |
| bool mesh::Vector4::operator!= | ( | const Vector4 & | rkVector | ) | const [inline] |
Definition at line 107 of file vector4.h.
References w, mesh::Vector3::x, x, mesh::Vector3::y, y, mesh::Vector3::z, and z.
| bool mesh::Vector4::operator== | ( | const Vector4 & | rkVector | ) | const [inline] |
| Real& mesh::Vector4::operator[] | ( | unsigned | i | ) | [inline] |
| Real mesh::Vector4::operator[] | ( | unsigned | i | ) | const [inline] |
| std::ostream& operator<< | ( | std::ostream & | o, | |
| const Vector4 & | v | |||
| ) | [friend] |
| Real mesh::Vector4::w |
Definition at line 30 of file vector4.h.
Referenced by dotProduct(), operator!=(), operator=(), operator==(), and Vector4().
| Real mesh::Vector4::x |
Definition at line 30 of file vector4.h.
Referenced by dotProduct(), operator!=(), operator=(), operator==(), operator[](), and Vector4().
| Real mesh::Vector4::y |
Definition at line 30 of file vector4.h.
Referenced by dotProduct(), operator!=(), operator=(), operator==(), and Vector4().
| Real mesh::Vector4::z |
Definition at line 30 of file vector4.h.
Referenced by dotProduct(), operator!=(), operator=(), operator==(), and Vector4().
1.4.7