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

StaticGroup.h

Go to the documentation of this file.
00001 
00002 //                            StaticGroup.h                                   //
00004 
00005 #ifndef STATICGROUP_H
00006 #define STATICGROUP_H
00007 
00008 #include "X3DTypes.h"
00009 #include "X3DChildNode.h"
00010 #include "X3DBoundedObject.h"
00011 
00012 namespace X3DTK {
00013 
00018 
00019 class StaticGroup : public X3DChildNode, public X3DBoundedObject
00020 {
00021 public:
00023   StaticGroup();
00025   StaticGroup(const SFVec3f &bboxCenter, 
00026           const SFVec3f &bboxSize);
00028   virtual SFNode clone() const;
00030   ~StaticGroup();
00031   
00033   bool addChild(const SFNode &N);
00035   bool setChild(const SFNode &N);
00037   bool removeChild(const SFNode &N);
00038   
00040   inline MFNode getChildren() const {return children_;};
00042   virtual void loadAttributes(const X3DFileElement *element);
00044   virtual SFString writeAttributes() const;
00045 
00046 protected: 
00048   StaticGroup(const StaticGroup &G);
00049 
00051   virtual void removeScenesToChildren(const MFScene &sceneList);
00053   virtual void addScenesToChildren(const MFScene &sceneList);
00054     
00055 private:
00056   MFNode children_;  
00057 };
00058 
00059 }
00060 
00061 #endif

Generated on Wed May 14 10:38:10 2003 for X3DToolKit by doxygen1.3