Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Friends | List of all members
GMathVec4< T > Class Template Reference
Inheritance diagram for GMathVec4< T >:
CoreBaseType

Public Member Functions

 GMathVec4 (const T &v=GMath< T >::zero())
 
 GMathVec4 (const T &x, const T &y, const T &z, const T &w)
 
template<class U >
 GMathVec4 (const GMathVec4< U > &v)
 
template<class U , class V >
 GMathVec4 (const GMathVec3< U > &u, const V &v)
 
void nullify ()
 
GMathVec4 get_copy ()
 
void copy_from (const GMathVec4 &u)
 
void copy_to (GMathVec4 &u) const
 
const T & get_value (const unsigned int &index) const
 
void set_value (const unsigned int &index, const T &value)
 
const T & get_x () const
 
const T & get_y () const
 
const T & get_z () const
 
const T & get_w () const
 
void set_x (const T &x)
 
void set_y (const T &y)
 
void set_z (const T &z)
 
void set_w (const T &w)
 
const T & get_red () const
 
const T & get_green () const
 
const T & get_blue () const
 
const T & get_alpha () const
 
void set_red (const T &red)
 
void set_green (const T &green)
 
void set_blue (const T &blue)
 
void set_alpha (const T &alpha)
 
get_sqr_norm () const
 
get_sqr_length () const
 
get_norm () const
 
get_length () const
 
void sub (const GMathVec4 &u)
 
const T * get_data () const
 
T * get_data ()
 
const T & operator[] (const unsigned int &index) const
 
T & operator[] (const unsigned int &index)
 
bool is_null (const T &epsilon=GMath< T >::epsilon()) const
 
bool is_finite () const
 
GMathVec4 operator- () const
 
template<class U >
GMathVec4operator= (const U &s)
 
template<class U >
GMathVec4operator+= (const U &s)
 
template<class U >
GMathVec4operator-= (const U &s)
 
template<class U >
GMathVec4operator*= (const U &s)
 
template<class U >
GMathVec4operator/= (const U &s)
 
template<class U >
GMathVec4operator= (const GMathVec3< U > &v)
 
template<class U >
GMathVec4operator+= (const GMathVec3< U > &v)
 
template<class U >
GMathVec4operator-= (const GMathVec3< U > &v)
 
template<class U >
GMathVec4operator*= (const GMathVec3< U > &v)
 
template<class U >
GMathVec4operator/= (const GMathVec3< U > &v)
 
template<class U >
GMathVec4operator= (const GMathVec4< U > &v)
 
template<class U >
GMathVec4operator+= (const GMathVec4< U > &v)
 
template<class U >
GMathVec4operator-= (const GMathVec4< U > &v)
 
template<class U >
GMathVec4operator*= (const GMathVec4< U > &v)
 
template<class U >
GMathVec4operator/= (const GMathVec4< U > &v)
 
template<class U >
bool operator== (const GMathVec4< U > &v) const
 
template<class U >
bool operator!= (const GMathVec4< U > &v) const
 
template<class U , class V >
void min (const GMathVec4< U > &u, const GMathVec4< V > &v)
 
template<class U >
void min (const GMathVec4< U > &u)
 
template<class U , class V >
void max (const GMathVec4< U > &u, const GMathVec4< V > &v)
 
template<class U >
void max (const GMathVec4< U > &u)
 
const CoreClassInfoget_class_info () const
 
- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 

Static Public Member Functions

static void get_sqr_norm (T &norm, const GMathVec4 &v)
 
static void get_sqr_length (T &norm, const GMathVec4 &v)
 
static void get_norm (T &length, const GMathVec4 &v)
 
static void get_length (T &length, const GMathVec4 &v)
 
static void sub (GMathVec4 &n, const GMathVec4 &u, const GMathVec4 &v)
 
static const CoreClassInfoclass_info ()
 
- Static Public Member Functions inherited from CoreBaseType
static const CoreClassInfoclass_info ()
 Get the type descriptor of this instance.
 

Friends

CoreLogStreamoperator<< (CoreLogStream &os, const GMathVec4 &v)