|
template<class S > |
Vector4D< S > | Manta::operator+ (const Vector4D< S > &v1, const Vector4D< S > &v2) |
| Addition operator.
|
|
template<class S , class S2 > |
Vector4D< S > | Manta::operator+ (const Vector4D< S > &v, S2 s) |
| Addition operator.
|
|
template<class S , class S2 > |
Vector4D< S > | Manta::operator+ (S2 s, const Vector4D< S > &v) |
| Addition operator.
|
|
template<class S > |
Vector4D< S > | Manta::operator- (const Vector4D< S > &v1, const Vector4D< S > &v2) |
| Subtraction operator.
|
|
template<class S , class S2 > |
Vector4D< S > | Manta::operator- (const Vector4D< S > &v, S2 s) |
| Subtraction operator.
|
|
template<class S , class S2 > |
Vector4D< S > | Manta::operator- (S2 s, const Vector4D< S > &v) |
| Subtraction operator.
|
|
template<class S > |
Vector4D< S > | Manta::operator* (const Vector4D< S > &v1, const Vector4D< S > &v2) |
| Multiplication operator.
|
|
template<class S , class S2 > |
Vector4D< S > | Manta::operator* (const Vector4D< S > &v, S2 s) |
| Multiplication operator.
|
|
template<class S , class S2 > |
Vector4D< S > | Manta::operator* (S2 s, const Vector4D< S > &v) |
| Multiplication operator.
|
|
template<class S > |
Vector4D< S > | Manta::operator/ (const Vector4D< S > &v1, const Vector4D< S > &v2) |
| Division operator.
|
|
template<class S , class S2 > |
Vector4D< S > | Manta::operator/ (const Vector4D< S > &v, S2 s) |
| Division operator.
|
|
template<class S , class S2 > |
Vector4D< S > | Manta::operator/ (S2 s, const Vector4D< S > &v) |
| Division operator.
|
|
template<class S > |
bool | Manta::operator== (const Vector4D< S > &s1, const Vector4D< S > &s2) |
| Comparison operator.
|
|
template<class S > |
bool | Manta::operator!= (const Vector4D< S > &s1, const Vector4D< S > &s2) |
| Comparison operator.
|
|
template<class S > |
S | Manta::dot (const Vector4D< S > &t, const Vector4D< S > &v) |
| Dot product.
|
|
template<class S > |
S | Manta::norm (const Vector4D< S > &v) |
| Cross product. More...
|
|
template<class S > |
S | Manta::normSquare (const Vector4D< S > &v) |
| Compute squared magnitude.
|
|
template<class S > |
Vector4D< S > | Manta::getNormalized (const Vector4D< S > &v) |
| Returns a normalized vector.
|
|
template<class S > |
S | Manta::normalize (Vector4D< S > &v) |
| Compute the norm of the vector and normalize it. More...
|
|
template<class S > |
std::ostream & | Manta::operator<< (std::ostream &os, const Vector4D< S > &i) |
| Outputs the object in human readable form to stream.
|
|
template<class S > |
std::istream & | Manta::operator>> (std::istream &is, Vector4D< S > &i) |
| Reads the contents of the object from a stream.
|
|
template<class T > |
Vec4 | Manta::toVec4 (T v) |
| convert to Real Vector
|
|
template<class T > |
Vec4i | Manta::toVec4i (T v) |
|
template<> |
Vec4 | Manta::clamp< Vec4 > (const Vec4 &a, const Vec4 &b, const Vec4 &c) |
|
template<> |
Vec4 | Manta::safeDivide< Vec4 > (const Vec4 &a, const Vec4 &b) |
|
template<> |
Vec4 | Manta::nmod< Vec4 > (const Vec4 &a, const Vec4 &b) |
|
template<class T > |
T | Manta::interpol4d (const T *data, const Vec4i &size, const IndexInt sZ, const IndexInt sT, const Vec4 &pos) |
|