goat3d
annotate src/node.h @ 36:9a211986a28b
writing the blender plugin
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 06 Oct 2013 15:34:45 +0300 |
parents | 97139303348c |
children | 498ca7ac7047 |
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@7 | 7 class Node : public XFormNode { |
nuclear@0 | 8 private: |
nuclear@7 | 9 Object *obj; |
nuclear@0 | 10 |
nuclear@0 | 11 public: |
nuclear@0 | 12 Node(); |
nuclear@0 | 13 |
nuclear@7 | 14 void set_object(Object *obj); |
nuclear@7 | 15 Object *get_object(); |
nuclear@7 | 16 const Object *get_object() const; |
nuclear@0 | 17 }; |
nuclear@0 | 18 |
nuclear@8 | 19 void delete_node_tree(Node *n); |
nuclear@8 | 20 |
nuclear@0 | 21 #endif // NODE_H_ |