goat3d

annotate src/node.h @ 48:9ef9de80649c

implemented animation track XML saving
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 29 Dec 2013 06:01:59 +0200
parents cd71f0b92f44
children dad392c710df
rev   line source
nuclear@0 1 #ifndef NODE_H_
nuclear@0 2 #define NODE_H_
nuclear@0 3
nuclear@7 4 #include "xform_node.h"
nuclear@8 5 #include "object.h"
nuclear@0 6
nuclear@47 7 namespace g3dimpl {
nuclear@47 8
nuclear@7 9 class Node : public XFormNode {
nuclear@0 10 private:
nuclear@7 11 Object *obj;
nuclear@0 12
nuclear@0 13 public:
nuclear@0 14 Node();
nuclear@0 15
nuclear@7 16 void set_object(Object *obj);
nuclear@7 17 Object *get_object();
nuclear@7 18 const Object *get_object() const;
nuclear@0 19 };
nuclear@0 20
nuclear@8 21 void delete_node_tree(Node *n);
nuclear@8 22
nuclear@47 23 } // namespace g3dimpl
nuclear@47 24
nuclear@0 25 #endif // NODE_H_