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

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

List of all members.

Public Member Functions

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

Public Attributes

type x
type y
type z

Friends

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

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


Constructor & Destructor Documentation

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

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

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

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

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

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


Member Function Documentation

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

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

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

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

template<class type>
TVector3D<type>& amire::common::TVector3D< type >::cross const TVector3D< type > &  v  )  [inline]
 

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

template<class type>
TVector3D<type>& amire::common::TVector3D< type >::sub const TVector3D< 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::TVector3D< type >::x
 

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

template<class type>
type amire::common::TVector3D< 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