VECTOR4D Class Reference

#include <VECTOR4D.h>

List of all members.

Public Member Functions

 VECTOR4D (void)
 VECTOR4D (float newX, float newY, float newZ, float newW)
 VECTOR4D (const float *rhs)
 VECTOR4D (const VECTOR4D &rhs)
 VECTOR4D (const VECTOR3D &rhs)
 ~VECTOR4D ()
void Set (float newX, float newY, float newZ, float newW)
void SetX (float newX)
void SetY (float newY)
void SetZ (float newZ)
void SetW (float newW)
float GetX () const
float GetY () const
float GetZ () const
float GetW () const
void LoadZero (void)
void LoadOne (void)
float DotProduct (const VECTOR4D &rhs)
void RotateX (double angle)
VECTOR4D GetRotatedX (double angle) const
void RotateY (double angle)
VECTOR4D GetRotatedY (double angle) const
void RotateZ (double angle)
VECTOR4D GetRotatedZ (double angle) const
void RotateAxis (double angle, const VECTOR3D &axis)
VECTOR4D GetRotatedAxis (double angle, const VECTOR3D &axis) const
VECTOR4D lerp (const VECTOR4D &v2, float factor) const
VECTOR4D QuadraticInterpolate (const VECTOR4D &v2, const VECTOR4D &v3, float factor) const
VECTOR4D operator+ (const VECTOR4D &rhs) const
VECTOR4D operator- (const VECTOR4D &rhs) const
VECTOR4D operator* (const float rhs) const
VECTOR4D operator/ (const float rhs) const
bool operator== (const VECTOR4D &rhs) const
bool operator!= (const VECTOR4D &rhs) const
void operator+= (const VECTOR4D &rhs)
void operator-= (const VECTOR4D &rhs)
void operator*= (const float rhs)
void operator/= (const float rhs)
VECTOR4D operator- (void) const
VECTOR4D operator+ (void) const
 operator float * () const
 operator const float * () const
 operator VECTOR3D ()

Public Attributes

float x
float y
float z
float w

Friends

VECTOR4D operator* (float scaleFactor, const VECTOR4D &rhs)


Constructor & Destructor Documentation

VECTOR4D::VECTOR4D ( void   )  [inline]

VECTOR4D::VECTOR4D ( float  newX,
float  newY,
float  newZ,
float  newW 
) [inline]

VECTOR4D::VECTOR4D ( const float *  rhs  )  [inline]

VECTOR4D::VECTOR4D ( const VECTOR4D rhs  )  [inline]

VECTOR4D::VECTOR4D ( const VECTOR3D rhs  )  [inline]

VECTOR4D::~VECTOR4D (  )  [inline]


Member Function Documentation

void VECTOR4D::Set ( float  newX,
float  newY,
float  newZ,
float  newW 
) [inline]

void VECTOR4D::SetX ( float  newX  )  [inline]

void VECTOR4D::SetY ( float  newY  )  [inline]

void VECTOR4D::SetZ ( float  newZ  )  [inline]

void VECTOR4D::SetW ( float  newW  )  [inline]

float VECTOR4D::GetX (  )  const [inline]

float VECTOR4D::GetY (  )  const [inline]

float VECTOR4D::GetZ (  )  const [inline]

float VECTOR4D::GetW (  )  const [inline]

void VECTOR4D::LoadZero ( void   )  [inline]

void VECTOR4D::LoadOne ( void   )  [inline]

float VECTOR4D::DotProduct ( const VECTOR4D rhs  )  [inline]

void VECTOR4D::RotateX ( double  angle  ) 

Here is the call graph for this function:

VECTOR4D VECTOR4D::GetRotatedX ( double  angle  )  const

Here is the call graph for this function:

void VECTOR4D::RotateY ( double  angle  ) 

Here is the call graph for this function:

VECTOR4D VECTOR4D::GetRotatedY ( double  angle  )  const

Here is the call graph for this function:

void VECTOR4D::RotateZ ( double  angle  ) 

Here is the call graph for this function:

VECTOR4D VECTOR4D::GetRotatedZ ( double  angle  )  const

Here is the call graph for this function:

void VECTOR4D::RotateAxis ( double  angle,
const VECTOR3D axis 
)

Here is the call graph for this function:

VECTOR4D VECTOR4D::GetRotatedAxis ( double  angle,
const VECTOR3D axis 
) const

Here is the call graph for this function:

VECTOR4D VECTOR4D::lerp ( const VECTOR4D v2,
float  factor 
) const [inline]

VECTOR4D VECTOR4D::QuadraticInterpolate ( const VECTOR4D v2,
const VECTOR4D v3,
float  factor 
) const [inline]

VECTOR4D VECTOR4D::operator+ ( const VECTOR4D rhs  )  const [inline]

Here is the call graph for this function:

VECTOR4D VECTOR4D::operator- ( const VECTOR4D rhs  )  const [inline]

Here is the call graph for this function:

VECTOR4D VECTOR4D::operator* ( const float  rhs  )  const [inline]

Here is the call graph for this function:

VECTOR4D VECTOR4D::operator/ ( const float  rhs  )  const [inline]

Here is the call graph for this function:

bool VECTOR4D::operator== ( const VECTOR4D rhs  )  const

bool VECTOR4D::operator!= ( const VECTOR4D rhs  )  const [inline]

void VECTOR4D::operator+= ( const VECTOR4D rhs  )  [inline]

void VECTOR4D::operator-= ( const VECTOR4D rhs  )  [inline]

void VECTOR4D::operator*= ( const float  rhs  )  [inline]

void VECTOR4D::operator/= ( const float  rhs  )  [inline]

VECTOR4D VECTOR4D::operator- ( void   )  const [inline]

Here is the call graph for this function:

VECTOR4D VECTOR4D::operator+ ( void   )  const [inline]

VECTOR4D::operator float * (  )  const [inline]

VECTOR4D::operator const float * (  )  const [inline]

VECTOR4D::operator VECTOR3D (  ) 


Friends And Related Function Documentation

VECTOR4D operator* ( float  scaleFactor,
const VECTOR4D rhs 
) [friend]


Member Data Documentation

float VECTOR4D::x

float VECTOR4D::y

float VECTOR4D::z

float VECTOR4D::w


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

Generated on Thu Mar 19 19:36:15 2009 for CubicVR by  doxygen 1.5.6