16#ifndef TF2__LINEARMATH__QUADWORD_HPP
17#define TF2__LINEARMATH__QUADWORD_HPP
24#if defined (__CELLOS_LV2) && defined (__SPU__)
41#if defined (__SPU__) && defined (__CELLOS_LV2__)
96 return !(*
this ==
other);
void tf2SetMax(T &a, const T &b)
Definition MinMax.hpp:50
void tf2SetMin(T &a, const T &b)
Definition MinMax.hpp:41
#define ATTRIBUTE_ALIGNED16(a)
Definition Scalar.hpp:134
#define TF2SIMD_FORCE_INLINE
Definition Scalar.hpp:129
double tf2Scalar
The tf2Scalar type abstracts floating point numbers, to easily switch between double and single float...
Definition Scalar.hpp:159
The QuadWord class is base class for Vector3 and Quaternion. Some issues under PS3 Linux with IBM 2....
Definition QuadWord.hpp:38
QuadWord()
No initialization constructor.
Definition QuadWord.hpp:133
void setValue(const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z)
Set x,y,z and zero w.
Definition QuadWord.hpp:104
void setW(tf2Scalar w)
Set the w value.
Definition QuadWord.hpp:73
const tf2Scalar & y() const
Return the y value.
Definition QuadWord.hpp:77
const tf2Scalar & x() const
Return the x value.
Definition QuadWord.hpp:75
QuadWord(const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z)
Three argument constructor (zeros w)
Definition QuadWord.hpp:143
void setX(tf2Scalar x)
Set the x value.
Definition QuadWord.hpp:67
void setY(tf2Scalar y)
Set the y value.
Definition QuadWord.hpp:69
const tf2Scalar & getY() const
Return the y value.
Definition QuadWord.hpp:63
const tf2Scalar & w() const
Return the w value.
Definition QuadWord.hpp:81
bool operator==(const QuadWord &other) const
Definition QuadWord.hpp:89
const tf2Scalar & z() const
Return the z value.
Definition QuadWord.hpp:79
void setValue(const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z, const tf2Scalar &w)
Set the values.
Definition QuadWord.hpp:125
void setZ(tf2Scalar z)
Set the z value.
Definition QuadWord.hpp:71
const tf2Scalar & getX() const
Return the x value.
Definition QuadWord.hpp:61
void setMin(const QuadWord &other)
Set each element to the min of the current values and the values of another QuadWord.
Definition QuadWord.hpp:172
QuadWord(const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z, const tf2Scalar &w)
Initializing constructor.
Definition QuadWord.hpp:154
bool operator!=(const QuadWord &other) const
Definition QuadWord.hpp:94
tf2Scalar m_floats[4]
Definition QuadWord.hpp:54
void setMax(const QuadWord &other)
Set each element to the max of the current values and the values of another QuadWord.
Definition QuadWord.hpp:162
const tf2Scalar & getZ() const
Return the z value.
Definition QuadWord.hpp:65
Definition buffer_core.hpp:58
B toMsg(const A &a)
Function that converts from one type to a ROS message type. It has to be implemented by each data typ...
#define TF2_PUBLIC
Definition visibility_control.h:57