#include <OgreVector4.h>
Public Member Functions | |
Vector4 () | |
Vector4 (const Real fX, const Real fY, const Real fZ, const Real fW) | |
Vector4 (const Real afCoordinate[4]) | |
Vector4 (const int afCoordinate[4]) | |
Vector4 (Real *const r) | |
Vector4 (const Real scaler) | |
Vector4 (const Vector3 &rhs) | |
Real | operator[] (const size_t i) const |
Real & | operator[] (const size_t i) |
Real * | ptr () |
Pointer accessor for direct copying. | |
const Real * | ptr () const |
Pointer accessor for direct copying. | |
Vector4 & | operator= (const Vector4 &rkVector) |
Assigns the value of the other vector. | |
Vector4 & | operator= (const Real fScalar) |
bool | operator== (const Vector4 &rkVector) const |
bool | operator!= (const Vector4 &rkVector) const |
Vector4 & | operator= (const Vector3 &rhs) |
Vector4 | operator+ (const Vector4 &rkVector) const |
Vector4 | operator- (const Vector4 &rkVector) const |
Vector4 | operator * (const Real fScalar) const |
Vector4 | operator * (const Vector4 &rhs) const |
Vector4 | operator/ (const Real fScalar) const |
Vector4 | operator/ (const Vector4 &rhs) const |
const Vector4 & | operator+ () const |
Vector4 | operator- () const |
Vector4 & | operator+= (const Vector4 &rkVector) |
Vector4 & | operator-= (const Vector4 &rkVector) |
Vector4 & | operator *= (const Real fScalar) |
Vector4 & | operator+= (const Real fScalar) |
Vector4 & | operator-= (const Real fScalar) |
Vector4 & | operator *= (const Vector4 &rkVector) |
Vector4 & | operator/= (const Real fScalar) |
Vector4 & | operator/= (const Vector4 &rkVector) |
Real | dotProduct (const Vector4 &vec) const |
Calculates the dot (scalar) product of this vector with another. | |
Public Attributes | |
Real | x |
Real | y |
Real | z |
Real | w |
Static Public Attributes | |
static const Vector4 | ZERO |
Friends | |
Vector4 | operator * (const Real fScalar, const Vector4 &rkVector) |
Vector4 | operator/ (const Real fScalar, const Vector4 &rkVector) |
Vector4 | operator+ (const Vector4 &lhs, const Real rhs) |
Vector4 | operator+ (const Real lhs, const Vector4 &rhs) |
Vector4 | operator- (const Vector4 &lhs, Real rhs) |
Vector4 | operator- (const Real lhs, const Vector4 &rhs) |
_OgreExport friend std::ostream & | operator<< (std::ostream &o, const Vector4 &v) |
Function for writing to a stream. |
Definition at line 40 of file OgreVector4.h.
|
Definition at line 46 of file OgreVector4.h. |
|
Definition at line 50 of file OgreVector4.h. |
|
Definition at line 55 of file OgreVector4.h. |
|
Definition at line 63 of file OgreVector4.h. |
|
Definition at line 71 of file OgreVector4.h. |
|
Definition at line 76 of file OgreVector4.h. |
|
Definition at line 84 of file OgreVector4.h. |
|
Calculates the dot (scalar) product of this vector with another.
Definition at line 374 of file OgreVector4.h. |
|
Definition at line 190 of file OgreVector4.h. |
|
Definition at line 181 of file OgreVector4.h. |
|
Definition at line 333 of file OgreVector4.h. |
|
Definition at line 306 of file OgreVector4.h. |
|
Definition at line 145 of file OgreVector4.h. |
|
Definition at line 221 of file OgreVector4.h. |
|
Definition at line 163 of file OgreVector4.h. |
|
Definition at line 315 of file OgreVector4.h. |
|
Definition at line 286 of file OgreVector4.h. |
|
Definition at line 226 of file OgreVector4.h. |
|
Definition at line 172 of file OgreVector4.h. |
|
Definition at line 324 of file OgreVector4.h. |
|
Definition at line 296 of file OgreVector4.h. |
|
Definition at line 212 of file OgreVector4.h. |
|
Definition at line 199 of file OgreVector4.h. |
|
Definition at line 357 of file OgreVector4.h. |
|
Definition at line 343 of file OgreVector4.h. |
|
Definition at line 153 of file OgreVector4.h. References Ogre::Vector3::x, Ogre::Vector3::y, and Ogre::Vector3::z. |
|
Definition at line 128 of file OgreVector4.h. |
|
Assigns the value of the other vector.
Definition at line 118 of file OgreVector4.h. |
|
Definition at line 137 of file OgreVector4.h. |
|
Definition at line 96 of file OgreVector4.h. |
|
Definition at line 89 of file OgreVector4.h. |
|
Pointer accessor for direct copying.
Definition at line 109 of file OgreVector4.h. |
|
Pointer accessor for direct copying.
Definition at line 104 of file OgreVector4.h. Referenced by Ogre::AnimableValue::setAsBaseValue(). |
|
Definition at line 231 of file OgreVector4.h. |
|
Definition at line 258 of file OgreVector4.h. |
|
Definition at line 249 of file OgreVector4.h. |
|
Definition at line 276 of file OgreVector4.h. |
|
Definition at line 267 of file OgreVector4.h. |
|
Definition at line 240 of file OgreVector4.h. |
|
Function for writing to a stream.
Definition at line 381 of file OgreVector4.h. |
|
Definition at line 43 of file OgreVector4.h. Referenced by dotProduct(), operator *(), Ogre::operator *(), Ogre::Matrix4::operator *(), operator *=(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator==(), and Ogre::Matrix4::transformAffine(). |
|
Definition at line 43 of file OgreVector4.h. Referenced by dotProduct(), operator *(), Ogre::operator *(), Ogre::Matrix4::operator *(), operator *=(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator==(), and Ogre::Matrix4::transformAffine(). |
|
Definition at line 43 of file OgreVector4.h. Referenced by dotProduct(), operator *(), Ogre::operator *(), Ogre::Matrix4::operator *(), operator *=(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator==(), and Ogre::Matrix4::transformAffine(). |
|
Definition at line 43 of file OgreVector4.h. Referenced by dotProduct(), operator *(), Ogre::operator *(), Ogre::Matrix4::operator *(), operator *=(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator==(), and Ogre::Matrix4::transformAffine(). |
|
Definition at line 387 of file OgreVector4.h. |
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 11 13:56:31 2009