Public Member Functions | List of all members
tf::tfVector4 Class Reference

#include <Vector3.h>

Inheritance diagram for tf::tfVector4:
Inheritance graph
[legend]

Public Member Functions

TFSIMD_FORCE_INLINE tfVector4 absolute4 () const
 
TFSIMD_FORCE_INLINE int closestAxis4 () const
 
tfScalar getW () const
 
TFSIMD_FORCE_INLINE int maxAxis4 () const
 
TFSIMD_FORCE_INLINE int minAxis4 () const
 
TFSIMD_FORCE_INLINE void setValue (const tfScalar &x, const tfScalar &y, const tfScalar &z, const tfScalar &w)
 Set x,y,z and zero w. More...
 
TFSIMD_FORCE_INLINE tfVector4 ()
 
TFSIMD_FORCE_INLINE tfVector4 (const tfScalar &x, const tfScalar &y, const tfScalar &z, const tfScalar &w)
 
- Public Member Functions inherited from tf::Vector3
TFSIMD_FORCE_INLINE Vector3 absolute () const
 Return a vector will the absolute values of each element. More...
 
TFSIMD_FORCE_INLINE tfScalar angle (const Vector3 &v) const
 Return the angle between this and another vector. More...
 
TFSIMD_FORCE_INLINE int closestAxis () const
 
TFSIMD_FORCE_INLINE Vector3 cross (const Vector3 &v) const
 Return the cross product between this and another vector. More...
 
TFSIMD_FORCE_INLINE void deSerialize (const struct Vector3Data &dataIn)
 
TFSIMD_FORCE_INLINE void deSerializeDouble (const struct Vector3DoubleData &dataIn)
 
TFSIMD_FORCE_INLINE void deSerializeFloat (const struct Vector3FloatData &dataIn)
 
TFSIMD_FORCE_INLINE tfScalar distance (const Vector3 &v) const
 Return the distance between the ends of this and another vector This is symantically treating the vector like a point. More...
 
TFSIMD_FORCE_INLINE tfScalar distance2 (const Vector3 &v) const
 Return the distance squared between the ends of this and another vector This is symantically treating the vector like a point. More...
 
TFSIMD_FORCE_INLINE tfScalar dot (const Vector3 &v) const
 Return the dot product. More...
 
TFSIMD_FORCE_INLINE int furthestAxis () const
 
TFSIMD_FORCE_INLINE bool fuzzyZero () const
 
void getSkewSymmetricMatrix (Vector3 *v0, Vector3 *v1, Vector3 *v2) const
 
TFSIMD_FORCE_INLINE const tfScalargetX () const
 Return the x value. More...
 
TFSIMD_FORCE_INLINE const tfScalargetY () const
 Return the y value. More...
 
TFSIMD_FORCE_INLINE const tfScalargetZ () const
 Return the z value. More...
 
TFSIMD_FORCE_INLINE bool isZero () const
 
TFSIMD_FORCE_INLINE tfScalar length () const
 Return the length of the vector. More...
 
TFSIMD_FORCE_INLINE tfScalar length2 () const
 Return the length of the vector squared. More...
 
TFSIMD_FORCE_INLINE Vector3 lerp (const Vector3 &v, const tfScalar &t) const
 Return the linear interpolation between this and another vector. More...
 
TFSIMD_FORCE_INLINE int maxAxis () const
 Return the axis with the largest value Note return values are 0,1,2 for x, y, or z. More...
 
TFSIMD_FORCE_INLINE int minAxis () const
 Return the axis with the smallest value Note return values are 0,1,2 for x, y, or z. More...
 
TFSIMD_FORCE_INLINE Vector3normalize ()
 Normalize this vector x^2 + y^2 + z^2 = 1. More...
 
TFSIMD_FORCE_INLINE Vector3 normalized () const
 Return a normalized version of this vector. More...
 
TFSIMD_FORCE_INLINE operator const tfScalar * () const
 
TFSIMD_FORCE_INLINE operator tfScalar * ()
 operator tfScalar*() replaces operator[], using implicit conversion. We added operator != and operator == to avoid pointer comparisons. More...
 
TFSIMD_FORCE_INLINE bool operator!= (const Vector3 &other) const
 
TFSIMD_FORCE_INLINE Vector3operator*= (const tfScalar &s)
 Scale the vector. More...
 
TFSIMD_FORCE_INLINE Vector3operator*= (const Vector3 &v)
 Elementwise multiply this vector by the other. More...
 
TFSIMD_FORCE_INLINE Vector3operator+= (const Vector3 &v)
 Add a vector to this one. More...
 
TFSIMD_FORCE_INLINE Vector3operator-= (const Vector3 &v)
 Sutfract a vector from this one. More...
 
TFSIMD_FORCE_INLINE Vector3operator/= (const tfScalar &s)
 Inversely scale the vector. More...
 
TFSIMD_FORCE_INLINE bool operator== (const Vector3 &other) const
 
TFSIMD_FORCE_INLINE Vector3 rotate (const Vector3 &wAxis, const tfScalar angle) const
 Rotate this vector. More...
 
TFSIMD_FORCE_INLINE void serialize (struct Vector3Data &dataOut) const
 
TFSIMD_FORCE_INLINE void serializeDouble (struct Vector3DoubleData &dataOut) const
 
TFSIMD_FORCE_INLINE void serializeFloat (struct Vector3FloatData &dataOut) const
 
TFSIMD_FORCE_INLINE void setInterpolate3 (const Vector3 &v0, const Vector3 &v1, tfScalar rt)
 
TFSIMD_FORCE_INLINE void setMax (const Vector3 &other)
 Set each element to the max of the current values and the values of another Vector3. More...
 
TFSIMD_FORCE_INLINE void setMin (const Vector3 &other)
 Set each element to the min of the current values and the values of another Vector3. More...
 
TFSIMD_FORCE_INLINE void setValue (const tfScalar &x, const tfScalar &y, const tfScalar &z)
 
TFSIMD_FORCE_INLINE void setW (tfScalar w)
 Set the w value. More...
 
TFSIMD_FORCE_INLINE void setX (tfScalar x)
 Set the x value. More...
 
TFSIMD_FORCE_INLINE void setY (tfScalar y)
 Set the y value. More...
 
TFSIMD_FORCE_INLINE void setZ (tfScalar z)
 Set the z value. More...
 
void setZero ()
 
TFSIMD_FORCE_INLINE tfScalar triple (const Vector3 &v1, const Vector3 &v2) const
 
TFSIMD_FORCE_INLINE Vector3 ()
 No initialization constructor. More...
 
TFSIMD_FORCE_INLINE Vector3 (const tfScalar &x, const tfScalar &y, const tfScalar &z)
 Constructor from scalars. More...
 
TFSIMD_FORCE_INLINE const tfScalarw () const
 Return the w value. More...
 
TFSIMD_FORCE_INLINE const tfScalarx () const
 Return the x value. More...
 
TFSIMD_FORCE_INLINE const tfScalary () const
 Return the y value. More...
 
TFSIMD_FORCE_INLINE const tfScalarz () const
 Return the z value. More...
 

Additional Inherited Members

- Public Attributes inherited from tf::Vector3
tfScalar m_floats [4]
 

Detailed Description

Definition at line 491 of file Vector3.h.

Constructor & Destructor Documentation

TFSIMD_FORCE_INLINE tf::tfVector4::tfVector4 ( )
inline

Definition at line 495 of file Vector3.h.

TFSIMD_FORCE_INLINE tf::tfVector4::tfVector4 ( const tfScalar x,
const tfScalar y,
const tfScalar z,
const tfScalar w 
)
inline

Definition at line 498 of file Vector3.h.

Member Function Documentation

TFSIMD_FORCE_INLINE tfVector4 tf::tfVector4::absolute4 ( ) const
inline

Definition at line 505 of file Vector3.h.

TFSIMD_FORCE_INLINE int tf::tfVector4::closestAxis4 ( ) const
inline

Definition at line 582 of file Vector3.h.

tfScalar tf::tfVector4::getW ( ) const
inline

Definition at line 516 of file Vector3.h.

TFSIMD_FORCE_INLINE int tf::tfVector4::maxAxis4 ( ) const
inline

Definition at line 519 of file Vector3.h.

TFSIMD_FORCE_INLINE int tf::tfVector4::minAxis4 ( ) const
inline

Definition at line 552 of file Vector3.h.

TFSIMD_FORCE_INLINE void tf::tfVector4::setValue ( const tfScalar x,
const tfScalar y,
const tfScalar z,
const tfScalar w 
)
inline

Set x,y,z and zero w.

Parameters
xValue of x
yValue of y
zValue of zSet the values
xValue of x
yValue of y
zValue of z
wValue of w

Definition at line 610 of file Vector3.h.


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


tf
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Fri Jun 7 2019 22:00:28