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
moVector3< Real > Class Template Reference

#include <moMathVector3.h>

Inheritance diagram for moVector3< Real >:
moAbstract

Public Member Functions

 moVector3 ()
 
 moVector3 (Real fX, Real fY, Real fZ)
 
 moVector3 (const Real *afTuple)
 
 moVector3 (const moVector3 &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 ()
 
moVector3operator= (const moVector3 &rkV)
 
bool operator== (const moVector3 &rkV) const
 
bool operator!= (const moVector3 &rkV) const
 
bool operator< (const moVector3 &rkV) const
 
bool operator<= (const moVector3 &rkV) const
 
bool operator> (const moVector3 &rkV) const
 
bool operator>= (const moVector3 &rkV) const
 
moVector3 operator+ (const moVector3 &rkV) const
 
moVector3 operator- (const moVector3 &rkV) const
 
moVector3 operator* (Real fScalar) const
 
moVector3 operator/ (Real fScalar) const
 
moVector3 operator- () const
 
moVector3operator+= (const moVector3 &rkV)
 
moVector3operator-= (const moVector3 &rkV)
 
moVector3< Real > & operator*= (const Real fScalar)
 
moVector3< Real > & operator/= (const Real fScalar)
 
Real Length () const
 
Real SquaredLength () const
 
Real Dot (const moVector3 &rkV) const
 
Real Normalize ()
 
moVector3 Cross (const moVector3 &rkV) const
 
moVector3 UnitCross (const moVector3 &rkV) const
 
void GetBarycentrics (const moVector3< Real > &rkV0, const moVector3< Real > &rkV1, const moVector3< Real > &rkV2, const moVector3< Real > &rkV3, Real afBary[4]) const
 
Real Cosine (const moVector3< Real > &rkV)
 
Real Angle (const moVector3< Real > &rkV)
 
template<>
const moVector3< MOlongUNIT_Y (0, 1, 0)
 
template<>
const moVector3< MOlongUNIT_Z (0, 0, 1)
 
template<>
const moVector3< MOlongONE (1, 1, 1)
 
template<>
const moVector3< MOdoubleZERO (0.0, 0.0, 0.0)
 
template<>
const moVector3< MOdoubleUNIT_X (1.0, 0.0, 0.0)
 
template<>
const moVector3< MOdoubleUNIT_Y (0.0, 1.0, 0.0)
 
template<>
const moVector3< MOdoubleUNIT_Z (0.0, 0.0, 1.0)
 
template<>
const moVector3< MOdoubleONE (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 Member Functions

static void Orthonormalize (moVector3 &rkU, moVector3 &rkV, moVector3 &rkW)
 
static void Orthonormalize (moVector3 *akV)
 
static void GenerateOrthonormalBasis (moVector3 &rkU, moVector3 &rkV, moVector3 &rkW)
 
static void GenerateComplementBasis (moVector3 &rkU, moVector3 &rkV, const moVector3 &rkW)
 
static void ComputeExtremes (int iVQuantity, const moVector3 *akPoint, moVector3 &rkMin, moVector3 &rkMax)
 

Static Public Attributes

static const moVector3 ZERO
 
static const moVector3 UNIT_X
 
static const moVector3 UNIT_Y
 
static const moVector3 UNIT_Z
 
static const moVector3 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 moVector3< Real >

Definition at line 46 of file moMathVector3.h.

Constructor & Destructor Documentation

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

Definition at line 50 of file moMathVector3.h.

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

Definition at line 51 of file moMathVector3.h.

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

Definition at line 56 of file moMathVector3.h.

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

Definition at line 61 of file moMathVector3.h.

Member Function Documentation

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

Definition at line 601 of file moMathVector3.h.

template<class Real>
static void moVector3< Real >::ComputeExtremes ( int  iVQuantity,
const moVector3< Real > *  akPoint,
moVector3< Real > &  rkMin,
moVector3< Real > &  rkMax 
)
inlinestatic

Definition at line 568 of file moMathVector3.h.

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

Definition at line 594 of file moMathVector3.h.

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

Definition at line 231 of file moMathVector3.h.

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

Definition at line 198 of file moMathVector3.h.

template<class Real>
static void moVector3< Real >::GenerateComplementBasis ( moVector3< Real > &  rkU,
moVector3< Real > &  rkV,
const moVector3< Real > &  rkW 
)
inlinestatic

Definition at line 532 of file moMathVector3.h.

template<class Real>
static void moVector3< Real >::GenerateOrthonormalBasis ( moVector3< Real > &  rkU,
moVector3< Real > &  rkV,
moVector3< Real > &  rkW 
)
inlinestatic

Definition at line 522 of file moMathVector3.h.

template<class Real>
void moVector3< Real >::GetBarycentrics ( const moVector3< Real > &  rkV0,
const moVector3< Real > &  rkV1,
const moVector3< Real > &  rkV2,
const moVector3< Real > &  rkV3,
Real  afBary[4] 
) const
inline

Definition at line 251 of file moMathVector3.h.

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

Definition at line 183 of file moMathVector3.h.

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

Definition at line 205 of file moMathVector3.h.

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

Definition at line 68 of file moMathVector3.h.

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

Definition at line 69 of file moMathVector3.h.

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

Definition at line 91 of file moMathVector3.h.

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

Definition at line 106 of file moMathVector3.h.

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

Definition at line 154 of file moMathVector3.h.

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

Definition at line 99 of file moMathVector3.h.

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

Definition at line 138 of file moMathVector3.h.

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

Definition at line 103 of file moMathVector3.h.

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

Definition at line 132 of file moMathVector3.h.

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

Definition at line 146 of file moMathVector3.h.

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

Definition at line 112 of file moMathVector3.h.

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

Definition at line 162 of file moMathVector3.h.

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

Definition at line 92 of file moMathVector3.h.

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

Definition at line 93 of file moMathVector3.h.

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

Definition at line 81 of file moMathVector3.h.

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

Definition at line 90 of file moMathVector3.h.

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

Definition at line 94 of file moMathVector3.h.

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

Definition at line 95 of file moMathVector3.h.

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

Definition at line 71 of file moMathVector3.h.

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

Definition at line 72 of file moMathVector3.h.

template<class Real>
static void moVector3< Real >::Orthonormalize ( moVector3< Real > &  rkU,
moVector3< Real > &  rkV,
moVector3< Real > &  rkW 
)
inlinestatic

Definition at line 485 of file moMathVector3.h.

template<class Real>
static void moVector3< Real >::Orthonormalize ( moVector3< Real > *  akV)
inlinestatic

Definition at line 513 of file moMathVector3.h.

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

Definition at line 190 of file moMathVector3.h.

template<>
const moVector3< MOdouble > moVector3< MOdouble >::UNIT_X ( 1.  0,
0.  0,
0.  0 
)
template<>
const moVector3< MOlong > moVector3< MOlong >::UNIT_Y ( ,
,
 
)
template<>
const moVector3< MOdouble > moVector3< MOdouble >::UNIT_Y ( 0.  0,
1.  0,
0.  0 
)
template<>
const moVector3< MOlong > moVector3< MOlong >::UNIT_Z ( ,
,
 
)
template<>
const moVector3< MOdouble > moVector3< MOdouble >::UNIT_Z ( 0.  0,
0.  0,
1.  0 
)
template<class Real>
moVector3 moVector3< Real >::UnitCross ( const moVector3< Real > &  rkV) const
inline

Definition at line 238 of file moMathVector3.h.

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

Definition at line 73 of file moMathVector3.h.

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

Definition at line 74 of file moMathVector3.h.

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

Definition at line 75 of file moMathVector3.h.

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

Definition at line 76 of file moMathVector3.h.

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

Definition at line 77 of file moMathVector3.h.

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

Definition at line 78 of file moMathVector3.h.

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

Member Data Documentation

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

Definition at line 610 of file moMathVector3.h.

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

Definition at line 607 of file moMathVector3.h.

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

Definition at line 608 of file moMathVector3.h.

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

Definition at line 609 of file moMathVector3.h.

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

Definition at line 606 of file moMathVector3.h.


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