Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

RayGina::CORE::RVec4< T > Class Template Reference

#include <RVec4.hxx>

List of all members.

Public Types

enum  AXIS { AXIS_X = 0, AXIS_Y, AXIS_Z, AXIS_W }

Public Member Functions

 RVec4 ()
 RVec4 (T x, T y, T z, T w)
 RVec4 (const RVec3< T > &vec3, T w)
template<typename S>
 RVec4 (const RVec4< S > &other)
void set (T x, T y, T z, T w)
T & at (unsigned int i)
const T & at (unsigned int i) const
T & operator[] (unsigned int i)
const T & operator[] (unsigned int i) const
T & x ()
const T & x () const
T & y ()
const T & y () const
T & z ()
const T & z () const
T & w ()
const T & w () const
RVec4reverse ()
RVec4zero ()
length ()
RVec4normalize ()
AXIS minDim () const
AXIS maxDim () const
AXIS absMinDim () const
AXIS absMaxDim () const
void operator+= (const RVec4 &b)
void operator-= (const RVec4 &b)
void operator *= (T scalar)
bool operator== (const RVec4 &other)
bool operator!= (const RVec4 &other)
bool equal (const RVec4 &vec, T delta)

Static Public Member Functions

RVec3< T > cross (const RVec4 &a, const RVec4 &b)
dot (const RVec4 &a, const RVec4 &b)
spat (const RVec4 &a, const RVec4 &b, const RVec4 &c)
RVec3< T > projection (const RVec4 &a, const RVec4 &b)

Private Member Functions

RVec3< T > toRVec3 ()

Private Attributes

m_data [4]

template<typename T>
class RayGina::CORE::RVec4< T >


Member Enumeration Documentation

template<typename T>
enum RayGina::CORE::RVec4::AXIS
 

Enumeration values:
AXIS_X 
AXIS_Y 
AXIS_Z 
AXIS_W 

Definition at line 44 of file RVec4.hxx.


Constructor & Destructor Documentation

template<typename T>
RayGina::CORE::RVec4< T >::RVec4  ) 
 

Definition at line 8 of file RVec4.inl.

template<typename T>
RayGina::CORE::RVec4< T >::RVec4 x,
y,
z,
w
 

Definition at line 15 of file RVec4.inl.

template<typename T>
RayGina::CORE::RVec4< T >::RVec4 const RVec3< T > &  vec3,
w
 

template<typename T>
template<typename S>
RayGina::CORE::RVec4< T >::RVec4 const RVec4< S > &  other  )  [inline]
 

Copy-ctor is default

Definition at line 23 of file RVec4.inl.


Member Function Documentation

template<typename T>
RayGina::CORE::RVec4< T >::AXIS RayGina::CORE::RVec4< T >::absMaxDim  )  const [inline]
 

Definition at line 278 of file RVec4.inl.

template<typename T>
RayGina::CORE::RVec4< T >::AXIS RayGina::CORE::RVec4< T >::absMinDim  )  const [inline]
 

Definition at line 260 of file RVec4.inl.

template<typename T>
const T & RayGina::CORE::RVec4< T >::at unsigned int  i  )  const [inline]
 

Definition at line 50 of file RVec4.inl.

template<typename T>
T & RayGina::CORE::RVec4< T >::at unsigned int  i  )  [inline]
 

Definition at line 42 of file RVec4.inl.

template<typename T>
RayGina::CORE::RVec3< T > RayGina::CORE::RVec4< T >::cross const RVec4< T > &  a,
const RVec4< T > &  b
[inline, static]
 

Definition at line 186 of file RVec4.inl.

template<typename T>
T RayGina::CORE::RVec4< T >::dot const RVec4< T > &  a,
const RVec4< T > &  b
[inline, static]
 

Definition at line 208 of file RVec4.inl.

template<typename T>
bool RayGina::CORE::RVec4< T >::equal const RVec4< T > &  vec,
delta
[inline]
 

Definition at line 346 of file RVec4.inl.

template<typename T>
T RayGina::CORE::RVec4< T >::length  )  [inline]
 

Definition at line 160 of file RVec4.inl.

template<typename T>
RayGina::CORE::RVec4< T >::AXIS RayGina::CORE::RVec4< T >::maxDim  )  const [inline]
 

Definition at line 244 of file RVec4.inl.

template<typename T>
RayGina::CORE::RVec4< T >::AXIS RayGina::CORE::RVec4< T >::minDim  )  const [inline]
 

Definition at line 228 of file RVec4.inl.

template<typename T>
RayGina::CORE::RVec4< T > & RayGina::CORE::RVec4< T >::normalize  )  [inline]
 

Definition at line 168 of file RVec4.inl.

template<typename T>
void RayGina::CORE::RVec4< T >::operator *= scalar  )  [inline]
 

Definition at line 320 of file RVec4.inl.

template<typename T>
bool RayGina::CORE::RVec4< T >::operator!= const RVec4< T > &  other  )  [inline]
 

Definition at line 338 of file RVec4.inl.

template<typename T>
void RayGina::CORE::RVec4< T >::operator+= const RVec4< T > &  b  )  [inline]
 

Definition at line 298 of file RVec4.inl.

template<typename T>
void RayGina::CORE::RVec4< T >::operator-= const RVec4< T > &  b  )  [inline]
 

Definition at line 309 of file RVec4.inl.

template<typename T>
bool RayGina::CORE::RVec4< T >::operator== const RVec4< T > &  other  )  [inline]
 

Definition at line 331 of file RVec4.inl.

template<typename T>
const T & RayGina::CORE::RVec4< T >::operator[] unsigned int  i  )  const [inline]
 

Definition at line 66 of file RVec4.inl.

template<typename T>
T & RayGina::CORE::RVec4< T >::operator[] unsigned int  i  )  [inline]
 

Definition at line 58 of file RVec4.inl.

template<typename T>
RayGina::CORE::RVec3< T > RayGina::CORE::RVec4< T >::projection const RVec4< T > &  a,
const RVec4< T > &  b
[inline, static]
 

Definition at line 197 of file RVec4.inl.

template<typename T>
RayGina::CORE::RVec4< T > & RayGina::CORE::RVec4< T >::reverse  )  [inline]
 

Definition at line 138 of file RVec4.inl.

template<typename T>
void RayGina::CORE::RVec4< T >::set x,
y,
z,
w
[inline]
 

Definition at line 31 of file RVec4.inl.

template<typename T>
T RayGina::CORE::RVec4< T >::spat const RVec4< T > &  a,
const RVec4< T > &  b,
const RVec4< T > &  c
[inline, static]
 

Definition at line 216 of file RVec4.inl.

template<typename T>
RayGina::CORE::RVec3< T > RayGina::CORE::RVec4< T >::toRVec3  )  [private]
 

Definition at line 359 of file RVec4.inl.

template<typename T>
const T & RayGina::CORE::RVec4< T >::w  )  const [inline]
 

Definition at line 130 of file RVec4.inl.

template<typename T>
T & RayGina::CORE::RVec4< T >::w  )  [inline]
 

Definition at line 122 of file RVec4.inl.

template<typename T>
const T & RayGina::CORE::RVec4< T >::x  )  const [inline]
 

Definition at line 82 of file RVec4.inl.

template<typename T>
T & RayGina::CORE::RVec4< T >::x  )  [inline]
 

Definition at line 74 of file RVec4.inl.

template<typename T>
const T & RayGina::CORE::RVec4< T >::y  )  const [inline]
 

Definition at line 98 of file RVec4.inl.

template<typename T>
T & RayGina::CORE::RVec4< T >::y  )  [inline]
 

Definition at line 90 of file RVec4.inl.

template<typename T>
const T & RayGina::CORE::RVec4< T >::z  )  const [inline]
 

Definition at line 114 of file RVec4.inl.

template<typename T>
T & RayGina::CORE::RVec4< T >::z  )  [inline]
 

Definition at line 106 of file RVec4.inl.

template<typename T>
RayGina::CORE::RVec4< T > & RayGina::CORE::RVec4< T >::zero  )  [inline]
 

Definition at line 151 of file RVec4.inl.


Member Data Documentation

template<typename T>
T RayGina::CORE::RVec4< T >::m_data[4] [private]
 

Definition at line 101 of file RVec4.hxx.


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 17:01:10 2007 for rayGina by  doxygen 1.3.9.1