Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

amire::common::TVector4D< type > Class Template Reference

List of all members.

Public Member Functions

 TVector4D ()
 TVector4D (const double *v)
 TVector4D (const float *v)
 TVector4D (type px, type py, type pz, type pw)
 TVector4D (const TVector4D< double > &v)
 TVector4D (const TVector4D< float > &v)
TVector4D< type > & operator= (const TVector4D< float > &v)
TVector4D< type > & operator= (const TVector4D< double > &v)
type operator[] (int index)
const type * data () const
std::ostream & print (std::ostream &out) const
type length () const
type squareLength () const
TVector4D< type > & scale (type value)
TVector4D< type > & normalize ()
TVector4D< type > & set (double *v)
TVector4D< type > & set (float *v)
TVector4D< type > & set (type x, type y, type z, type w)
TVector4D< type > & set (const TVector4D< type > &v)
type dot (const TVector4D< type > &v) const
TVector4D< type > & mult (const TVector4D< type > &v)
TVector4D< type > & mult (const TVector4D< type > &first, const TVector4D< type > &second)
TVector4D< type > & cross (const TVector4D< type > &second, const TVector4D< type > &third)
TVector4D< type > & cross (const TVector4D< type > &first, const TVector4D< type > &second, const TVector4D< type > &third)
TVector4D< type > & add (const TVector4D< type > &v)
TVector4D< type > & add (const TVector4D< type > &first, const TVector4D< type > &second)
TVector4D< type > & sub (const TVector4D< type > &v)
TVector4D< type > & sub (const TVector4D< type > &first, const TVector4D< type > &second)
type dot (type x, type y, type z, type w) const
TVector4D< type > & mult (type x, type y, type z, type w)
TVector4D< type > & add (type x, type y, type z, type w)
TVector4D< type > & sub (type x, type y, type z, type w)

Public Attributes

type x
type y
type z
type w

Friends

std::ostream & operator<< (std::ostream &out, const TVector3D< type > &v)

template<class type>
class amire::common::TVector4D< type >


Constructor & Destructor Documentation

template<class type>
amire::common::TVector4D< type >::TVector4D  )  [inline]
 

template<class type>
amire::common::TVector4D< type >::TVector4D const double *  v  )  [inline]
 

template<class type>
amire::common::TVector4D< type >::TVector4D const float *  v  )  [inline]
 

template<class type>
amire::common::TVector4D< type >::TVector4D type  px,
type  py,
type  pz,
type  pw
[inline]
 

template<class type>
amire::common::TVector4D< type >::TVector4D const TVector4D< double > &  v  )  [inline]
 

template<class type>
amire::common::TVector4D< type >::TVector4D const TVector4D< float > &  v  )  [inline]
 


Member Function Documentation

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::add type  x,
type  y,
type  z,
type  w
[inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::add const TVector4D< type > &  first,
const TVector4D< type > &  second
[inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::add const TVector4D< type > &  v  )  [inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::cross const TVector4D< type > &  first,
const TVector4D< type > &  second,
const TVector4D< type > &  third
[inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::cross const TVector4D< type > &  second,
const TVector4D< type > &  third
[inline]
 

template<class type>
const type* amire::common::TVector4D< type >::data  )  const [inline]
 

template<class type>
type amire::common::TVector4D< type >::dot type  x,
type  y,
type  z,
type  w
const [inline]
 

template<class type>
type amire::common::TVector4D< type >::dot const TVector4D< type > &  v  )  const [inline]
 

template<class type>
type amire::common::TVector4D< type >::length  )  const [inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::mult type  x,
type  y,
type  z,
type  w
[inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::mult const TVector4D< type > &  first,
const TVector4D< type > &  second
[inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::mult const TVector4D< type > &  v  )  [inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::normalize  )  [inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::operator= const TVector4D< double > &  v  )  [inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::operator= const TVector4D< float > &  v  )  [inline]
 

template<class type>
type amire::common::TVector4D< type >::operator[] int  index  )  [inline]
 

template<class type>
std::ostream& amire::common::TVector4D< type >::print std::ostream &  out  )  const [inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::scale type  value  )  [inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::set const TVector4D< type > &  v  )  [inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::set type  x,
type  y,
type  z,
type  w
[inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::set float *  v  )  [inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::set double *  v  )  [inline]
 

template<class type>
type amire::common::TVector4D< type >::squareLength  )  const [inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::sub type  x,
type  y,
type  z,
type  w
[inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::sub const TVector4D< type > &  first,
const TVector4D< type > &  second
[inline]
 

template<class type>
TVector4D<type>& amire::common::TVector4D< type >::sub const TVector4D< type > &  v  )  [inline]
 


Friends And Related Function Documentation

template<class type>
std::ostream& operator<< std::ostream &  out,
const TVector3D< type > &  v
[friend]
 


Member Data Documentation

template<class type>
type amire::common::TVector4D< type >::w
 

template<class type>
type amire::common::TVector4D< type >::x
 

template<class type>
type amire::common::TVector4D< type >::y
 

template<class type>
type amire::common::TVector4D< type >::z
 


The documentation for this class was generated from the following file:
Generated on Tue May 20 17:23:56 2003 for AMIRE-Framework by doxygen1.3