00001 00002 00003 00005 00006 00011 00016 00021 // StaticGroup.h // 00023 00024 #ifndef STATICGROUP_H 00025 #define STATICGROUP_H 00026 00027 #include "X3DTypes.h" 00028 #include "X3DChildNode.h" 00029 #include "X3DBoundedObject.h" 00030 00031 namespace X3DTK { 00032 namespace X3D { 00033 00038 00039 class StaticGroup : public X3DChildNode, public X3DBoundedObject 00040 { 00041 public: 00043 StaticGroup(); 00045 StaticGroup(const SFVec3f &bboxCenter, 00046 const SFVec3f &bboxSize); 00048 virtual SFNode clone() const; 00050 virtual ~StaticGroup(); 00051 00053 virtual bool addChild(const SFAbstractNode &N); 00055 virtual bool setChild(const SFAbstractNode &N); 00057 virtual bool removeChild(const SFAbstractNode &N); 00058 00060 inline MFNode getChildren() const {return _children;}; 00062 virtual void load(const X3DFileElement *element); 00064 virtual SFString write() const; 00065 00066 protected: 00068 StaticGroup(const StaticGroup &G); 00069 00070 private: 00072 MFNode _children; 00073 }; 00074 00075 } 00076 } 00077 00078 #endif