|  | OGRE-Next
    2.3
    Object-Oriented Graphics Rendering Engine | 
4-dimensional homogeneous vector. More...
#include <OgreVector4.h>
| Public Member Functions | |
| Vector4 () | |
| Default constructor.  More... | |
| Vector4 (const int afCoordinate[4]) | |
| Vector4 (const Real afCoordinate[4]) | |
| Vector4 (const Real fX, const Real fY, const Real fZ, const Real fW) | |
| Vector4 (const Real scaler) | |
| Vector4 (const Vector3 &rhs) | |
| Vector4 (const Vector3 &rhs, float fW) | |
| Vector4 (Real *const r) | |
| Real | dotProduct (const Vector4 &vec) const | 
| Calculates the dot (scalar) product of this vector with another.  More... | |
| bool | isNaN () const | 
| Check whether this vector contains valid values.  More... | |
| bool | operator!= (const Vector4 &rkVector) const | 
| Vector4 | operator* (const Real fScalar) const | 
| Vector4 | operator* (const Vector4 &rhs) const | 
| Vector4 & | operator*= (const Real fScalar) | 
| Vector4 & | operator*= (const Vector4 &rkVector) | 
| const Vector4 & | operator+ () const | 
| Vector4 | operator+ (const Vector4 &rkVector) const | 
| Vector4 & | operator+= (const Real fScalar) | 
| Vector4 & | operator+= (const Vector4 &rkVector) | 
| Vector4 | operator- () const | 
| Vector4 | operator- (const Vector4 &rkVector) const | 
| Vector4 & | operator-= (const Real fScalar) | 
| Vector4 & | operator-= (const Vector4 &rkVector) | 
| Vector4 | operator/ (const Real fScalar) const | 
| Vector4 | operator/ (const Vector4 &rhs) const | 
| Vector4 & | operator/= (const Real fScalar) | 
| Vector4 & | operator/= (const Vector4 &rkVector) | 
| Vector4 & | operator= (const Real fScalar) | 
| Vector4 & | operator= (const Vector3 &rhs) | 
| bool | operator== (const Vector4 &rkVector) const | 
| Real & | operator[] (const size_t i) | 
| Real | operator[] (const size_t i) const | 
| Real * | ptr () | 
| Pointer accessor for direct copying.  More... | |
| const Real * | ptr () const | 
| Pointer accessor for direct copying.  More... | |
| void | swap (Vector4 &other) | 
| Exchange the contents of this vector with another.  More... | |
| Vector2 | xy () const | 
| Vector3 | xyz () const | 
| Swizzle-like narrowing operations.  More... | |
| Public Attributes | |
| Real | w | 
| Real | x | 
| Real | y | 
| Real | z | 
| Static Public Attributes | |
| static const Vector4 | ZERO | 
| Friends | |
| Vector4 | operator* (const Real fScalar, const Vector4 &rkVector) | 
| Vector4 | operator+ (const Real lhs, const Vector4 &rhs) | 
| 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 fScalar, const Vector4 &rkVector) | 
| _OgreExport friend std::ostream & | operator<< (std::ostream &o, const Vector4 &v) | 
| Function for writing to a stream.  More... | |
4-dimensional homogeneous vector.
| 
 | inline | 
Default constructor.
| 
 | inlineexplicit | 
| 
 | inlineexplicit | 
| 
 | inlineexplicit | 
| 
 | inlineexplicit | 
| 
 | inlineexplicit | 
| 
 | inlineexplicit | 
| 
 | inline | 
Check whether this vector contains valid values.
References Ogre::Math::isNaN().
| 
 | inline | 
| 
 | inline | 
References Ogre::Vector3::x, Ogre::Vector3::y, and Ogre::Vector3::z.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Pointer accessor for direct copying.
| 
 | inline | 
Pointer accessor for direct copying.
| 
 | inline | 
Exchange the contents of this vector with another.
References std::swap(), w, x, y, and z.
| 
 | inline | 
| 
 | inline | 
Swizzle-like narrowing operations.
| 
 | friend | 
Function for writing to a stream.
| Real Ogre::Vector4::w | 
Referenced by dotProduct(), Ogre::Volume::OctreeNode::isIsoSurfaceNear(), operator!=(), operator*(), Ogre::Matrix4::operator*(), Ogre::operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator==(), swap(), and Ogre::Matrix4::transformAffine().
| Real Ogre::Vector4::x | 
| Real Ogre::Vector4::y | 
| Real Ogre::Vector4::z | 
| 
 | static |