43 int main(
int argc,
char** argv)
45 std::cout <<
"AppNestedStructureTest" << std::endl;
53 sub1_1->
addNode(1,2,3,
"one two three");
54 sub1_1->
addNode(4,5,6,
"four five six");
58 sub1_2->setTags(
tgTags(
"sub1_2"));
59 sub1_2->move(btVector3(4,4,4));
68 root->setTags(
tgTags(
"root"));
72 sub1->move(btVector3(10,10,10));
75 std::cout << *root << std::endl;
int main(int argc, char **argv)
void addChild(tgStructure *child)
Definition of class tgPair.
void addPair(int fromNodeIdx, int toNodeIdx, std::string tags="")
Definition of class tgNodes.
Definition of class tgNode.
Definition of class tgStructure.
void addNode(double x, double y, double z, std::string tags="")