Wm4::Vector4< Real > Class Template Reference

#include <Wm4Vector4.h>

List of all members.

Public Member Functions

Real Dot (const Vector4 &rkV) const
Real Length () const
Real Normalize ()
 operator const Real * () const
 operator Real * ()
bool operator!= (const Vector4 &rkV) const
Vector4 operator* (Real fScalar) const
Vector4operator*= (Real fScalar)
Vector4 operator+ (const Vector4 &rkV) const
Vector4operator+= (const Vector4 &rkV)
Vector4 operator- () const
Vector4 operator- (const Vector4 &rkV) const
Vector4operator-= (const Vector4 &rkV)
Vector4 operator/ (Real fScalar) const
Vector4operator/= (Real fScalar)
bool operator< (const Vector4 &rkV) const
bool operator<= (const Vector4 &rkV) const
Vector4operator= (const Vector4 &rkV)
bool operator== (const Vector4 &rkV) const
bool operator> (const Vector4 &rkV) const
bool operator>= (const Vector4 &rkV) const
Real & operator[] (int i)
Real operator[] (int i) const
Real SquaredLength () const
 Vector4 (const Vector4 &rkV)
 Vector4 (const Real *afTuple)
 Vector4 (Real fX, Real fY, Real fZ, Real fW)
 Vector4 ()
Real & W ()
Real W () const
Real & X ()
Real X () const
Real & Y ()
Real Y () const
Real & Z ()
Real Z () const

Static Public Attributes

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

Detailed Description

template<class Real>
class Wm4::Vector4< Real >

Definition at line 27 of file Wm4Vector4.h.


Constructor & Destructor Documentation

template<class Real >
Wm4::Vector4< Real >::Vector4 (  )  [inline]
template<class Real >
Wm4::Vector4< Real >::Vector4 ( Real  fX,
Real  fY,
Real  fZ,
Real  fW 
) [inline]

Definition at line 27 of file Wm4Vector4.inl.

template<class Real >
Wm4::Vector4< Real >::Vector4 ( const Real *  afTuple  )  [inline]

Definition at line 36 of file Wm4Vector4.inl.

template<class Real >
Wm4::Vector4< Real >::Vector4 ( const Vector4< Real > &  rkV  )  [inline]

Definition at line 45 of file Wm4Vector4.inl.


Member Function Documentation

template<class Real >
Real Wm4::Vector4< Real >::Dot ( const Vector4< Real > &  rkV  )  const [inline]

Definition at line 324 of file Wm4Vector4.inl.

Referenced by Wm4::Matrix4< Real >::QForm().

template<class Real >
Real Wm4::Vector4< Real >::Length ( void   )  const [inline]

Definition at line 304 of file Wm4Vector4.inl.

Referenced by Wm4::Vector4< Real >::Normalize().

template<class Real >
Real Wm4::Vector4< Real >::Normalize ( void   )  [inline]

Definition at line 334 of file Wm4Vector4.inl.

References Wm4::Vector4< Real >::Length().

template<class Real >
Wm4::Vector4< Real >::operator const Real * (  )  const [inline]

Definition at line 54 of file Wm4Vector4.inl.

template<class Real >
Wm4::Vector4< Real >::operator Real * (  )  [inline]

Definition at line 60 of file Wm4Vector4.inl.

template<class Real >
bool Wm4::Vector4< Real >::operator!= ( const Vector4< Real > &  rkV  )  const [inline]

Definition at line 148 of file Wm4Vector4.inl.

template<class Real >
Vector4< Real > Wm4::Vector4< Real >::operator* ( Real  fScalar  )  const [inline]

Definition at line 198 of file Wm4Vector4.inl.

References Wm4::Vector4< Real >::Vector4().

template<class Real >
Vector4< Real > & Wm4::Vector4< Real >::operator*= ( Real  fScalar  )  [inline]

Definition at line 272 of file Wm4Vector4.inl.

template<class Real >
Vector4< Real > Wm4::Vector4< Real >::operator+ ( const Vector4< Real > &  rkV  )  const [inline]

Definition at line 178 of file Wm4Vector4.inl.

References Wm4::Vector4< Real >::Vector4().

template<class Real >
Vector4< Real > & Wm4::Vector4< Real >::operator+= ( const Vector4< Real > &  rkV  )  [inline]

Definition at line 252 of file Wm4Vector4.inl.

template<class Real >
Vector4< Real > Wm4::Vector4< Real >::operator- ( void   )  const [inline]

Definition at line 232 of file Wm4Vector4.inl.

References Wm4::Vector4< Real >::Vector4().

template<class Real >
Vector4< Real > Wm4::Vector4< Real >::operator- ( const Vector4< Real > &  rkV  )  const [inline]

Definition at line 188 of file Wm4Vector4.inl.

References Wm4::Vector4< Real >::Vector4().

template<class Real >
Vector4< Real > & Wm4::Vector4< Real >::operator-= ( const Vector4< Real > &  rkV  )  [inline]

Definition at line 262 of file Wm4Vector4.inl.

template<class Real >
Vector4< Real > Wm4::Vector4< Real >::operator/ ( Real  fScalar  )  const [inline]

Definition at line 208 of file Wm4Vector4.inl.

template<class Real >
Vector4< Real > & Wm4::Vector4< Real >::operator/= ( Real  fScalar  )  [inline]

Definition at line 282 of file Wm4Vector4.inl.

template<class Real >
bool Wm4::Vector4< Real >::operator< ( const Vector4< Real > &  rkV  )  const [inline]

Definition at line 154 of file Wm4Vector4.inl.

template<class Real >
bool Wm4::Vector4< Real >::operator<= ( const Vector4< Real > &  rkV  )  const [inline]

Definition at line 160 of file Wm4Vector4.inl.

template<class Real >
Vector4< Real > & Wm4::Vector4< Real >::operator= ( const Vector4< Real > &  rkV  )  [inline]

Definition at line 126 of file Wm4Vector4.inl.

template<class Real >
bool Wm4::Vector4< Real >::operator== ( const Vector4< Real > &  rkV  )  const [inline]

Definition at line 142 of file Wm4Vector4.inl.

template<class Real >
bool Wm4::Vector4< Real >::operator> ( const Vector4< Real > &  rkV  )  const [inline]

Definition at line 166 of file Wm4Vector4.inl.

template<class Real >
bool Wm4::Vector4< Real >::operator>= ( const Vector4< Real > &  rkV  )  const [inline]

Definition at line 172 of file Wm4Vector4.inl.

template<class Real >
Real & Wm4::Vector4< Real >::operator[] ( int  i  )  [inline]

Definition at line 72 of file Wm4Vector4.inl.

template<class Real >
Real Wm4::Vector4< Real >::operator[] ( int  i  )  const [inline]

Definition at line 66 of file Wm4Vector4.inl.

template<class Real >
Real Wm4::Vector4< Real >::SquaredLength (  )  const [inline]

Definition at line 314 of file Wm4Vector4.inl.

template<class Real >
Real & Wm4::Vector4< Real >::W (  )  [inline]

Definition at line 120 of file Wm4Vector4.inl.

template<class Real >
Real Wm4::Vector4< Real >::W (  )  const [inline]

Definition at line 114 of file Wm4Vector4.inl.

template<class Real >
Real & Wm4::Vector4< Real >::X (  )  [inline]

Definition at line 84 of file Wm4Vector4.inl.

template<class Real >
Real Wm4::Vector4< Real >::X (  )  const [inline]

Definition at line 78 of file Wm4Vector4.inl.

template<class Real >
Real & Wm4::Vector4< Real >::Y (  )  [inline]

Definition at line 96 of file Wm4Vector4.inl.

template<class Real >
Real Wm4::Vector4< Real >::Y (  )  const [inline]

Definition at line 90 of file Wm4Vector4.inl.

template<class Real >
Real & Wm4::Vector4< Real >::Z (  )  [inline]

Definition at line 108 of file Wm4Vector4.inl.

template<class Real >
Real Wm4::Vector4< Real >::Z (  )  const [inline]

Definition at line 102 of file Wm4Vector4.inl.


Member Data Documentation

template<class Real>
const Vector4 Wm4::Vector4< Real >::ONE [static]

Definition at line 86 of file Wm4Vector4.h.

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

Definition at line 85 of file Wm4Vector4.h.

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

Definition at line 82 of file Wm4Vector4.h.

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

Definition at line 83 of file Wm4Vector4.h.

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

Definition at line 84 of file Wm4Vector4.h.

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

Definition at line 81 of file Wm4Vector4.h.


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

Generated on Wed Nov 23 19:02:50 2011 for FreeCAD by  doxygen 1.6.1