Vector Class Reference

#include <Vector.h>

List of all members.

Public Member Functions

 Vector ()
 Vector (const float fX, const float fY, const float fZ)
 Vector (const float vfValues[])
 ~Vector ()
void Set (const float fX, const float fY, const float fZ)
void SetX (const float fX)
void SetY (const float fY)
void SetZ (const float fZ)
const float * Get () const
const float Get (const unsigned int uIndex) const
const float GetX () const
const float GetY () const
const float GetZ () const
const float GetMagnitude () const
const float GetSquaredMagnitude () const
const float GetDot (const Vector &vecOther) const
const Vector GetCross (const Vector &vecOther) const
const Vector GetNormalized () const
const Vector GetInverse () const
void normalize ()
void invert ()
const bool operator== (const Vector &vecOther) const
const bool operator!= (const Vector &vecOther) const
float & operator[] (const unsigned int uIndex)
const float operator[] (const unsigned int uIndex) const
const Vectoroperator+= (const Vector &vecOther)
const Vectoroperator-= (const Vector &vecOther)
const Vectoroperator*= (const Vector &vecOther)
const Vectoroperator*= (const float &fOther)
const Vectoroperator/= (const Vector &vecOther)
const Vectoroperator/= (const float &fOther)
const Vector operator+ (const Vector &vecOther) const
const Vector operator- (const Vector &vecOther) const
const Vector operator* (const Vector &vecOther) const
const Vector operator* (const float &fOther) const
const Vector operator/ (const Vector &vecOther) const
const Vector operator/ (const float &fOther) const
const Vector operator- () const

Private Attributes

float m_vfElements [3]


Constructor & Destructor Documentation

Vector::Vector (  )  [inline]

Vector::Vector ( const float  fX,
const float  fY,
const float  fZ 
) [inline]

Vector::Vector ( const float  vfValues[]  )  [inline]

Vector::~Vector (  )  [inline]


Member Function Documentation

const float Vector::Get ( const unsigned int  uIndex  )  const [inline]

const float* Vector::Get (  )  const [inline]

const Vector Vector::GetCross ( const Vector vecOther  )  const [inline]

const float Vector::GetDot ( const Vector vecOther  )  const [inline]

const Vector Vector::GetInverse (  )  const [inline]

const float Vector::GetMagnitude (  )  const [inline]

const Vector Vector::GetNormalized (  )  const [inline]

const float Vector::GetSquaredMagnitude (  )  const [inline]

const float Vector::GetX (  )  const [inline]

const float Vector::GetY (  )  const [inline]

const float Vector::GetZ (  )  const [inline]

void Vector::invert (  )  [inline]

void Vector::normalize (  )  [inline]

const bool Vector::operator!= ( const Vector vecOther  )  const [inline]

const Vector Vector::operator* ( const float &  fOther  )  const [inline]

const Vector Vector::operator* ( const Vector vecOther  )  const [inline]

const Vector& Vector::operator*= ( const float &  fOther  )  [inline]

const Vector& Vector::operator*= ( const Vector vecOther  )  [inline]

const Vector Vector::operator+ ( const Vector vecOther  )  const [inline]

const Vector& Vector::operator+= ( const Vector vecOther  )  [inline]

const Vector Vector::operator- (  )  const [inline]

const Vector Vector::operator- ( const Vector vecOther  )  const [inline]

const Vector& Vector::operator-= ( const Vector vecOther  )  [inline]

const Vector Vector::operator/ ( const float &  fOther  )  const [inline]

const Vector Vector::operator/ ( const Vector vecOther  )  const [inline]

const Vector& Vector::operator/= ( const float &  fOther  )  [inline]

const Vector& Vector::operator/= ( const Vector vecOther  )  [inline]

const bool Vector::operator== ( const Vector vecOther  )  const [inline]

const float Vector::operator[] ( const unsigned int  uIndex  )  const [inline]

float& Vector::operator[] ( const unsigned int  uIndex  )  [inline]

void Vector::Set ( const float  fX,
const float  fY,
const float  fZ 
) [inline]

void Vector::SetX ( const float  fX  )  [inline]

void Vector::SetY ( const float  fY  )  [inline]

void Vector::SetZ ( const float  fZ  )  [inline]


Member Data Documentation

float Vector::m_vfElements[3] [private]


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

Generated on Wed Dec 10 14:46:52 2008 for VolumeRender by  doxygen 1.5.7.1