Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
om::math::VectorND< T, 3 > Class Template Reference

A class that represents a 3-dimensional point or vector. More...

#include <omVector3D.h>

Public Member Functions

 VectorND ()
 Create a new 3D vector with all elements equal to zero. More...
 
 VectorND (T value)
 Create a new 3D vector with all elements equal to a single value. More...
 
 VectorND (const T array[3])
 Create a new 3D vector from a pointer to a 3 element array. More...
 
 VectorND (T newX, T newY, T newZ)
 Create a new 3D vector by specifying its x, y, and z values. More...
 
 VectorND (const VectorND< T, 2 > &vector, T newZ)
 Create a new 3D vector from a 2D vector and a value for the Z coordinate. More...
 
 VectorND (T newX, const VectorND< T, 2 > &vector)
 Create a new 3D vector from a value for the X coordinate and a 2D vector. More...
 
template<typename U >
 VectorND (const VectorND< U, 3 > &vector)
 Create a new 3D vector from an existing vector with a different template type. More...
 
 VectorND (const VectorND &vector)
 Create a new 3D vector from an existing vector with the same template type. More...
 
VectorNDoperator= (const VectorND &vector)
 Create a new 3D vector from an existing vector with a different template type. More...
 
getMagnitude () const
 Return the magnitude of this vector (the length). More...
 
getMagnitudeSquared () const
 Return the square of the magnitude of this vector. More...
 
VectorND normalize () const
 Return a normalized version of this vector. More...
 
VectorND normalize (T &magnitude) const
 Return a normalized version of this vector, placing the vector's magnitude in the output parameter. More...
 
VectorND projectOn (const VectorND &vector) const
 Project this vector on another vector and return the projected vector. More...
 
VectorND projectOnNormalized (const VectorND &vector) const
 Project this vector on a normalized vector and return the projected vector. More...
 
getDistanceTo (const VectorND &vector) const
 Return the distance from this vector to another in 3D Euclidean space. More...
 
getDistanceToSquared (const VectorND &vector) const
 Return the square of the distance from this vector to another in 3D Euclidean space. More...
 
T * toArray ()
 Return a pointer to the internal storage of this vector. More...
 
const T * toArray () const
 Return a const pointer to the internal storage of this vector. More...
 
getMin () const
 Return the minimum component of this vector. More...
 
getMax () const
 Return the maximum component of this vector. More...
 
T & get (Index index)
 Return a reference to the vector coordinate at the specified index. More...
 
const T & get (Index index) const
 Return a const reference to the vector coordinate at the specified index. More...
 
T & operator[] (Index index)
 Return a reference to the vector coordinate at the specified index. More...
 
const T & operator[] (Index index) const
 Return a const reference to the vector coordinate at the specified index. More...
 
void setAll (T newX, T newY, T newZ)
 Set the X, Y, and Z coordinates of the vector to the specified values. More...
 
void set (Index index, T newValue)
 Set the coordinate of this vector at the specified index to a new value. More...
 
Bool operator== (const VectorND &v) const
 Return whether or not this vector is equal to another for all components. More...
 
Bool operator!= (const VectorND &v) const
 Return whether or not this vector is not equal to another for any component. More...
 
VectorND operator- () const
 Negate each component of this vector and return the result. More...
 
VectorND operator+ () const
 Return copy of the original vector. More...
 
VectorND operator+ (T value) const
 Add a scalar to every component of this vector and return the result. More...
 
VectorND operator- (T value) const
 Subtract a scalar from every component of this vector and return the result. More...
 
VectorND operator* (T value) const
 Multiply every component of this vector by a scalar and return the result. More...
 
VectorND operator/ (T value) const
 Divide every component of this vector by a scalar and return the result. More...
 
VectorND operator+ (const VectorND &vector) const
 Add this vector to another and return the result and return the result. More...
 
VectorND operator- (const VectorND &vector) const
 Subtract a vector from this vector and return the result. More...
 
VectorND operator* (const VectorND &vector) const
 Multiply this vector by another vector and return the result. More...
 
VectorND operator/ (const VectorND &vector) const
 Divide this vector by another vector and return the result. More...
 
VectorNDoperator+= (const T &value)
 Add a scalar to each component of this vector and modify the original vector. More...
 
VectorNDoperator-= (const T &value)
 Subtract a scalar from each component of this vector and modify the original vector. More...
 
VectorNDoperator*= (const T &value)
 Multiply each component of this vector by a scalar and modify the original vector. More...
 
VectorNDoperator/= (const T &value)
 Divide each component of this vector by a scalar and modify the original vector. More...
 
VectorNDoperator+= (const VectorND &vector)
 Add a vector to this vector, modifying this original vector. More...
 
VectorNDoperator-= (const VectorND &vector)
 Subtract a vector from this vector, modifying this original vector. More...
 
VectorNDoperator*= (const VectorND &vector)
 Multiply this vector by another vector and modify this vector. More...
 
VectorNDoperator/= (const VectorND &vector)
 Divide this vector by another vector and modify this vector. More...
 
data::String toString () const
 Convert this 3D vector into a human-readable string representation. More...
 
 operator data::String () const
 Convert this 3D vector into a human-readable string representation. More...
 

Static Public Member Functions

static VectorND spherical (T theta, T phi)
 Return a 3D cartesian unit-length vector for the specified spherical coordinates. More...
 
static VectorND spherical (T theta, T phi, T r)
 Return a 3D cartesian vector for the specified spherical coordinates. More...
 
static VectorND cylindrical (T theta, T r, T z)
 Return a 3D cartesian vector for the specified cylindrical coordinates. More...
 
static VectorND polarXY (T angle)
 Convert the specified polar angle in radians to a unit-length 3D vector in the XY plane. More...
 
static VectorND polarXY (T angle, T r)
 Convert the specified polar coordinates in radians to an r-length 3D vector in the XY plane. More...
 
static VectorND polarXZ (T angle)
 Convert the specified polar angle in radians to a unit-length 3D vector in the XZ plane. More...
 
static VectorND polarXZ (T angle, T r)
 Convert the specified polar coordinates in radians to an r-length 3D vector in the XZ plane. More...
 
static VectorND polarYZ (T angle)
 Convert the specified polar angle in radians to a unit-length 3D vector in the YZ plane. More...
 
static VectorND polarYZ (T angle, T r)
 Convert the specified polar coordinates in radians to an r-length 3D vector in the YZ plane. More...
 

Public Attributes

union om::math::VectorND< T, 3 >:: { ... }  
 
v [3]
 An array that contains the vector components. More...
 
r
 The red component of a 3-component color. More...
 
g
 The green component of a 3-component color. More...
 
b
 The blue component of a 3-component color. More...
 
x
 The X coordinate of a 3D vector. More...
 
y
 The Y coordinate of a 3D vector. More...
 
z
 The Z coordinate of a 3D vector. More...
 
Swizzle2D< T, 3, 0, 0 > xx
 
Swizzle2D< T, 3, 0, 0 > rr
 
Swizzle2D< T, 3, 1, 1 > yy
 
Swizzle2D< T, 3, 1, 1 > gg
 
Swizzle2D< T, 3, 2, 2 > zz
 
Swizzle2D< T, 3, 2, 2 > bb
 
Swizzle2D< T, 3, 0, 1 > xy
 
Swizzle2D< T, 3, 0, 1 > rg
 
Swizzle2D< T, 3, 0, 2 > xz
 
Swizzle2D< T, 3, 0, 2 > rb
 
Swizzle2D< T, 3, 1, 0 > yx
 
Swizzle2D< T, 3, 1, 0 > gr
 
Swizzle2D< T, 3, 1, 2 > yz
 
Swizzle2D< T, 3, 1, 2 > gb
 
Swizzle2D< T, 3, 2, 0 > zx
 
Swizzle2D< T, 3, 2, 0 > br
 
Swizzle2D< T, 3, 2, 1 > zy
 
Swizzle2D< T, 3, 2, 1 > bg
 
Swizzle3D< T, 3, 0, 0, 0 > xxx
 
Swizzle3D< T, 3, 0, 0, 0 > rrr
 
Swizzle3D< T, 3, 1, 1, 1 > yyy
 
Swizzle3D< T, 3, 1, 1, 1 > ggg
 
Swizzle3D< T, 3, 2, 2, 2 > zzz
 
Swizzle3D< T, 3, 2, 2, 2 > bbb
 
Swizzle3D< T, 3, 0, 1, 1 > xyy
 
Swizzle3D< T, 3, 0, 1, 1 > rgg
 
Swizzle3D< T, 3, 1, 0, 1 > yxy
 
Swizzle3D< T, 3, 1, 0, 1 > grg
 
Swizzle3D< T, 3, 1, 1, 0 > yyx
 
Swizzle3D< T, 3, 1, 1, 0 > ggr
 
Swizzle3D< T, 3, 0, 2, 2 > xzz
 
Swizzle3D< T, 3, 0, 2, 2 > rbb
 
Swizzle3D< T, 3, 2, 0, 2 > zxz
 
Swizzle3D< T, 3, 2, 0, 2 > brb
 
Swizzle3D< T, 3, 2, 2, 0 > zzx
 
Swizzle3D< T, 3, 2, 2, 0 > bbr
 
Swizzle3D< T, 3, 1, 0, 0 > yxx
 
Swizzle3D< T, 3, 1, 0, 0 > grr
 
Swizzle3D< T, 3, 0, 1, 0 > xyx
 
Swizzle3D< T, 3, 0, 1, 0 > rgr
 
Swizzle3D< T, 3, 0, 0, 1 > xxy
 
Swizzle3D< T, 3, 0, 0, 1 > rrg
 
Swizzle3D< T, 3, 1, 2, 2 > yzz
 
Swizzle3D< T, 3, 1, 2, 2 > gbb
 
Swizzle3D< T, 3, 2, 1, 2 > zyz
 
Swizzle3D< T, 3, 2, 1, 2 > bgb
 
Swizzle3D< T, 3, 2, 2, 1 > zzy
 
Swizzle3D< T, 3, 2, 2, 1 > bbg
 
Swizzle3D< T, 3, 2, 0, 0 > zxx
 
Swizzle3D< T, 3, 2, 0, 0 > brr
 
Swizzle3D< T, 3, 0, 2, 0 > xzx
 
Swizzle3D< T, 3, 0, 2, 0 > rbr
 
Swizzle3D< T, 3, 0, 0, 2 > xxz
 
Swizzle3D< T, 3, 0, 0, 2 > rrb
 
Swizzle3D< T, 3, 2, 1, 1 > zyy
 
Swizzle3D< T, 3, 2, 1, 1 > bgg
 
Swizzle3D< T, 3, 1, 2, 1 > yzy
 
Swizzle3D< T, 3, 1, 2, 1 > gbg
 
Swizzle3D< T, 3, 1, 1, 2 > yyz
 
Swizzle3D< T, 3, 1, 1, 2 > ggb
 
Swizzle3D< T, 3, 0, 1, 2 > xyz
 
Swizzle3D< T, 3, 0, 1, 2 > rgb
 
Swizzle3D< T, 3, 0, 2, 1 > xzy
 
Swizzle3D< T, 3, 0, 2, 1 > rbg
 
Swizzle3D< T, 3, 1, 0, 2 > yxz
 
Swizzle3D< T, 3, 1, 0, 2 > grb
 
Swizzle3D< T, 3, 1, 2, 0 > yzx
 
Swizzle3D< T, 3, 1, 2, 0 > gbr
 
Swizzle3D< T, 3, 2, 1, 0 > zyx
 
Swizzle3D< T, 3, 2, 1, 0 > bgr
 
Swizzle3D< T, 3, 2, 0, 1 > zxy
 
Swizzle3D< T, 3, 2, 0, 1 > brg
 

Static Public Attributes

static const VectorND ZERO
 A constant vector with all elements equal to zero. More...
 

Detailed Description

template<typename T>
class om::math::VectorND< T, 3 >

A class that represents a 3-dimensional point or vector.

Constructor & Destructor Documentation

template<typename T >
om::math::VectorND< T, 3 >::VectorND ( )
inline

Create a new 3D vector with all elements equal to zero.

template<typename T >
om::math::VectorND< T, 3 >::VectorND ( value)
inlineexplicit

Create a new 3D vector with all elements equal to a single value.

template<typename T >
om::math::VectorND< T, 3 >::VectorND ( const T  array[3])
inlineexplicit

Create a new 3D vector from a pointer to a 3 element array.

template<typename T >
om::math::VectorND< T, 3 >::VectorND ( newX,
newY,
newZ 
)
inline

Create a new 3D vector by specifying its x, y, and z values.

template<typename T >
om::math::VectorND< T, 3 >::VectorND ( const VectorND< T, 2 > &  vector,
newZ 
)
inline

Create a new 3D vector from a 2D vector and a value for the Z coordinate.

template<typename T >
om::math::VectorND< T, 3 >::VectorND ( newX,
const VectorND< T, 2 > &  vector 
)
inline

Create a new 3D vector from a value for the X coordinate and a 2D vector.

template<typename T >
template<typename U >
om::math::VectorND< T, 3 >::VectorND ( const VectorND< U, 3 > &  vector)
inline

Create a new 3D vector from an existing vector with a different template type.

template<typename T >
om::math::VectorND< T, 3 >::VectorND ( const VectorND< T, 3 > &  vector)
inline

Create a new 3D vector from an existing vector with the same template type.

This is declared because the auto-generated one was not working with the crazy uniform mess.

Member Function Documentation

template<typename T >
VectorND& om::math::VectorND< T, 3 >::operator= ( const VectorND< T, 3 > &  vector)
inline

Create a new 3D vector from an existing vector with a different template type.

This is declared because the auto-generated one was not working with the crazy uniform mess.

template<typename T >
static VectorND om::math::VectorND< T, 3 >::spherical ( theta,
phi 
)
inlinestatic

Return a 3D cartesian unit-length vector for the specified spherical coordinates.

template<typename T >
static VectorND om::math::VectorND< T, 3 >::spherical ( theta,
phi,
r 
)
inlinestatic

Return a 3D cartesian vector for the specified spherical coordinates.

template<typename T >
static VectorND om::math::VectorND< T, 3 >::cylindrical ( theta,
r,
z 
)
inlinestatic

Return a 3D cartesian vector for the specified cylindrical coordinates.

template<typename T >
static VectorND om::math::VectorND< T, 3 >::polarXY ( angle)
inlinestatic

Convert the specified polar angle in radians to a unit-length 3D vector in the XY plane.

template<typename T >
static VectorND om::math::VectorND< T, 3 >::polarXY ( angle,
r 
)
inlinestatic

Convert the specified polar coordinates in radians to an r-length 3D vector in the XY plane.

template<typename T >
static VectorND om::math::VectorND< T, 3 >::polarXZ ( angle)
inlinestatic

Convert the specified polar angle in radians to a unit-length 3D vector in the XZ plane.

template<typename T >
static VectorND om::math::VectorND< T, 3 >::polarXZ ( angle,
r 
)
inlinestatic

Convert the specified polar coordinates in radians to an r-length 3D vector in the XZ plane.

template<typename T >
static VectorND om::math::VectorND< T, 3 >::polarYZ ( angle)
inlinestatic

Convert the specified polar angle in radians to a unit-length 3D vector in the YZ plane.

template<typename T >
static VectorND om::math::VectorND< T, 3 >::polarYZ ( angle,
r 
)
inlinestatic

Convert the specified polar coordinates in radians to an r-length 3D vector in the YZ plane.

template<typename T >
T om::math::VectorND< T, 3 >::getMagnitude ( ) const
inline

Return the magnitude of this vector (the length).

template<typename T >
T om::math::VectorND< T, 3 >::getMagnitudeSquared ( ) const
inline

Return the square of the magnitude of this vector.

template<typename T >
VectorND om::math::VectorND< T, 3 >::normalize ( ) const
inline

Return a normalized version of this vector.

template<typename T >
VectorND om::math::VectorND< T, 3 >::normalize ( T &  magnitude) const
inline

Return a normalized version of this vector, placing the vector's magnitude in the output parameter.

template<typename T >
VectorND om::math::VectorND< T, 3 >::projectOn ( const VectorND< T, 3 > &  vector) const
inline

Project this vector on another vector and return the projected vector.

template<typename T >
VectorND om::math::VectorND< T, 3 >::projectOnNormalized ( const VectorND< T, 3 > &  vector) const
inline

Project this vector on a normalized vector and return the projected vector.

template<typename T >
T om::math::VectorND< T, 3 >::getDistanceTo ( const VectorND< T, 3 > &  vector) const
inline

Return the distance from this vector to another in 3D Euclidean space.

template<typename T >
T om::math::VectorND< T, 3 >::getDistanceToSquared ( const VectorND< T, 3 > &  vector) const
inline

Return the square of the distance from this vector to another in 3D Euclidean space.

template<typename T >
T* om::math::VectorND< T, 3 >::toArray ( )
inline

Return a pointer to the internal storage of this vector.

template<typename T >
const T* om::math::VectorND< T, 3 >::toArray ( ) const
inline

Return a const pointer to the internal storage of this vector.

template<typename T >
T om::math::VectorND< T, 3 >::getMin ( ) const
inline

Return the minimum component of this vector.

template<typename T >
T om::math::VectorND< T, 3 >::getMax ( ) const
inline

Return the maximum component of this vector.

template<typename T >
T& om::math::VectorND< T, 3 >::get ( Index  index)
inline

Return a reference to the vector coordinate at the specified index.

template<typename T >
const T& om::math::VectorND< T, 3 >::get ( Index  index) const
inline

Return a const reference to the vector coordinate at the specified index.

template<typename T >
T& om::math::VectorND< T, 3 >::operator[] ( Index  index)
inline

Return a reference to the vector coordinate at the specified index.

template<typename T >
const T& om::math::VectorND< T, 3 >::operator[] ( Index  index) const
inline

Return a const reference to the vector coordinate at the specified index.

template<typename T >
void om::math::VectorND< T, 3 >::setAll ( newX,
newY,
newZ 
)
inline

Set the X, Y, and Z coordinates of the vector to the specified values.

template<typename T >
void om::math::VectorND< T, 3 >::set ( Index  index,
newValue 
)
inline

Set the coordinate of this vector at the specified index to a new value.

template<typename T >
Bool om::math::VectorND< T, 3 >::operator== ( const VectorND< T, 3 > &  v) const
inline

Return whether or not this vector is equal to another for all components.

template<typename T >
Bool om::math::VectorND< T, 3 >::operator!= ( const VectorND< T, 3 > &  v) const
inline

Return whether or not this vector is not equal to another for any component.

template<typename T >
VectorND om::math::VectorND< T, 3 >::operator- ( ) const
inline

Negate each component of this vector and return the result.

template<typename T >
VectorND om::math::VectorND< T, 3 >::operator+ ( ) const
inline

Return copy of the original vector.

template<typename T >
VectorND om::math::VectorND< T, 3 >::operator+ ( value) const
inline

Add a scalar to every component of this vector and return the result.

template<typename T >
VectorND om::math::VectorND< T, 3 >::operator- ( value) const
inline

Subtract a scalar from every component of this vector and return the result.

template<typename T >
VectorND om::math::VectorND< T, 3 >::operator* ( value) const
inline

Multiply every component of this vector by a scalar and return the result.

template<typename T >
VectorND om::math::VectorND< T, 3 >::operator/ ( value) const
inline

Divide every component of this vector by a scalar and return the result.

template<typename T >
VectorND om::math::VectorND< T, 3 >::operator+ ( const VectorND< T, 3 > &  vector) const
inline

Add this vector to another and return the result and return the result.

template<typename T >
VectorND om::math::VectorND< T, 3 >::operator- ( const VectorND< T, 3 > &  vector) const
inline

Subtract a vector from this vector and return the result.

template<typename T >
VectorND om::math::VectorND< T, 3 >::operator* ( const VectorND< T, 3 > &  vector) const
inline

Multiply this vector by another vector and return the result.

template<typename T >
VectorND om::math::VectorND< T, 3 >::operator/ ( const VectorND< T, 3 > &  vector) const
inline

Divide this vector by another vector and return the result.

template<typename T >
VectorND& om::math::VectorND< T, 3 >::operator+= ( const T &  value)
inline

Add a scalar to each component of this vector and modify the original vector.

template<typename T >
VectorND& om::math::VectorND< T, 3 >::operator-= ( const T &  value)
inline

Subtract a scalar from each component of this vector and modify the original vector.

template<typename T >
VectorND& om::math::VectorND< T, 3 >::operator*= ( const T &  value)
inline

Multiply each component of this vector by a scalar and modify the original vector.

template<typename T >
VectorND& om::math::VectorND< T, 3 >::operator/= ( const T &  value)
inline

Divide each component of this vector by a scalar and modify the original vector.

template<typename T >
VectorND& om::math::VectorND< T, 3 >::operator+= ( const VectorND< T, 3 > &  vector)
inline

Add a vector to this vector, modifying this original vector.

template<typename T >
VectorND& om::math::VectorND< T, 3 >::operator-= ( const VectorND< T, 3 > &  vector)
inline

Subtract a vector from this vector, modifying this original vector.

template<typename T >
VectorND& om::math::VectorND< T, 3 >::operator*= ( const VectorND< T, 3 > &  vector)
inline

Multiply this vector by another vector and modify this vector.

template<typename T >
VectorND& om::math::VectorND< T, 3 >::operator/= ( const VectorND< T, 3 > &  vector)
inline

Divide this vector by another vector and modify this vector.

template<typename T >
data::String om::math::VectorND< T, 3 >::toString ( ) const
inline

Convert this 3D vector into a human-readable string representation.

template<typename T >
om::math::VectorND< T, 3 >::operator data::String ( ) const
inline

Convert this 3D vector into a human-readable string representation.

Member Data Documentation

template<typename T >
T om::math::VectorND< T, 3 >::v[3]

An array that contains the vector components.

template<typename T >
T om::math::VectorND< T, 3 >::r

The red component of a 3-component color.

template<typename T >
T om::math::VectorND< T, 3 >::g

The green component of a 3-component color.

template<typename T >
T om::math::VectorND< T, 3 >::b

The blue component of a 3-component color.

template<typename T >
T om::math::VectorND< T, 3 >::x

The X coordinate of a 3D vector.

template<typename T >
T om::math::VectorND< T, 3 >::y

The Y coordinate of a 3D vector.

template<typename T >
T om::math::VectorND< T, 3 >::z

The Z coordinate of a 3D vector.

template<typename T >
Swizzle2D<T,3,0,0> om::math::VectorND< T, 3 >::xx
template<typename T >
Swizzle2D<T,3,0,0> om::math::VectorND< T, 3 >::rr
template<typename T >
Swizzle2D<T,3,1,1> om::math::VectorND< T, 3 >::yy
template<typename T >
Swizzle2D<T,3,1,1> om::math::VectorND< T, 3 >::gg
template<typename T >
Swizzle2D<T,3,2,2> om::math::VectorND< T, 3 >::zz
template<typename T >
Swizzle2D<T,3,2,2> om::math::VectorND< T, 3 >::bb
template<typename T >
Swizzle2D<T,3,0,1> om::math::VectorND< T, 3 >::xy
template<typename T >
Swizzle2D<T,3,0,1> om::math::VectorND< T, 3 >::rg
template<typename T >
Swizzle2D<T,3,0,2> om::math::VectorND< T, 3 >::xz
template<typename T >
Swizzle2D<T,3,0,2> om::math::VectorND< T, 3 >::rb
template<typename T >
Swizzle2D<T,3,1,0> om::math::VectorND< T, 3 >::yx
template<typename T >
Swizzle2D<T,3,1,0> om::math::VectorND< T, 3 >::gr
template<typename T >
Swizzle2D<T,3,1,2> om::math::VectorND< T, 3 >::yz
template<typename T >
Swizzle2D<T,3,1,2> om::math::VectorND< T, 3 >::gb
template<typename T >
Swizzle2D<T,3,2,0> om::math::VectorND< T, 3 >::zx
template<typename T >
Swizzle2D<T,3,2,0> om::math::VectorND< T, 3 >::br
template<typename T >
Swizzle2D<T,3,2,1> om::math::VectorND< T, 3 >::zy
template<typename T >
Swizzle2D<T,3,2,1> om::math::VectorND< T, 3 >::bg
template<typename T >
Swizzle3D<T,3,0,0,0> om::math::VectorND< T, 3 >::xxx
template<typename T >
Swizzle3D<T,3,0,0,0> om::math::VectorND< T, 3 >::rrr
template<typename T >
Swizzle3D<T,3,1,1,1> om::math::VectorND< T, 3 >::yyy
template<typename T >
Swizzle3D<T,3,1,1,1> om::math::VectorND< T, 3 >::ggg
template<typename T >
Swizzle3D<T,3,2,2,2> om::math::VectorND< T, 3 >::zzz
template<typename T >
Swizzle3D<T,3,2,2,2> om::math::VectorND< T, 3 >::bbb
template<typename T >
Swizzle3D<T,3,0,1,1> om::math::VectorND< T, 3 >::xyy
template<typename T >
Swizzle3D<T,3,0,1,1> om::math::VectorND< T, 3 >::rgg
template<typename T >
Swizzle3D<T,3,1,0,1> om::math::VectorND< T, 3 >::yxy
template<typename T >
Swizzle3D<T,3,1,0,1> om::math::VectorND< T, 3 >::grg
template<typename T >
Swizzle3D<T,3,1,1,0> om::math::VectorND< T, 3 >::yyx
template<typename T >
Swizzle3D<T,3,1,1,0> om::math::VectorND< T, 3 >::ggr
template<typename T >
Swizzle3D<T,3,0,2,2> om::math::VectorND< T, 3 >::xzz
template<typename T >
Swizzle3D<T,3,0,2,2> om::math::VectorND< T, 3 >::rbb
template<typename T >
Swizzle3D<T,3,2,0,2> om::math::VectorND< T, 3 >::zxz
template<typename T >
Swizzle3D<T,3,2,0,2> om::math::VectorND< T, 3 >::brb
template<typename T >
Swizzle3D<T,3,2,2,0> om::math::VectorND< T, 3 >::zzx
template<typename T >
Swizzle3D<T,3,2,2,0> om::math::VectorND< T, 3 >::bbr
template<typename T >
Swizzle3D<T,3,1,0,0> om::math::VectorND< T, 3 >::yxx
template<typename T >
Swizzle3D<T,3,1,0,0> om::math::VectorND< T, 3 >::grr
template<typename T >
Swizzle3D<T,3,0,1,0> om::math::VectorND< T, 3 >::xyx
template<typename T >
Swizzle3D<T,3,0,1,0> om::math::VectorND< T, 3 >::rgr
template<typename T >
Swizzle3D<T,3,0,0,1> om::math::VectorND< T, 3 >::xxy
template<typename T >
Swizzle3D<T,3,0,0,1> om::math::VectorND< T, 3 >::rrg
template<typename T >
Swizzle3D<T,3,1,2,2> om::math::VectorND< T, 3 >::yzz
template<typename T >
Swizzle3D<T,3,1,2,2> om::math::VectorND< T, 3 >::gbb
template<typename T >
Swizzle3D<T,3,2,1,2> om::math::VectorND< T, 3 >::zyz
template<typename T >
Swizzle3D<T,3,2,1,2> om::math::VectorND< T, 3 >::bgb
template<typename T >
Swizzle3D<T,3,2,2,1> om::math::VectorND< T, 3 >::zzy
template<typename T >
Swizzle3D<T,3,2,2,1> om::math::VectorND< T, 3 >::bbg
template<typename T >
Swizzle3D<T,3,2,0,0> om::math::VectorND< T, 3 >::zxx
template<typename T >
Swizzle3D<T,3,2,0,0> om::math::VectorND< T, 3 >::brr
template<typename T >
Swizzle3D<T,3,0,2,0> om::math::VectorND< T, 3 >::xzx
template<typename T >
Swizzle3D<T,3,0,2,0> om::math::VectorND< T, 3 >::rbr
template<typename T >
Swizzle3D<T,3,0,0,2> om::math::VectorND< T, 3 >::xxz
template<typename T >
Swizzle3D<T,3,0,0,2> om::math::VectorND< T, 3 >::rrb
template<typename T >
Swizzle3D<T,3,2,1,1> om::math::VectorND< T, 3 >::zyy
template<typename T >
Swizzle3D<T,3,2,1,1> om::math::VectorND< T, 3 >::bgg
template<typename T >
Swizzle3D<T,3,1,2,1> om::math::VectorND< T, 3 >::yzy
template<typename T >
Swizzle3D<T,3,1,2,1> om::math::VectorND< T, 3 >::gbg
template<typename T >
Swizzle3D<T,3,1,1,2> om::math::VectorND< T, 3 >::yyz
template<typename T >
Swizzle3D<T,3,1,1,2> om::math::VectorND< T, 3 >::ggb
template<typename T >
Swizzle3D<T,3,0,1,2> om::math::VectorND< T, 3 >::xyz
template<typename T >
Swizzle3D<T,3,0,1,2> om::math::VectorND< T, 3 >::rgb
template<typename T >
Swizzle3D<T,3,0,2,1> om::math::VectorND< T, 3 >::xzy
template<typename T >
Swizzle3D<T,3,0,2,1> om::math::VectorND< T, 3 >::rbg
template<typename T >
Swizzle3D<T,3,1,0,2> om::math::VectorND< T, 3 >::yxz
template<typename T >
Swizzle3D<T,3,1,0,2> om::math::VectorND< T, 3 >::grb
template<typename T >
Swizzle3D<T,3,1,2,0> om::math::VectorND< T, 3 >::yzx
template<typename T >
Swizzle3D<T,3,1,2,0> om::math::VectorND< T, 3 >::gbr
template<typename T >
Swizzle3D<T,3,2,1,0> om::math::VectorND< T, 3 >::zyx
template<typename T >
Swizzle3D<T,3,2,1,0> om::math::VectorND< T, 3 >::bgr
template<typename T >
Swizzle3D<T,3,2,0,1> om::math::VectorND< T, 3 >::zxy
template<typename T >
Swizzle3D<T,3,2,0,1> om::math::VectorND< T, 3 >::brg
union { ... }
template<typename T >
const VectorND< T, 3 > om::math::VectorND< T, 3 >::ZERO
static

A constant vector with all elements equal to zero.


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