00001 00002 00003 00005 00006 00011 00016 00022 00024 00025 00030 00035 00040 // StaticGroup.h // 00042 00043 #ifndef STATICGROUP_H 00044 #define STATICGROUP_H 00045 00046 #include "X3DTypes.h" 00047 #include "X3DChildNode.h" 00048 #include "X3DBoundedObject.h" 00049 00050 namespace X3DTK { 00051 namespace X3D { 00052 00057 00058 class StaticGroup : public X3DChildNode, public X3DBoundedObject 00059 { 00060 public: 00062 StaticGroup(); 00064 StaticGroup(const SFVec3f &bboxCenter, 00065 const SFVec3f &bboxSize); 00067 virtual SFNode clone() const; 00069 virtual ~StaticGroup(); 00070 00072 virtual bool addChild(const SFAbstractNode &N); 00074 virtual bool setChild(const SFAbstractNode &N); 00076 virtual bool removeChild(const SFAbstractNode &N); 00077 00079 inline MFNode getChildren() const {return _children;}; 00081 virtual void load(const X3DFileElement *element); 00083 virtual SFString write() const; 00084 00085 protected: 00087 StaticGroup(const StaticGroup &G); 00088 00089 private: 00091 MFNode _children; 00092 }; 00093 00094 } 00095 } 00096 00097 #endif