00001 #ifndef X3DTK_X3D_X3DTEXTURECOORDINATENODE_H 00002 #define X3DTK_X3D_X3DTEXTURECOORDINATENODE_H 00003 00004 #include "X3DTypes.h" 00005 #include "X3D_X3DGeometricPropertyNode.h" 00006 00007 namespace X3DTK { 00008 namespace X3D { 00009 00010 /* Base class declared in <b><X3DTK/X3D/scenegraph.h></b>, part of the <a href="../../doc/X3DSpecs/Part01/components/texturing.html"> 00011 * Texturing component</a> defining an X3DTextureCoordinateNode 00012 * (<a href="../../doc/X3DSpecs/Part01/components/texturing.html#X3DTextureCoordinateNode"> 00013 * documentation</a>). 00014 * 00015 * \ingroup X3DSceneGraph 00016 */ 00017 00018 class X3DTextureCoordinateNode : public X3DGeometricPropertyNode 00019 { 00020 public: 00022 X3DTextureCoordinateNode(); 00024 virtual ~X3DTextureCoordinateNode(); 00025 00027 void setPoint(const MFVec2f &point); 00028 00030 inline MFVec2f &getPoint() {return _point;}; 00032 inline const MFVec2f &getPoint() const {return _point;}; 00033 00034 private: 00036 MFVec2f _point; 00037 }; 00038 00039 } 00040 } 00041 00042 #endif