TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
sVec4< T > Struct Template Reference
Inheritance diagram for sVec4< T >:
sQuat< T > sRect< T >

Public Member Functions

void Set (T aX, T aY=0, T aZ=0, T aW=0)
 
void Set (const T *apV)
 
tSize size () const
 
T * ptr ()
 
const T * ptr () const
 
T & operator[] (int idx)
 
const T & operator[] (int idx) const
 
T & Left ()
 
const T & Left () const
 
T & Top ()
 
const T & Top () const
 
T & Right ()
 
const T & Right () const
 
T & Bottom ()
 
const T & Bottom () const
 
T & x1 ()
 
const T & x1 () const
 
T & y1 ()
 
const T & y1 () const
 
T & x2 ()
 
const T & x2 () const
 
T & y2 ()
 
const T & y2 () const
 
T & A ()
 
const T & A () const
 
T & B ()
 
const T & B () const
 
T & C ()
 
const T & C () const
 
T & D ()
 
const T & D () const
 
void SetNormal (const sVec3< T > &v)
 
sVec3< T > GetNormal () const
 
void SetDist (T v)
 
GetDist () const
 
void SetPosition (const sVec3< T > &v)
 
sVec3< T > GetPosition () const
 
void SetRadius (T v)
 
GetRadius () const
 
T & ew ()
 
const T & ew () const
 
T & ex ()
 
const T & ex () const
 
T & ey ()
 
const T & ey () const
 
T & ez ()
 
const T & ez () const
 
T & _11 ()
 
const T & _11 () const
 
T & _12 ()
 
const T & _12 () const
 
T & _21 ()
 
const T & _21 () const
 
T & _22 ()
 
const T & _22 () const
 
sVec4< T > operator[] (const cchar *idx) const
 
bool operator< (const sVec4< T > &aR) const
 
bool operator<= (const sVec4< T > &aR) const
 
bool operator> (const sVec4< T > &aR) const
 
bool operator>= (const sVec4< T > &aR) const
 
bool operator== (const sVec4< T > &aR) const
 
bool operator!= (const sVec4< T > &aR) const
 
sVec4 operator+ () const
 
sVec4 operator- () const
 
sVec4operator+= (const sVec4< T > &v)
 
sVec4operator+= (T s)
 
sVec4 operator+ (const sVec4< T > &v) const
 
sVec4 operator+ (T s) const
 
sVec4operator-= (const sVec4< T > &v)
 
sVec4operator-= (T s)
 
sVec4 operator- (const sVec4< T > &v) const
 
sVec4 operator- (T s) const
 
sVec4operator*= (const sVec4< T > &v)
 
sVec4operator*= (T s)
 
sVec4 operator* (const sVec4< T > &v) const
 
sVec4 operator* (T s) const
 
sVec4operator/= (const sVec4< T > &v)
 
sVec4operator/= (T s)
 
sVec4 operator/ (const sVec4< T > &v) const
 
sVec4 operator/ (T s) const
 

Static Public Member Functions

static const sVec4Zero ()
 
static const sVec4One ()
 
static const sVec4Epsilon ()
 
static const sVec4XAxis ()
 
static const sVec4YAxis ()
 
static const sVec4ZAxis ()
 
static const sVec4WAxis ()
 
static const sVec4OpXAxis ()
 
static const sVec4OpYAxis ()
 
static const sVec4OpZAxis ()
 
static const sVec4OpWAxis ()
 
static const sVec4Black ()
 
static const sVec4White ()
 
static const sVec4Red ()
 
static const sVec4Green ()
 
static const sVec4Blue ()
 
static const sVec4Yellow ()
 
static const sVec4Pink ()
 
static const sVec4Aqua ()
 
static const sVec4Orange ()
 
static const sVec4Gray ()
 
static const sVec4QuatIdentity ()
 

Public Attributes

x
 
y
 
z
 
w
 

Member Function Documentation

void Set ( aX,
aY = 0,
aZ = 0,
aW = 0 
)
void Set ( const T *  apV)
tSize size ( ) const
T* ptr ( )
const T* ptr ( ) const
T& operator[] ( int  idx)
const T& operator[] ( int  idx) const
T& Left ( )
const T& Left ( ) const
T& Top ( )
const T& Top ( ) const
T& Right ( )
const T& Right ( ) const
T& Bottom ( )
const T& Bottom ( ) const
T& x1 ( )
const T& x1 ( ) const
T& y1 ( )
const T& y1 ( ) const
T& x2 ( )
const T& x2 ( ) const
T& y2 ( )
const T& y2 ( ) const
T& A ( )
const T& A ( ) const
T& B ( )
const T& B ( ) const
T& C ( )
const T& C ( ) const
T& D ( )
const T& D ( ) const
void SetNormal ( const sVec3< T > &  v)
sVec3<T> GetNormal ( ) const
void SetDist ( v)
T GetDist ( ) const
void SetPosition ( const sVec3< T > &  v)
sVec3<T> GetPosition ( ) const
void SetRadius ( v)
T GetRadius ( ) const
T& ew ( )
const T& ew ( ) const
T& ex ( )
const T& ex ( ) const
T& ey ( )
const T& ey ( ) const
T& ez ( )
const T& ez ( ) const
T& _11 ( )
const T& _11 ( ) const
T& _12 ( )
const T& _12 ( ) const
T& _21 ( )
const T& _21 ( ) const
T& _22 ( )
const T& _22 ( ) const
bool operator< ( const sVec4< T > &  aR) const
bool operator<= ( const sVec4< T > &  aR) const
bool operator> ( const sVec4< T > &  aR) const
bool operator>= ( const sVec4< T > &  aR) const
bool operator== ( const sVec4< T > &  aR) const
bool operator!= ( const sVec4< T > &  aR) const
sVec4 operator+ ( ) const
sVec4 operator- ( ) const
sVec4& operator+= ( const sVec4< T > &  v)
sVec4& operator+= ( s)
sVec4 operator+ ( const sVec4< T > &  v) const
sVec4 operator+ ( s) const
sVec4& operator-= ( const sVec4< T > &  v)
sVec4& operator-= ( s)
sVec4 operator- ( const sVec4< T > &  v) const
sVec4 operator- ( s) const
sVec4& operator*= ( const sVec4< T > &  v)
sVec4& operator*= ( s)
sVec4 operator* ( const sVec4< T > &  v) const
sVec4 operator* ( s) const
sVec4& operator/= ( const sVec4< T > &  v)
sVec4& operator/= ( s)
sVec4 operator/ ( const sVec4< T > &  v) const
sVec4 operator/ ( s) const
static const sVec4& Zero ( )
static
static const sVec4& One ( )
static
static const sVec4& Epsilon ( )
static
static const sVec4& XAxis ( )
static
static const sVec4& YAxis ( )
static
static const sVec4& ZAxis ( )
static
static const sVec4& WAxis ( )
static
static const sVec4& OpXAxis ( )
static
static const sVec4& OpYAxis ( )
static
static const sVec4& OpZAxis ( )
static
static const sVec4& OpWAxis ( )
static
static const sVec4& Black ( )
static
static const sVec4& White ( )
static
static const sVec4& Red ( )
static
static const sVec4& Green ( )
static
static const sVec4& Blue ( )
static
static const sVec4& Yellow ( )
static
static const sVec4& Pink ( )
static
static const sVec4& Aqua ( )
static
static const sVec4& Orange ( )
static
static const sVec4& Gray ( )
static
static const sVec4& QuatIdentity ( )
static

Member Data Documentation

T x
T y
T z
T w