34 #include "LinearMath/btVector3.h"
35 #include "LinearMath/btQuaternion.h"
49 tgNode(
const btVector3& v = btVector3(),
50 const std::string& tags =
"") :
54 tgNode(
double x,
double y,
double z,
55 const std::string& tags =
"") :
63 const btVector3& fromOrientation,
64 const btVector3& toOrientation)
76 const btVector3& axis,
87 const btQuaternion& rotation)
95 bool operator==(
const tgNode& other)
const
97 return (this->x() == other.x()) &&
98 (this->y() == other.y()) &&
99 (this->z() == other.z());
116 os <<
"tgNode(" << node.x() <<
", " << node.y() <<
", " << node.z() <<
", {" << node.getTagStr(
", ") <<
"})";
void addRotation(const btVector3 &fixedPoint, const btVector3 &fromOrientation, const btVector3 &toOrientation)
static btQuaternion getQuaternionBetween(btVector3 a, btVector3 b)
void addRotation(const btVector3 &fixedPoint, const btQuaternion &rotation)
Contains the definition of class tgTaggable.
std::ostream & operator<<(std::ostream &os, const tgNode &node)
Contains the definition of class tgUtil and overloaded operator<<() free functions.
static void addRotation(btVector3 &v, const btVector3 &fixedPoint, const btVector3 &axis, double angle)
void addRotation(const btVector3 &fixedPoint, const btVector3 &axis, double angle)