43 int main(
int argc,
char** argv)
45 std::cout <<
"AppTgNamesTest" << std::endl;
47 std::cout <<
"node print test: " << node << std::endl;
54 nodes2.
move(btVector3(2,2,2));
56 std::cout <<
"nodes: " << nodes << std::endl;
57 std::cout <<
"nodes2: " << nodes2 << std::endl;
63 s->setName(
"test structure 1");
67 s->setName(
"after change");
75 std::cout <<
"structure print test: " << s << std::endl;
76 std::cout <<
"node access by name test: " << nodes[
"node1"] << std::endl;
78 std::cout << std::endl;
79 std::cout <<
"Structure copy test:" << std::endl;
80 std::cout << *p << std::endl;
int main(int argc, char **argv)
void addChild(tgStructure *child)
Definition of class tgPair.
Definition of class tgNodes.
Definition of class tgNode.
Definition of class tgStructure.
void move(const btVector3 &offset)
int addNode(const btVector3 &node)
void addNode(double x, double y, double z, std::string tags="")