Bullet Collision Detection & Physics Library
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
Vectormath::Aos::Vector4 Class Reference

#include <vectormath_aos.h>

Public Member Functions

 Vector4 ()
 
 Vector4 (const Vector4 &vec)
 
 Vector4 (float x, float y, float z, float w)
 
 Vector4 (const Vector3 &xyz, float w)
 
 Vector4 (const Vector3 &vec)
 
 Vector4 (const Point3 &pnt)
 
 Vector4 (const Quat &quat)
 
 Vector4 (float scalar)
 
Vector4operator= (const Vector4 &vec)
 
Vector4setXYZ (const Vector3 &vec)
 
const Vector3 getXYZ () const
 
Vector4setX (float x)
 
Vector4setY (float y)
 
Vector4setZ (float z)
 
Vector4setW (float w)
 
float getX () const
 
float getY () const
 
float getZ () const
 
float getW () const
 
Vector4setElem (int idx, float value)
 
float getElem (int idx) const
 
float & operator[] (int idx)
 
float operator[] (int idx) const
 
const Vector4 operator+ (const Vector4 &vec) const
 
const Vector4 operator- (const Vector4 &vec) const
 
const Vector4 operator* (float scalar) const
 
const Vector4 operator/ (float scalar) const
 
Vector4operator+= (const Vector4 &vec)
 
Vector4operator-= (const Vector4 &vec)
 
Vector4operator*= (float scalar)
 
Vector4operator/= (float scalar)
 
const Vector4 operator- () const
 
 Vector4 ()
 
 Vector4 (const Vector4 &vec)
 
 Vector4 (float x, float y, float z, float w)
 
 Vector4 (const Vector3 &xyz, float w)
 
 Vector4 (const Vector3 &vec)
 
 Vector4 (const Point3 &pnt)
 
 Vector4 (const Quat &quat)
 
 Vector4 (float scalar)
 
Vector4operator= (const Vector4 &vec)
 
Vector4setXYZ (const Vector3 &vec)
 
const Vector3 getXYZ () const
 
Vector4setX (float x)
 
Vector4setY (float y)
 
Vector4setZ (float z)
 
Vector4setW (float w)
 
float getX () const
 
float getY () const
 
float getZ () const
 
float getW () const
 
Vector4setElem (int idx, float value)
 
float getElem (int idx) const
 
float & operator[] (int idx)
 
float operator[] (int idx) const
 
const Vector4 operator+ (const Vector4 &vec) const
 
const Vector4 operator- (const Vector4 &vec) const
 
const Vector4 operator* (float scalar) const
 
const Vector4 operator/ (float scalar) const
 
Vector4operator+= (const Vector4 &vec)
 
Vector4operator-= (const Vector4 &vec)
 
Vector4operator*= (float scalar)
 
Vector4operator/= (float scalar)
 
const Vector4 operator- () const
 
 Vector4 ()
 
 Vector4 (float x, float y, float z, float w)
 
 Vector4 (const floatInVec &x, const floatInVec &y, const floatInVec &z, const floatInVec &w)
 
 Vector4 (const Vector3 &xyz, float w)
 
 Vector4 (const Vector3 &xyz, const floatInVec &w)
 
 Vector4 (const Vector3 &vec)
 
 Vector4 (const Point3 &pnt)
 
 Vector4 (const Quat &quat)
 
 Vector4 (float scalar)
 
 Vector4 (const floatInVec &scalar)
 
 Vector4 (__m128 vf4)
 
__m128 get128 () const
 
Vector4operator= (const Vector4 &vec)
 
Vector4setXYZ (const Vector3 &vec)
 
const Vector3 getXYZ () const
 
Vector4setX (float x)
 
Vector4setY (float y)
 
Vector4setZ (float z)
 
Vector4setW (float w)
 
Vector4setX (const floatInVec &x)
 
Vector4setY (const floatInVec &y)
 
Vector4setZ (const floatInVec &z)
 
Vector4setW (const floatInVec &w)
 
const floatInVec getX () const
 
const floatInVec getY () const
 
const floatInVec getZ () const
 
const floatInVec getW () const
 
Vector4setElem (int idx, float value)
 
Vector4setElem (int idx, const floatInVec &value)
 
const floatInVec getElem (int idx) const
 
VecIdx operator[] (int idx)
 
const floatInVec operator[] (int idx) const
 
const Vector4 operator+ (const Vector4 &vec) const
 
const Vector4 operator- (const Vector4 &vec) const
 
const Vector4 operator* (float scalar) const
 
const Vector4 operator/ (float scalar) const
 
const Vector4 operator* (const floatInVec &scalar) const
 
const Vector4 operator/ (const floatInVec &scalar) const
 
Vector4operator+= (const Vector4 &vec)
 
Vector4operator-= (const Vector4 &vec)
 
Vector4operator*= (float scalar)
 
Vector4operator/= (float scalar)
 
Vector4operator*= (const floatInVec &scalar)
 
Vector4operator/= (const floatInVec &scalar)
 
const Vector4 operator- () const
 

Static Public Member Functions

static const Vector4 xAxis ()
 
static const Vector4 yAxis ()
 
static const Vector4 zAxis ()
 
static const Vector4 wAxis ()
 
static const Vector4 xAxis ()
 
static const Vector4 yAxis ()
 
static const Vector4 zAxis ()
 
static const Vector4 wAxis ()
 
static const Vector4 xAxis ()
 
static const Vector4 yAxis ()
 
static const Vector4 zAxis ()
 
static const Vector4 wAxis ()
 

Private Attributes

float mX
 
float mY
 
float mZ
 
float mW
 
__m128 mVec128
 

Detailed Description

Definition at line 335 of file neon/vectormath_aos.h.

Constructor & Destructor Documentation

Vectormath::Aos::Vector4::Vector4 ( )
inline

Definition at line 345 of file neon/vectormath_aos.h.

Vectormath::Aos::Vector4::Vector4 ( const Vector4 vec)
inline

Definition at line 505 of file neon/vec_aos.h.

Vectormath::Aos::Vector4::Vector4 ( float  x,
float  y,
float  z,
float  w 
)
inline

Definition at line 513 of file neon/vec_aos.h.

Vectormath::Aos::Vector4::Vector4 ( const Vector3 xyz,
float  w 
)
inline

Definition at line 521 of file neon/vec_aos.h.

Vectormath::Aos::Vector4::Vector4 ( const Vector3 vec)
inlineexplicit

Definition at line 527 of file neon/vec_aos.h.

Vectormath::Aos::Vector4::Vector4 ( const Point3 pnt)
inlineexplicit

Definition at line 535 of file neon/vec_aos.h.

Vectormath::Aos::Vector4::Vector4 ( const Quat quat)
inlineexplicit

Definition at line 543 of file neon/vec_aos.h.

Vectormath::Aos::Vector4::Vector4 ( float  scalar)
inlineexplicit

Definition at line 551 of file neon/vec_aos.h.

Vectormath::Aos::Vector4::Vector4 ( )
inline

Definition at line 343 of file scalar/vectormath_aos.h.

Vectormath::Aos::Vector4::Vector4 ( const Vector4 vec)
inline
Vectormath::Aos::Vector4::Vector4 ( float  x,
float  y,
float  z,
float  w 
)
inline
Vectormath::Aos::Vector4::Vector4 ( const Vector3 xyz,
float  w 
)
inline
Vectormath::Aos::Vector4::Vector4 ( const Vector3 vec)
inlineexplicit
Vectormath::Aos::Vector4::Vector4 ( const Point3 pnt)
inlineexplicit
Vectormath::Aos::Vector4::Vector4 ( const Quat quat)
inlineexplicit
Vectormath::Aos::Vector4::Vector4 ( float  scalar)
inlineexplicit
Vectormath::Aos::Vector4::Vector4 ( )
inline

Definition at line 738 of file sse/vectormath_aos.h.

Vectormath::Aos::Vector4::Vector4 ( float  x,
float  y,
float  z,
float  w 
)
inline
Vectormath::Aos::Vector4::Vector4 ( const floatInVec x,
const floatInVec y,
const floatInVec z,
const floatInVec w 
)
inline

Definition at line 713 of file sse/vec_aos.h.

Vectormath::Aos::Vector4::Vector4 ( const Vector3 xyz,
float  w 
)
inline
Vectormath::Aos::Vector4::Vector4 ( const Vector3 xyz,
const floatInVec w 
)
inline

Definition at line 726 of file sse/vec_aos.h.

Vectormath::Aos::Vector4::Vector4 ( const Vector3 vec)
inlineexplicit
Vectormath::Aos::Vector4::Vector4 ( const Point3 pnt)
inlineexplicit
Vectormath::Aos::Vector4::Vector4 ( const Quat quat)
inlineexplicit
Vectormath::Aos::Vector4::Vector4 ( float  scalar)
inlineexplicit
Vectormath::Aos::Vector4::Vector4 ( const floatInVec scalar)
inlineexplicit

Definition at line 754 of file sse/vec_aos.h.

Vectormath::Aos::Vector4::Vector4 ( __m128  vf4)
inlineexplicit

Definition at line 759 of file sse/vec_aos.h.

Member Function Documentation

__m128 Vectormath::Aos::Vector4::get128 ( ) const
inline

Definition at line 817 of file sse/vec_aos.h.

float Vectormath::Aos::Vector4::getElem ( int  idx) const
inline
const floatInVec Vectormath::Aos::Vector4::getElem ( int  idx) const
inline

Definition at line 761 of file neon/vec_aos.h.

const floatInVec Vectormath::Aos::Vector4::getElem ( int  idx) const
inline
float Vectormath::Aos::Vector4::getW ( ) const
inline
const floatInVec Vectormath::Aos::Vector4::getW ( ) const
inline

Definition at line 750 of file neon/vec_aos.h.

const floatInVec Vectormath::Aos::Vector4::getW ( ) const
inline
float Vectormath::Aos::Vector4::getX ( ) const
inline
const floatInVec Vectormath::Aos::Vector4::getX ( ) const
inline

Definition at line 717 of file neon/vec_aos.h.

const floatInVec Vectormath::Aos::Vector4::getX ( ) const
inline
const Vector3 Vectormath::Aos::Vector4::getXYZ ( ) const
inline
const Vector3 Vectormath::Aos::Vector4::getXYZ ( ) const
inline

Definition at line 706 of file neon/vec_aos.h.

const Vector3 Vectormath::Aos::Vector4::getXYZ ( ) const
inline
float Vectormath::Aos::Vector4::getY ( ) const
inline
const floatInVec Vectormath::Aos::Vector4::getY ( ) const
inline

Definition at line 728 of file neon/vec_aos.h.

const floatInVec Vectormath::Aos::Vector4::getY ( ) const
inline
float Vectormath::Aos::Vector4::getZ ( ) const
inline
const floatInVec Vectormath::Aos::Vector4::getZ ( ) const
inline

Definition at line 739 of file neon/vec_aos.h.

const floatInVec Vectormath::Aos::Vector4::getZ ( ) const
inline
const Vector4 Vectormath::Aos::Vector4::operator* ( float  scalar) const
inline
const Vector4 Vectormath::Aos::Vector4::operator* ( float  scalar) const
inline

Definition at line 796 of file neon/vec_aos.h.

const Vector4 Vectormath::Aos::Vector4::operator* ( float  scalar) const
inline
const Vector4 Vectormath::Aos::Vector4::operator* ( const floatInVec scalar) const
inline

Definition at line 956 of file sse/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::operator*= ( float  scalar)
inline
Vector4 & Vectormath::Aos::Vector4::operator*= ( float  scalar)
inline

Definition at line 818 of file neon/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::operator*= ( float  scalar)
inline
Vector4 & Vectormath::Aos::Vector4::operator*= ( const floatInVec scalar)
inline

Definition at line 979 of file sse/vec_aos.h.

const Vector4 Vectormath::Aos::Vector4::operator+ ( const Vector4 vec) const
inline
const Vector4 Vectormath::Aos::Vector4::operator+ ( const Vector4 vec) const
inline

Definition at line 776 of file neon/vec_aos.h.

const Vector4 Vectormath::Aos::Vector4::operator+ ( const Vector4 vec) const
inline
Vector4& Vectormath::Aos::Vector4::operator+= ( const Vector4 vec)
inline
Vector4 & Vectormath::Aos::Vector4::operator+= ( const Vector4 vec)
inline

Definition at line 806 of file neon/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::operator+= ( const Vector4 vec)
inline
const Vector4 Vectormath::Aos::Vector4::operator- ( const Vector4 vec) const
inline
const Vector4 Vectormath::Aos::Vector4::operator- ( const Vector4 vec) const
inline

Definition at line 786 of file neon/vec_aos.h.

const Vector4 Vectormath::Aos::Vector4::operator- ( ) const
inline
const Vector4 Vectormath::Aos::Vector4::operator- ( ) const
inline

Definition at line 840 of file neon/vec_aos.h.

const Vector4 Vectormath::Aos::Vector4::operator- ( const Vector4 vec) const
inline
const Vector4 Vectormath::Aos::Vector4::operator- ( ) const
inline
Vector4& Vectormath::Aos::Vector4::operator-= ( const Vector4 vec)
inline
Vector4 & Vectormath::Aos::Vector4::operator-= ( const Vector4 vec)
inline

Definition at line 812 of file neon/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::operator-= ( const Vector4 vec)
inline
const Vector4 Vectormath::Aos::Vector4::operator/ ( float  scalar) const
inline
const Vector4 Vectormath::Aos::Vector4::operator/ ( float  scalar) const
inline

Definition at line 824 of file neon/vec_aos.h.

const Vector4 Vectormath::Aos::Vector4::operator/ ( float  scalar) const
inline
const Vector4 Vectormath::Aos::Vector4::operator/ ( const floatInVec scalar) const
inline

Definition at line 990 of file sse/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::operator/= ( float  scalar)
inline
Vector4 & Vectormath::Aos::Vector4::operator/= ( float  scalar)
inline

Definition at line 834 of file neon/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::operator/= ( float  scalar)
inline
Vector4 & Vectormath::Aos::Vector4::operator/= ( const floatInVec scalar)
inline

Definition at line 1001 of file sse/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::operator= ( const Vector4 vec)
inline
Vector4 & Vectormath::Aos::Vector4::operator= ( const Vector4 vec)
inline

Definition at line 689 of file neon/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::operator= ( const Vector4 vec)
inline
float& Vectormath::Aos::Vector4::operator[] ( int  idx)
inline
VecIdx Vectormath::Aos::Vector4::operator[] ( int  idx)
inline

Definition at line 766 of file neon/vec_aos.h.

float Vectormath::Aos::Vector4::operator[] ( int  idx) const
inline
const floatInVec Vectormath::Aos::Vector4::operator[] ( int  idx) const
inline

Definition at line 771 of file neon/vec_aos.h.

VecIdx Vectormath::Aos::Vector4::operator[] ( int  idx)
inline
const floatInVec Vectormath::Aos::Vector4::operator[] ( int  idx) const
inline
Vector4& Vectormath::Aos::Vector4::setElem ( int  idx,
float  value 
)
inline
Vector4 & Vectormath::Aos::Vector4::setElem ( int  idx,
float  value 
)
inline

Definition at line 755 of file neon/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::setElem ( int  idx,
float  value 
)
inline
Vector4 & Vectormath::Aos::Vector4::setElem ( int  idx,
const floatInVec value 
)
inline

Definition at line 920 of file sse/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::setW ( float  w)
inline
Vector4 & Vectormath::Aos::Vector4::setW ( float  w)
inline

Definition at line 744 of file neon/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::setW ( float  w)
inline
Vector4 & Vectormath::Aos::Vector4::setW ( const floatInVec w)
inline

Definition at line 903 of file sse/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::setX ( float  x)
inline
Vector4 & Vectormath::Aos::Vector4::setX ( float  x)
inline

Definition at line 711 of file neon/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::setX ( float  x)
inline
Vector4 & Vectormath::Aos::Vector4::setX ( const floatInVec x)
inline

Definition at line 852 of file sse/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::setXYZ ( const Vector3 vec)
inline
Vector4 & Vectormath::Aos::Vector4::setXYZ ( const Vector3 vec)
inline

Definition at line 698 of file neon/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::setXYZ ( const Vector3 vec)
inline
Vector4& Vectormath::Aos::Vector4::setY ( float  y)
inline
Vector4 & Vectormath::Aos::Vector4::setY ( float  y)
inline

Definition at line 722 of file neon/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::setY ( float  y)
inline
Vector4 & Vectormath::Aos::Vector4::setY ( const floatInVec y)
inline

Definition at line 869 of file sse/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::setZ ( float  z)
inline
Vector4 & Vectormath::Aos::Vector4::setZ ( float  z)
inline

Definition at line 733 of file neon/vec_aos.h.

Vector4& Vectormath::Aos::Vector4::setZ ( float  z)
inline
Vector4 & Vectormath::Aos::Vector4::setZ ( const floatInVec z)
inline

Definition at line 886 of file sse/vec_aos.h.

static const Vector4 Vectormath::Aos::Vector4::wAxis ( )
inlinestatic
const Vector4 Vectormath::Aos::Vector4::wAxis ( )
inlinestatic

Definition at line 574 of file neon/vec_aos.h.

static const Vector4 Vectormath::Aos::Vector4::wAxis ( )
inlinestatic
static const Vector4 Vectormath::Aos::Vector4::xAxis ( )
inlinestatic
const Vector4 Vectormath::Aos::Vector4::xAxis ( )
inlinestatic

Definition at line 559 of file neon/vec_aos.h.

static const Vector4 Vectormath::Aos::Vector4::xAxis ( )
inlinestatic
static const Vector4 Vectormath::Aos::Vector4::yAxis ( )
inlinestatic
const Vector4 Vectormath::Aos::Vector4::yAxis ( )
inlinestatic

Definition at line 564 of file neon/vec_aos.h.

static const Vector4 Vectormath::Aos::Vector4::yAxis ( )
inlinestatic
static const Vector4 Vectormath::Aos::Vector4::zAxis ( )
inlinestatic
const Vector4 Vectormath::Aos::Vector4::zAxis ( )
inlinestatic

Definition at line 569 of file neon/vec_aos.h.

static const Vector4 Vectormath::Aos::Vector4::zAxis ( )
inlinestatic

Member Data Documentation

__m128 Vectormath::Aos::Vector4::mVec128
private

Definition at line 733 of file sse/vectormath_aos.h.

float Vectormath::Aos::Vector4::mW
private

Definition at line 340 of file neon/vectormath_aos.h.

float Vectormath::Aos::Vector4::mX
private

Definition at line 337 of file neon/vectormath_aos.h.

float Vectormath::Aos::Vector4::mY
private

Definition at line 338 of file neon/vectormath_aos.h.

float Vectormath::Aos::Vector4::mZ
private

Definition at line 339 of file neon/vectormath_aos.h.


The documentation for this class was generated from the following files: