33 #include "LinearMath/btVector3.h"
34 #include "LinearMath/btQuaternion.h"
47 tgNode(
const btVector3& v = btVector3(),
48 const std::string& tags =
"") :
52 tgNode(
double x,
double y,
double z,
53 const std::string& tags =
"") :
61 const btVector3& fromOrientation,
62 const btVector3& toOrientation)
74 const btVector3& axis,
85 const btQuaternion& rotation)
93 bool operator==(
const tgNode& other)
const
95 return (this->x() == other.x()) &&
96 (this->y() == other.y()) &&
97 (this->z() == other.z());
114 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 $Id$.
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)