OGRE
1.9.0
|
4-dimensional homogeneous vector. More...
#include <OgreVector4.h>
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. | |
4-dimensional homogeneous vector.
Definition at line 45 of file OgreVector4.h.
Ogre::Vector4::Vector4 | ( | ) |
Default constructor.
Definition at line 55 of file OgreVector4.h.
Definition at line 59 of file OgreVector4.h.
Definition at line 64 of file OgreVector4.h.
Definition at line 72 of file OgreVector4.h.
Definition at line 80 of file OgreVector4.h.
Definition at line 85 of file OgreVector4.h.
Definition at line 93 of file OgreVector4.h.
Calculates the dot (scalar) product of this vector with another.
vec | Vector with which to calculate the dot product (together with this one). |
Definition at line 393 of file OgreVector4.h.
bool Ogre::Vector4::isNaN | ( | ) | const |
Check whether this vector contains valid values.
Definition at line 398 of file OgreVector4.h.
Definition at line 164 of file OgreVector4.h.
Definition at line 200 of file OgreVector4.h.
Definition at line 209 of file OgreVector4.h.
Definition at line 325 of file OgreVector4.h.
Definition at line 352 of file OgreVector4.h.
Definition at line 240 of file OgreVector4.h.
Definition at line 182 of file OgreVector4.h.
Definition at line 334 of file OgreVector4.h.
Definition at line 305 of file OgreVector4.h.
Vector4 Ogre::Vector4::operator- | ( | ) | const |
Definition at line 245 of file OgreVector4.h.
Definition at line 191 of file OgreVector4.h.
Definition at line 343 of file OgreVector4.h.
Definition at line 315 of file OgreVector4.h.
Definition at line 218 of file OgreVector4.h.
Definition at line 231 of file OgreVector4.h.
Definition at line 362 of file OgreVector4.h.
Definition at line 376 of file OgreVector4.h.
Definition at line 147 of file OgreVector4.h.
Definition at line 172 of file OgreVector4.h.
Assigns the value of the other vector.
rkVector | The other vector |
Definition at line 137 of file OgreVector4.h.
Definition at line 156 of file OgreVector4.h.
Definition at line 115 of file OgreVector4.h.
Definition at line 108 of file OgreVector4.h.
Real * Ogre::Vector4::ptr | ( | ) |
Pointer accessor for direct copying.
Definition at line 123 of file OgreVector4.h.
Referenced by Ogre::AnimableValue::setAsBaseValue().
Pointer accessor for direct copying.
Definition at line 128 of file OgreVector4.h.
Exchange the contents of this vector with another.
Definition at line 100 of file OgreVector4.h.
References std::swap(), w, x, y, and z.
Definition at line 250 of file OgreVector4.h.
Definition at line 277 of file OgreVector4.h.
Definition at line 268 of file OgreVector4.h.
Definition at line 295 of file OgreVector4.h.
Definition at line 286 of file OgreVector4.h.
Definition at line 259 of file OgreVector4.h.
|
friend |
Function for writing to a stream.
Definition at line 404 of file OgreVector4.h.
Real Ogre::Vector4::w |
Definition at line 48 of file OgreVector4.h.
Referenced by Ogre::Volume::OctreeNode::isIsoSurfaceNear(), Ogre::Matrix4::operator*(), Ogre::operator*(), swap(), and Ogre::Matrix4::transformAffine().
Real Ogre::Vector4::x |
Definition at line 48 of file OgreVector4.h.
Referenced by Ogre::Matrix4::operator*(), Ogre::operator*(), swap(), and Ogre::Matrix4::transformAffine().
Real Ogre::Vector4::y |
Definition at line 48 of file OgreVector4.h.
Referenced by Ogre::Matrix4::operator*(), Ogre::operator*(), swap(), and Ogre::Matrix4::transformAffine().
Real Ogre::Vector4::z |
Definition at line 48 of file OgreVector4.h.
Referenced by Ogre::Matrix4::operator*(), Ogre::operator*(), swap(), and Ogre::Matrix4::transformAffine().
Definition at line 411 of file OgreVector4.h.