00001 #ifndef X3DTK_X3D_STATICGROUP_H 00002 #define X3DTK_X3D_STATICGROUP_H 00003 00004 #include "X3DTypes.h" 00005 #include "X3D_X3DChildNode.h" 00006 #include "X3D_X3DBoundedObject.h" 00007 00008 namespace X3DTK { 00009 namespace X3D { 00010 00019 class StaticGroup : public X3DChildNode, public X3DBoundedObject 00020 { 00021 public: 00023 StaticGroup(); 00025 StaticGroup(const SFVec3f &bboxCenter, 00026 const SFVec3f &bboxSize); 00028 virtual SFAbstractNode clone() const; 00030 virtual ~StaticGroup(); 00031 00033 virtual MFAbstractNode getChildList() const; 00034 00036 virtual bool addChild(const SFAbstractNode &N); 00038 virtual bool setChild(const SFAbstractNode &N); 00040 virtual bool removeChild(const SFAbstractNode &N); 00041 00043 inline MFNode getChildren() const {return _children;}; 00045 virtual void load(const X3DFileElement *element); 00047 virtual SFString &write(SFString &output) const; 00048 00049 protected: 00051 StaticGroup(const StaticGroup &G); 00052 00053 private: 00055 MFNode _children; 00056 }; 00057 00058 } 00059 } 00060 00061 #endif