00001 00002 // X3D_StaticGroup.h // 00004 00005 #ifndef STATICGROUP_H 00006 #define STATICGROUP_H 00007 00008 #include "X3DTypes.h" 00009 #include "X3D_X3DChildNode.h" 00010 #include "X3D_X3DBoundedObject.h" 00011 00012 namespace X3DTK { 00013 namespace X3D { 00014 00019 00020 class StaticGroup : public X3DChildNode, public X3DBoundedObject 00021 { 00022 public: 00024 StaticGroup(); 00026 StaticGroup(const SFVec3f &bboxCenter, 00027 const SFVec3f &bboxSize); 00029 virtual SFAbstractNode clone() const; 00031 virtual ~StaticGroup(); 00032 00034 virtual MFAbstractNode getChildrenList() const; 00035 00037 virtual bool addChild(const SFAbstractNode &N); 00039 virtual bool setChild(const SFAbstractNode &N); 00041 virtual bool removeChild(const SFAbstractNode &N); 00042 00044 inline MFNode getChildren() const {return _children;}; 00046 virtual void load(const X3DFileElement *element); 00048 virtual SFString &write(SFString &output) const; 00049 00050 protected: 00052 StaticGroup(const StaticGroup &G); 00053 00054 private: 00056 MFNode _children; 00057 }; 00058 00059 } 00060 } 00061 00062 #endif