Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

X3DGLGroupingNode.h

Go to the documentation of this file.
00001 
00002 
00003 
00005 
00006 
00011 
00016 
00021 //                            X3DGLGroupingNode.h                             //
00023 
00024 #ifndef X3DGLGROUPINGNODE_H
00025 #define X3DGLGROUPINGNODE_H
00026 
00027 #include "X3DGLChildNode.h"
00028 
00029 namespace X3DTK {
00030 namespace GL {
00031 
00033 
00034 class X3DGroupingNode : public X3DChildNode
00035 {
00036 public:
00038   X3DGroupingNode();
00040   virtual SFNode clone() const;
00042   virtual ~X3DGroupingNode();
00043 
00045   virtual bool addChild(const SFAbstractNode &N);
00047   virtual bool setChild(const SFAbstractNode &N);
00049   virtual bool removeChild(const SFAbstractNode &N);
00050   
00052   void setChildren(const MFNode &children);
00053   
00055   inline MFNode getChildren() const {return _children;};
00056 
00057 protected:
00059   X3DGroupingNode(const X3DGroupingNode &N);
00060 
00061 private:  
00063   MFNode _children;
00064 };
00065 
00066 }
00067 }
00068 
00069 #endif

Generated on Wed Sep 10 11:25:15 2003 for X3DToolKit by doxygen1.3