19 #ifndef TG_STRUCTURE_H
20 #define TG_STRUCTURE_H
61 tgStructure(
const std::string& space_separated_tags);
68 void addNode(
double x,
double y,
double z, std::string tags =
"");
79 void addPair(
int fromNodeIdx,
int toNodeIdx, std::string tags =
"");
84 void addPair(
const btVector3& from,
const btVector3& to, std::string tags =
"");
86 void move(
const btVector3& offset);
92 const btVector3& axis,
96 const btVector3& fromOrientation,
97 const btVector3& toOrientation);
100 const btQuaternion& rotation);
143 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.
void addNode(double x, double y, double z, std::string tags="")