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(); 00023 00025 void setPoint(const MFVec2f &point); 00026 00028 inline const MFVec2f &getPoint() const {return _point;}; 00029 00030 private: 00032 MFVec2f _point; 00033 }; 00034 00035 } 00036 } 00037 00038 #endif