Wm4::Vector3< Real > Class Template Reference

#include <Wm4Vector3.h>

Collaboration diagram for Wm4::Vector3< Real >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Vector3 ()
 Vector3 (Real fX, Real fY, Real fZ)
 Vector3 (const Real *afTuple)
 Vector3 (const Vector3 &rkV)
 operator const Real * () const
 operator Real * ()
Real operator[] (int i) const
Real & operator[] (int i)
Real X () const
Real & X ()
Real Y () const
Real & Y ()
Real Z () const
Real & Z ()
Vector3operator= (const Vector3 &rkV)
bool operator== (const Vector3 &rkV) const
bool operator!= (const Vector3 &rkV) const
bool operator< (const Vector3 &rkV) const
bool operator<= (const Vector3 &rkV) const
bool operator> (const Vector3 &rkV) const
bool operator>= (const Vector3 &rkV) const
Vector3 operator+ (const Vector3 &rkV) const
Vector3 operator- (const Vector3 &rkV) const
Vector3 operator * (Real fScalar) const
Vector3 operator/ (Real fScalar) const
Vector3 operator- () const
Vector3operator+= (const Vector3 &rkV)
Vector3operator-= (const Vector3 &rkV)
Vector3operator *= (Real fScalar)
Vector3operator/= (Real fScalar)
Real Length () const
Real SquaredLength () const
Real Dot (const Vector3 &rkV) const
Real Normalize ()
Vector3 Cross (const Vector3 &rkV) const
Vector3 UnitCross (const Vector3 &rkV) const
void GetBarycentrics (const Vector3 &rkV0, const Vector3 &rkV1, const Vector3 &rkV2, const Vector3 &rkV3, Real afBary[4]) const

Static Public Member Functions

static void Orthonormalize (Vector3 &rkU, Vector3 &rkV, Vector3 &rkW)
static void Orthonormalize (Vector3 *akV)
static void GenerateOrthonormalBasis (Vector3 &rkU, Vector3 &rkV, Vector3 &rkW)
static void GenerateComplementBasis (Vector3 &rkU, Vector3 &rkV, const Vector3 &rkW)
static void ComputeExtremes (int iVQuantity, const Vector3 *akPoint, Vector3 &rkMin, Vector3 &rkMax)

Static Public Attributes

static WM4_FOUNDATION_ITEM
const Vector3 
ZERO
static WM4_FOUNDATION_ITEM
const Vector3 
UNIT_X
static WM4_FOUNDATION_ITEM
const Vector3 
UNIT_Y
static WM4_FOUNDATION_ITEM
const Vector3 
UNIT_Z
static WM4_FOUNDATION_ITEM
const Vector3 
ONE

template<class Real>
class Wm4::Vector3< Real >


Constructor & Destructor Documentation

template<class Real>
Wm4::Vector3< Real >::Vector3 (  ) 

template<class Real>
Wm4::Vector3< Real >::Vector3 ( Real  fX,
Real  fY,
Real  fZ 
)

template<class Real>
Wm4::Vector3< Real >::Vector3 ( const Real *  afTuple  ) 

template<class Real>
Wm4::Vector3< Real >::Vector3 ( const Vector3< Real > &  rkV  ) 


Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

template<class Real>
bool Wm4::Vector3< Real >::operator== ( const Vector3< Real > &  rkV  )  const

template<class Real>
bool Wm4::Vector3< Real >::operator!= ( const Vector3< Real > &  rkV  )  const

template<class Real>
bool Wm4::Vector3< Real >::operator< ( const Vector3< Real > &  rkV  )  const

template<class Real>
bool Wm4::Vector3< Real >::operator<= ( const Vector3< Real > &  rkV  )  const

template<class Real>
bool Wm4::Vector3< Real >::operator> ( const Vector3< Real > &  rkV  )  const

template<class Real>
bool Wm4::Vector3< Real >::operator>= ( const Vector3< Real > &  rkV  )  const

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

template<class Real>
void Wm4::Vector3< Real >::GetBarycentrics ( const Vector3< Real > &  rkV0,
const Vector3< Real > &  rkV1,
const Vector3< Real > &  rkV2,
const Vector3< Real > &  rkV3,
Real  afBary[4] 
) const

template<class Real>
void Wm4::Vector3< Real >::Orthonormalize ( Vector3< Real > &  rkU,
Vector3< Real > &  rkV,
Vector3< Real > &  rkW 
) [static]

template<class Real>
void Wm4::Vector3< Real >::Orthonormalize ( Vector3< Real > *  akV  )  [static]

template<class Real>
void Wm4::Vector3< Real >::GenerateOrthonormalBasis ( Vector3< Real > &  rkU,
Vector3< Real > &  rkV,
Vector3< Real > &  rkW 
) [static]

template<class Real>
void Wm4::Vector3< Real >::GenerateComplementBasis ( Vector3< Real > &  rkU,
Vector3< Real > &  rkV,
const Vector3< Real > &  rkW 
) [static]

template<class Real>
void Wm4::Vector3< Real >::ComputeExtremes ( int  iVQuantity,
const Vector3< Real > *  akPoint,
Vector3< Real > &  rkMin,
Vector3< Real > &  rkMax 
) [static]


Member Data Documentation

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

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

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

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

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


The documentation for this class was generated from the following file:
Generated on Fri Feb 13 13:58:47 2009 for meshmorph by  doxygen 1.5.1