Wml::Vector4< Real > Class Template Reference
[Math Objects]

#include <WmlVector4.h>

Inherits Vector< 4, Real >.


Detailed Description

template<class Real>
class Wml::Vector4< Real >

Template class for a 4 item vector.

Note:
The DigitalSpaces::in_Vector4f* and DigitalSpaces::out_Vector4f* operators are hacked in here, causing warnings as it is only appropriate for one of the possible template instantiations.

Public Member Functions

 Vector4 ()
 Vector4 (Real fX, Real fY, Real fZ, Real fW)
 Vector4 (const Vector4 &rkV)
 Vector4 (const Vector< 4, Real > &rkV)
 Vector4 (DigitalSpaces::in_Vector4f *pVec4)
Real X () const
Real & X ()
Real Y () const
Real & Y ()
Real Z () const
Real & Z ()
Real W () const
Real & W ()
 operator DigitalSpaces::in_Vector4f * () const
 operator DigitalSpaces::out_Vector4f * ()
Vector4operator= (const Vector4 &rkV)
Vector4operator= (const Vector< 4, Real > &rkV)

Static Public Attributes

static const Vector4 ZERO
static const Vector4 UNIT_X
static const Vector4 UNIT_Y
static const Vector4 UNIT_Z
static const Vector4 UNIT_W

Constructor & Destructor Documentation

template<class Real>
Wml::Vector4< Real >::Vector4 (  ) 

template<class Real>
Wml::Vector4< Real >::Vector4 ( Real  fX,
Real  fY,
Real  fZ,
Real  fW 
)

template<class Real>
Wml::Vector4< Real >::Vector4 ( const Vector4< Real > &  rkV  ) 

template<class Real>
Wml::Vector4< Real >::Vector4 ( const Vector< 4, Real > &  rkV  ) 

template<class Real>
Wml::Vector4< Real >::Vector4 ( DigitalSpaces::in_Vector4f pVec4  ) 


Member Function Documentation

template<class Real>
Real Wml::Vector4< Real >::X (  )  const

template<class Real>
Real& Wml::Vector4< Real >::X (  ) 

template<class Real>
Real Wml::Vector4< Real >::Y (  )  const

template<class Real>
Real& Wml::Vector4< Real >::Y (  ) 

template<class Real>
Real Wml::Vector4< Real >::Z (  )  const

template<class Real>
Real& Wml::Vector4< Real >::Z (  ) 

template<class Real>
Real Wml::Vector4< Real >::W (  )  const

template<class Real>
Real& Wml::Vector4< Real >::W (  ) 

template<class Real>
Wml::Vector4< Real >::operator DigitalSpaces::in_Vector4f * (  )  const

template<class Real>
Wml::Vector4< Real >::operator DigitalSpaces::out_Vector4f * (  ) 

template<class Real>
Vector4& Wml::Vector4< Real >::operator= ( const Vector4< Real > &  rkV  ) 

template<class Real>
Vector4& Wml::Vector4< Real >::operator= ( const Vector< 4, Real > &  rkV  ) 


Field Documentation

template<class Real>
const Vector4 Wml::Vector4< Real >::ZERO [static]

template<class Real>
const Vector4 Wml::Vector4< Real >::UNIT_X [static]

template<class Real>
const Vector4 Wml::Vector4< Real >::UNIT_Y [static]

template<class Real>
const Vector4 Wml::Vector4< Real >::UNIT_Z [static]

template<class Real>
const Vector4 Wml::Vector4< Real >::UNIT_W [static]


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

Generated on Sun Aug 31 17:46:33 2008 for Digital Spaces by  doxygen 1.5.6