00001 00002 // X3DTextureCoordinateNode.h // 00004 00005 #ifndef X3DTEXTURECOORDINATENODE_H 00006 #define X3DTEXTURECOORDINATENODE_H 00007 00008 #include "X3DTypes.h" 00009 #include "X3DGeometricPropertyNode.h" 00010 00011 namespace X3DTK { 00012 namespace X3D { 00013 00018 00019 class X3DTextureCoordinateNode : public X3DGeometricPropertyNode 00020 { 00021 public: 00023 X3DTextureCoordinateNode(); 00025 X3DTextureCoordinateNode(const MFVec2f &point); 00027 virtual SFNode clone() const; 00029 virtual ~X3DTextureCoordinateNode(); 00030 00032 void setPoint(const MFVec2f &point); 00033 00035 inline const MFVec2f &getPoint() const {return _point;}; 00036 00038 virtual void load(const X3DFileElement *element); 00040 virtual SFString write() const; 00041 00042 protected: 00044 X3DTextureCoordinateNode(const X3DTextureCoordinateNode &N); 00045 00046 private: 00048 MFVec2f _point; 00049 }; 00050 00051 } 00052 } 00053 00054 #endif