libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moVector4< Real > Class Template Reference

#include <moMathVector4.h>

Inheritance diagram for moVector4< Real >:
moAbstract

Public Member Functions

 moVector4 ()
 
 moVector4 (Real fX, Real fY, Real fZ, Real fW)
 
 moVector4 (const Real *afTuple)
 
 moVector4 (const moVector4 &rkV)
 
 operator const Real * () const
 
 operator Real * ()
 
Real operator[] (int i) const
 
Real & operator[] (int i)
 
Real X () const
 
Real & X ()
 
Real Y () const
 
Real & Y ()
 
Real Z () const
 
Real & Z ()
 
Real W () const
 
Real & W ()
 
moVector4operator= (const moVector4 &rkV)
 
bool operator== (const moVector4 &rkV) const
 
bool operator!= (const moVector4 &rkV) const
 
bool operator< (const moVector4 &rkV) const
 
bool operator<= (const moVector4 &rkV) const
 
bool operator> (const moVector4 &rkV) const
 
bool operator>= (const moVector4 &rkV) const
 
moVector4 operator+ (const moVector4 &rkV) const
 
moVector4 operator- (const moVector4 &rkV) const
 
moVector4 operator* (Real fScalar) const
 
moVector4 operator/ (Real fScalar) const
 
moVector4 operator- () const
 
moVector4operator+= (const moVector4 &rkV)
 
moVector4operator-= (const moVector4 &rkV)
 
moVector4operator*= (Real fScalar)
 
moVector4operator/= (Real fScalar)
 
Real Length () const
 
Real SquaredLength () const
 
Real Dot (const moVector4 &rkV) const
 
Real Normalize ()
 
Real Cosine (const moVector4< Real > &rkV)
 
Real Angle (const moVector4< Real > &rkV)
 
template<>
const moVector4< MOlongUNIT_Y (0, 1, 0, 0)
 
template<>
const moVector4< MOlongUNIT_Z (0, 0, 1, 0)
 
template<>
const moVector4< MOlongUNIT_W (0, 0, 0, 1)
 
template<>
const moVector4< MOlongONE (1, 1, 1, 1)
 
template<>
const moVector4< MOdoubleZERO (0.0, 0.0, 0.0, 0.0)
 
template<>
const moVector4< MOdoubleUNIT_X (1.0, 0.0, 0.0, 0.0)
 
template<>
const moVector4< MOdoubleUNIT_Y (0.0, 1.0, 0.0, 0.0)
 
template<>
const moVector4< MOdoubleUNIT_Z (0.0, 0.0, 1.0, 0.0)
 
template<>
const moVector4< MOdoubleUNIT_W (0.0, 0.0, 0.0, 1.0)
 
template<>
const moVector4< MOdoubleONE (1.0, 1.0, 1.0, 1.0)
 
- Public Member Functions inherited from moAbstract
 moAbstract ()
 
virtual ~moAbstract ()
 
virtual MOboolean Init ()
 Inicializa el objeto. More...
 
virtual MOboolean Finish ()
 Finaliza el objeto, libera recursos. More...
 
MOboolean Initialized ()
 Pregunta si está inicializado. More...
 

Static Public Attributes

static const moVector4 ZERO
 
static const moVector4 UNIT_X
 
static const moVector4 UNIT_Y
 
static const moVector4 UNIT_Z
 
static const moVector4 UNIT_W
 
static const moVector4 ONE
 
- Static Public Attributes inherited from moAbstract
static moDebugMODebug2 = new moDebug()
 Clase de impresión de errores para depuración More...
 
static moTextHeapMODebug = new moTextHeap()
 Lista de textos. More...
 

Additional Inherited Members

- Public Attributes inherited from moAbstract
MOboolean m_bInitialized
 Valor de inicialización More...
 

Detailed Description

template<class Real>
class moVector4< Real >

Definition at line 46 of file moMathVector4.h.

Constructor & Destructor Documentation

template<class Real>
moVector4< Real >::moVector4 ( )
inline

Definition at line 50 of file moMathVector4.h.

template<class Real>
moVector4< Real >::moVector4 ( Real  fX,
Real  fY,
Real  fZ,
Real  fW 
)
inline

Definition at line 51 of file moMathVector4.h.

template<class Real>
moVector4< Real >::moVector4 ( const Real *  afTuple)
inline

Definition at line 57 of file moMathVector4.h.

template<class Real>
moVector4< Real >::moVector4 ( const moVector4< Real > &  rkV)
inline

Definition at line 63 of file moMathVector4.h.

Member Function Documentation

template<class Real>
Real moVector4< Real >::Angle ( const moVector4< Real > &  rkV)
inline

Definition at line 262 of file moMathVector4.h.

template<class Real>
Real moVector4< Real >::Cosine ( const moVector4< Real > &  rkV)
inline

Definition at line 254 of file moMathVector4.h.

template<class Real>
Real moVector4< Real >::Dot ( const moVector4< Real > &  rkV) const
inline

Definition at line 221 of file moMathVector4.h.

template<class Real>
Real moVector4< Real >::Length ( ) const
inline

Definition at line 205 of file moMathVector4.h.

template<class Real>
Real moVector4< Real >::Normalize ( )
inline

Definition at line 229 of file moMathVector4.h.

template<>
const moVector4< MOlong > moVector4< MOlong >::ONE ( ,
,
,
 
)
template<>
const moVector4< MOdouble > moVector4< MOdouble >::ONE ( 1.  0,
1.  0,
1.  0,
1.  0 
)
template<class Real>
moVector4< Real >::operator const Real * ( ) const
inline

Definition at line 71 of file moMathVector4.h.

template<class Real>
moVector4< Real >::operator Real * ( )
inline

Definition at line 72 of file moMathVector4.h.

template<class Real>
bool moVector4< Real >::operator!= ( const moVector4< Real > &  rkV) const
inline

Definition at line 96 of file moMathVector4.h.

template<class Real>
moVector4 moVector4< Real >::operator* ( Real  fScalar) const
inline

Definition at line 119 of file moMathVector4.h.

template<class Real>
moVector4& moVector4< Real >::operator*= ( Real  fScalar)
inline

Definition at line 175 of file moMathVector4.h.

template<class Real>
moVector4 moVector4< Real >::operator+ ( const moVector4< Real > &  rkV) const
inline

Definition at line 103 of file moMathVector4.h.

template<class Real>
moVector4& moVector4< Real >::operator+= ( const moVector4< Real > &  rkV)
inline

Definition at line 159 of file moMathVector4.h.

template<class Real>
moVector4 moVector4< Real >::operator- ( const moVector4< Real > &  rkV) const
inline

Definition at line 111 of file moMathVector4.h.

template<class Real>
moVector4 moVector4< Real >::operator- ( ) const
inline

Definition at line 149 of file moMathVector4.h.

template<class Real>
moVector4& moVector4< Real >::operator-= ( const moVector4< Real > &  rkV)
inline

Definition at line 167 of file moMathVector4.h.

template<class Real>
moVector4 moVector4< Real >::operator/ ( Real  fScalar) const
inline

Definition at line 127 of file moMathVector4.h.

template<class Real>
moVector4& moVector4< Real >::operator/= ( Real  fScalar)
inline

Definition at line 183 of file moMathVector4.h.

template<class Real>
bool moVector4< Real >::operator< ( const moVector4< Real > &  rkV) const
inline

Definition at line 97 of file moMathVector4.h.

template<class Real>
bool moVector4< Real >::operator<= ( const moVector4< Real > &  rkV) const
inline

Definition at line 98 of file moMathVector4.h.

template<class Real>
moVector4& moVector4< Real >::operator= ( const moVector4< Real > &  rkV)
inline

Definition at line 85 of file moMathVector4.h.

template<class Real>
bool moVector4< Real >::operator== ( const moVector4< Real > &  rkV) const
inline

Definition at line 95 of file moMathVector4.h.

template<class Real>
bool moVector4< Real >::operator> ( const moVector4< Real > &  rkV) const
inline

Definition at line 99 of file moMathVector4.h.

template<class Real>
bool moVector4< Real >::operator>= ( const moVector4< Real > &  rkV) const
inline

Definition at line 100 of file moMathVector4.h.

template<class Real>
Real moVector4< Real >::operator[] ( int  i) const
inline

Definition at line 73 of file moMathVector4.h.

template<class Real>
Real& moVector4< Real >::operator[] ( int  i)
inline

Definition at line 74 of file moMathVector4.h.

template<class Real>
Real moVector4< Real >::SquaredLength ( ) const
inline

Definition at line 213 of file moMathVector4.h.

template<>
const moVector4< MOlong > moVector4< MOlong >::UNIT_W ( ,
,
,
 
)
template<>
const moVector4< MOdouble > moVector4< MOdouble >::UNIT_W ( 0.  0,
0.  0,
0.  0,
1.  0 
)
template<>
const moVector4< MOdouble > moVector4< MOdouble >::UNIT_X ( 1.  0,
0.  0,
0.  0,
0.  0 
)
template<>
const moVector4< MOlong > moVector4< MOlong >::UNIT_Y ( ,
,
,
 
)
template<>
const moVector4< MOdouble > moVector4< MOdouble >::UNIT_Y ( 0.  0,
1.  0,
0.  0,
0.  0 
)
template<>
const moVector4< MOlong > moVector4< MOlong >::UNIT_Z ( ,
,
,
 
)
template<>
const moVector4< MOdouble > moVector4< MOdouble >::UNIT_Z ( 0.  0,
0.  0,
1.  0,
0.  0 
)
template<class Real>
Real moVector4< Real >::W ( ) const
inline

Definition at line 81 of file moMathVector4.h.

template<class Real>
Real& moVector4< Real >::W ( )
inline

Definition at line 82 of file moMathVector4.h.

template<class Real>
Real moVector4< Real >::X ( ) const
inline

Definition at line 75 of file moMathVector4.h.

template<class Real>
Real& moVector4< Real >::X ( )
inline

Definition at line 76 of file moMathVector4.h.

template<class Real>
Real moVector4< Real >::Y ( ) const
inline

Definition at line 77 of file moMathVector4.h.

template<class Real>
Real& moVector4< Real >::Y ( )
inline

Definition at line 78 of file moMathVector4.h.

template<class Real>
Real moVector4< Real >::Z ( ) const
inline

Definition at line 79 of file moMathVector4.h.

template<class Real>
Real& moVector4< Real >::Z ( )
inline

Definition at line 80 of file moMathVector4.h.

template<>
const moVector4< MOdouble > moVector4< MOdouble >::ZERO ( 0.  0,
0.  0,
0.  0,
0.  0 
)

Member Data Documentation

template<class Real>
const moVector4 moVector4< Real >::ONE
static

Definition at line 273 of file moMathVector4.h.

template<class Real>
const moVector4 moVector4< Real >::UNIT_W
static

Definition at line 272 of file moMathVector4.h.

template<class Real>
const moVector4 moVector4< Real >::UNIT_X
static

Definition at line 269 of file moMathVector4.h.

template<class Real>
const moVector4 moVector4< Real >::UNIT_Y
static

Definition at line 270 of file moMathVector4.h.

template<class Real>
const moVector4 moVector4< Real >::UNIT_Z
static

Definition at line 271 of file moMathVector4.h.

template<class Real>
const moVector4 moVector4< Real >::ZERO
static

Definition at line 268 of file moMathVector4.h.


The documentation for this class was generated from the following file: