Leaf.h

Go to the documentation of this file.
00001 /* $Id: Leaf.h,v 1.2 2002/11/05 14:31:15 anonymous Exp $ */
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 }; // namespace
00047 
00048 #endif // __LEAF_H

Generated on Wed Jun 28 12:24:28 2006 for esg by  doxygen 1.4.6