Blender V2.61 - r43446
|
Classes | |
class | Vector3Dim |
Typedefs | |
typedef Vector3Dim< int > | Vec3Int |
typedef Vector3Dim< Real > | Vec3 |
Functions | |
template<class Scalar > | |
Scalar | dot (const Vector3Dim< Scalar > &t, const Vector3Dim< Scalar > &v) |
template<class Scalar > | |
Vector3Dim< Scalar > | cross (const Vector3Dim< Scalar > &t, const Vector3Dim< Scalar > &v) |
template<class Scalar > | |
Scalar | norm (const VECTOR_TYPE &v) |
Real | normHelper (const Vector3Dim< Real > &v) |
Real | normHelper (const Real &v) |
Real | normHelper (const int &v) |
template<class Scalar > | |
Scalar | normNoSqrt (const VECTOR_TYPE &v) |
template<class Scalar > | |
VECTOR_TYPE | getNormalized (const VECTOR_TYPE &v) |
template<class Scalar > | |
Scalar | normalize (VECTOR_TYPE &v) |
template<class Scalar > | |
VECTOR_TYPE | reflectVector (const VECTOR_TYPE &t, const VECTOR_TYPE &n) |
template<class Scalar > | |
VECTOR_TYPE | refractVector (const VECTOR_TYPE &t, const VECTOR_TYPE &normal, Scalar nt, Scalar nair, int &refRefl) |
template<class Scalar > | |
bool | equal (const VECTOR_TYPE &v, const VECTOR_TYPE &c) |
template<class Scalar > | |
void | rgbToHsv (VECTOR_TYPE &V) |
template<class Scalar > | |
void | hsvToRgb (VECTOR_TYPE &V) |
template<class Scalar > | |
std::ostream & | operator<< (std::ostream &os, const BasicVector::Vector3Dim< Scalar > &i) |
global string for formatting vector output in utilities.cpp | |
template<class Scalar > | |
std::istream & | operator>> (std::istream &is, BasicVector::Vector3Dim< Scalar > &i) |
Real | getVecEpsilon () |
typedef Vector3Dim<Real> BasicVector::Vec3 |
typedef Vector3Dim<int> BasicVector::Vec3Int |
Vector3Dim<Scalar> BasicVector::cross | ( | const Vector3Dim< Scalar > & | t, |
const Vector3Dim< Scalar > & | v | ||
) | [inline] |
Scalar BasicVector::dot | ( | const Vector3Dim< Scalar > & | t, |
const Vector3Dim< Scalar > & | v | ||
) | [inline] |
Definition at line 600 of file VEC3.h.
Referenced by BasicVector::Vector3Dim< Scalar >::projectNormalTo(), reflectVector(), and refractVector().
bool BasicVector::equal | ( | const VECTOR_TYPE & | v, |
const VECTOR_TYPE & | c | ||
) | [inline] |
Definition at line 841 of file VEC3.h.
References ABS, and VECTOR_EPSILON.
VECTOR_TYPE BasicVector::getNormalized | ( | const VECTOR_TYPE & | v | ) | [inline] |
Definition at line 755 of file VEC3.h.
References fabs(), sqrt(), VECTOR_EPSILON, and VECTOR_TYPE.
Referenced by BasicVector::Vector3Dim< Scalar >::getOrthogonalntlVector3Dim().
Real BasicVector::getVecEpsilon | ( | ) | [inline] |
Definition at line 977 of file VEC3.h.
References VECTOR_EPSILON.
void BasicVector::hsvToRgb | ( | VECTOR_TYPE & | V | ) | [inline] |
Scalar BasicVector::norm | ( | const VECTOR_TYPE & | v | ) | [inline] |
Definition at line 722 of file VEC3.h.
References fabs(), sqrt(), and VECTOR_EPSILON.
Referenced by normalize(), and normHelper().
Scalar BasicVector::normalize | ( | VECTOR_TYPE & | v | ) | [inline] |
Scalar BasicVector::normNoSqrt | ( | const VECTOR_TYPE & | v | ) | [inline] |
std::ostream& BasicVector::operator<< | ( | std::ostream & | os, |
const BasicVector::Vector3Dim< Scalar > & | i | ||
) |
global string for formatting vector output in utilities.cpp
Definition at line 942 of file VEC3.h.
References globVecFormatStr, and i.
std::istream& BasicVector::operator>> | ( | std::istream & | is, |
BasicVector::Vector3Dim< Scalar > & | i | ||
) |
VECTOR_TYPE BasicVector::reflectVector | ( | const VECTOR_TYPE & | t, |
const VECTOR_TYPE & | n | ||
) | [inline] |
Definition at line 803 of file VEC3.h.
References dot(), and VECTOR_TYPE.
VECTOR_TYPE BasicVector::refractVector | ( | const VECTOR_TYPE & | t, |
const VECTOR_TYPE & | normal, | ||
Scalar | nt, | ||
Scalar | nair, | ||
int & | refRefl | ||
) | [inline] |