19 #ifndef TG_STRUCTURE_H
20 #define TG_STRUCTURE_H
60 tgStructure(
const std::string& space_separated_tags);
67 void addNode(
double x,
double y,
double z, std::string tags =
"");
78 void addPair(
int fromNodeIdx,
int toNodeIdx, std::string tags =
"");
83 void addPair(
const btVector3& from,
const btVector3& to, std::string tags =
"");
85 void move(
const btVector3& offset);
91 const btVector3& axis,
95 const btVector3& fromOrientation,
96 const btVector3& toOrientation);
99 const btQuaternion& rotation);
142 std::vector<tgStructure*> m_children;
const std::vector< tgStructure * > & getChildren() const
void addChild(tgStructure *child)
const tgNodes & getNodes() const
Definition of class tgPairs.
void addPair(int fromNodeIdx, int toNodeIdx, std::string tags="")
const tgPairs & getPairs() const
Definition of class tgNodes.
void addRotation(const btVector3 &fixedPoint, const btVector3 &axis, double angle)
Contains the definition of class tgTaggable $Id$.
void addNode(double x, double y, double z, std::string tags="")