Vector4 Class Reference

#include <Vector4.h>

List of all members.

Public Member Functions

 Vector4 (void)
 Vector4 (float x, float y, float z, float w)
 Vector4 (float fill)
 Vector4 (const Vector4 &v)
 Vector4 (const Vector &other3)
float operator[] (int i) const
float & operator[] (int i)
void Set (float x, float y, float z, float w)
void Set (float fill)
Vector4operator= (const Vector4 &v)
Vector4operator/= (float scalar)
Vector4operator-= (const Vector4 &other)
Vector4operator+= (const Vector4 &other)
Vector4operator *= (float scale)
int operator== (const Vector4 &a) const
int operator!= (const Vector4 &a) const
Vector4 operator+ (const Vector4 &a) const
Vector4 operator- (const Vector4 &a) const
float operator| (const Vector4 &b) const
float operator| (const Vector &b) const
Vector4 operator * (const Vector4 &b) const
Vector4 operator * (float scalar) const

Friends

class Matrix44
MATRIXEXPORT Vector4 operator * (float scalar, const Vector4 &v)
void Swap (Vector4 &a, Vector4 &b)


Detailed Description

Definition at line 18 of file Vector4.h.


Constructor & Destructor Documentation

Vector4::Vector4 void   )  [inline]
 

Definition at line 29 of file Vector4.h.

Referenced by operator *(), operator+(), and operator-().

Vector4::Vector4 float  x,
float  y,
float  z,
float  w
[inline]
 

Definition at line 154 of file Vector4.h.

References Set().

Here is the call graph for this function:

Vector4::Vector4 float  fill  )  [inline]
 

Definition at line 159 of file Vector4.h.

References Set().

Here is the call graph for this function:

Vector4::Vector4 const Vector4 v  )  [inline]
 

Definition at line 164 of file Vector4.h.

Vector4::Vector4 const Vector other3  )  [inline]
 

Definition at line 169 of file Vector4.h.

References n.


Member Function Documentation

Vector4 Vector4::operator * float  scalar  )  const [inline]
 

Definition at line 66 of file Vector4.h.

References Vector4().

Here is the call graph for this function:

Vector4 Vector4::operator * const Vector4 b  )  const [inline]
 

Definition at line 57 of file Vector4.h.

References n.

Vector4 & Vector4::operator *= float  scale  )  [inline]
 

Definition at line 231 of file Vector4.h.

References n.

int Vector4::operator!= const Vector4 a  )  const [inline]
 

Definition at line 50 of file Vector4.h.

Vector4 Vector4::operator+ const Vector4 a  )  const [inline]
 

Definition at line 52 of file Vector4.h.

References Vector4().

Here is the call graph for this function:

Vector4 & Vector4::operator+= const Vector4 other  )  [inline]
 

Definition at line 222 of file Vector4.h.

References n.

Vector4 Vector4::operator- const Vector4 a  )  const [inline]
 

Definition at line 53 of file Vector4.h.

References Vector4().

Here is the call graph for this function:

Vector4 & Vector4::operator-= const Vector4 other  )  [inline]
 

Definition at line 213 of file Vector4.h.

References n.

Vector4 & Vector4::operator/= float  scalar  )  [inline]
 

Definition at line 204 of file Vector4.h.

References n.

Vector4 & Vector4::operator= const Vector4 v  )  [inline]
 

Definition at line 195 of file Vector4.h.

References n.

int Vector4::operator== const Vector4 a  )  const [inline]
 

Definition at line 240 of file Vector4.h.

References n.

float & Vector4::operator[] int  i  )  [inline]
 

Definition at line 182 of file Vector4.h.

References n.

float Vector4::operator[] int  i  )  const [inline]
 

Definition at line 177 of file Vector4.h.

References n.

float Vector4::operator| const Vector b  )  const [inline]
 

Definition at line 250 of file Vector4.h.

float Vector4::operator| const Vector4 b  )  const [inline]
 

Definition at line 245 of file Vector4.h.

void Vector4::Set float  fill  )  [inline]
 

Definition at line 40 of file Vector4.h.

References n.

void Vector4::Set float  x,
float  y,
float  z,
float  w
[inline]
 

Definition at line 187 of file Vector4.h.

References n.

Referenced by Matrix44::SetIdentity(), and Vector4().


Friends And Related Function Documentation

friend class Matrix44 [friend]
 

Definition at line 35 of file Vector4.h.

MATRIXEXPORT Vector4 operator * float  scalar,
const Vector4 v
[friend]
 

Definition at line 70 of file Vector4.h.

void Swap Vector4 a,
Vector4 b
[friend]
 

Definition at line 74 of file Vector4.h.


Member Data Documentation

float Vector4::n[4] [protected]
 

Definition at line 25 of file Vector4.h.

Referenced by operator *(), operator *=(), operator+=(), operator-=(), operator/=(), operator=(), operator==(), operator[](), Set(), and Vector4().


The documentation for this class was generated from the following file:
This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:47:04 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001