00001
00002
00003 #ifndef __LEAF_H
00004 #define __LEAF_H
00005
00006 #include <esg/Definitions.h>
00007 #include <esg/SceneGraphObject.h>
00008
00009 namespace esg {
00010
00015 class OGSCENE_EXPORT Leaf : public SceneGraphObject {
00016 public:
00023 Leaf (OID oid = 0 , const char * name = "")
00024 : SceneGraphObject(oid, name) {}
00025
00029 virtual ~Leaf() {}
00030
00036 virtual bool hasSubnodes (void) const { return false; }
00037
00043 virtual IteratorSDS* traverseSubnodes (void) const { return NULL; }
00044 };
00045
00046 };
00047
00048 #endif // __LEAF_H