A class that represents a set of 3D vectors stored in a SIMD-compatible format.
More...
|
| SIMDVector3D () |
| Create a quad 3D SIMD vector with all vector components equal to zero. More...
|
|
| SIMDVector3D (const VectorND< T, 3 > &vector) |
| Create a quad 3D SIMD vector with all of the four vectors equal to the specified vector. More...
|
|
| SIMDVector3D (const VectorND< T, 3 > &v1, const VectorND< T, 3 > &v2, const VectorND< T, 3 > &v3, const VectorND< T, 3 > &v4) |
| Create a quad 3D SIMD vector with each of the four vectors equal to the specified vector. More...
|
|
| SIMDVector3D (const SIMDScalar< T, 4 > &newX, const SIMDScalar< T, 4 > &newY, const SIMDScalar< T, 4 > &newZ) |
| Create a quad 3D SIMD vector with the specified X, Y, and Z SIMDScalars. More...
|
|
SIMDScalar< T, 4 > | getMagnitude () const |
| Return the 4-component SIMD scalar magnitude of this quad SIMD 3D vector. More...
|
|
SIMDScalar< T, 4 > | getMagnitudeSquared () const |
| Return the 4-component SIMD scalar squared magnitude of this quad SIMD 3D vector. More...
|
|
SIMDVector3D | normalize () const |
| Return a normalized copy of this quad SIMD 3D vector. More...
|
|
SIMDVector3D | operator+ (const SIMDVector3D &other) const |
| Compute and return the component-wise sum of this quad SIMD 3D vector with another. More...
|
|
SIMDVector3D | operator+ (const SIMDScalar< T, 4 > &quadScalar) const |
| Compute and return the component-wise sum of this quad SIMD 3D vector with a quad SIMD scalar. More...
|
|
SIMDVector3D | operator- (const SIMDVector3D &other) const |
| Compute and return the component-wise difference of this quad SIMD 3D vector with another. More...
|
|
SIMDVector3D | operator- (const SIMDScalar< T, 4 > &quadScalar) const |
| Compute and return the component-wise difference of this quad SIMD 3D vector with a quad SIMD scalar. More...
|
|
SIMDVector3D | operator* (const SIMDVector3D &other) const |
| Compute and return the component-wise multiplication of this quad SIMD 3D vector with another. More...
|
|
SIMDVector3D | operator* (const SIMDScalar< T, 4 > &quadScalar) const |
| Compute and return the component-wise multiplication of this quad SIMD 3D vector with a quad SIMD scalar. More...
|
|
SIMDVector3D | operator/ (const SIMDScalar< T, 4 > &quadScalar) const |
| Compute and return the component-wise quotient of this quad SIMD 3D vector divided by a quad SIMD scalar. More...
|
|
SIMDVector3D & | operator+= (const SIMDVector3D &other) const |
| Compute the component-wise sum of this quad SIMD 3D vector with another and assign it to this vector. More...
|
|
SIMDVector3D & | operator+= (const SIMDScalar< T, 4 > &quadScalar) const |
| Compute the component-wise sum of this quad SIMD 3D vector with a quad SIMD scalar and assign it to this vector. More...
|
|
SIMDVector3D & | operator-= (const SIMDVector3D &other) const |
| Compute the component-wise difference of this quad SIMD 3D vector with another and assign it to this vector. More...
|
|
SIMDVector3D & | operator-= (const SIMDScalar< T, 4 > &quadScalar) const |
| Compute the component-wise difference of this quad SIMD 3D vector with a quad SIMD scalar and assign it to this vector. More...
|
|
SIMDVector3D & | operator*= (const SIMDVector3D &other) const |
| Compute the component-wise multiplication of this quad SIMD 3D vector with another and assign it to this vector. More...
|
|
SIMDVector3D & | operator*= (const SIMDScalar< T, 4 > &quadScalar) const |
| Compute the component-wise multiplication of this quad SIMD 3D vector with a quad SIMD scalar and assign it to this vector. More...
|
|
SIMDVector3D & | operator/= (const SIMDScalar< T, 4 > &quadScalar) const |
| Compute the component-wise quotient of this quad SIMD 3D vector divided by a quad SIMD scalar and assign it to this vector. More...
|
|
template<typename T>
class om::math::SIMDVector3D< T, 4 >
A class that represents a set of 3D vectors stored in a SIMD-compatible format.
This class is used to store and operate on a set of 3D vectors in a SIMD fashion. The vectors are stored in a structure-of-arrays format that accelerates SIMD operations.