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 00017 00018 class X3DTextureCoordinateNode : public X3DGeometricPropertyNode 00019 { 00020 public: 00022 X3DTextureCoordinateNode(); 00024 X3DTextureCoordinateNode(const MFVec2f &point); 00026 virtual SFNode clone() const; 00028 virtual ~X3DTextureCoordinateNode(); 00029 00031 void setPoint(const MFVec2f &point); 00032 00034 inline MFVec2f &getPoint() const {return (MFVec2f &)point;}; 00035 00037 virtual void loadAttributes(const X3DFileElement *element); 00039 virtual SFString writeAttributes() const; 00040 00041 protected: 00043 X3DTextureCoordinateNode(const X3DTextureCoordinateNode &N); 00044 00046 MFVec2f point; 00047 }; 00048 00049 } 00050 00051 #endif