Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

X3D_X3DTextureCoordinateNode.h

Go to the documentation of this file.
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   X3DTextureCoordinateNode(const MFVec2f &point);
00026   virtual ~X3DTextureCoordinateNode();
00027 
00029   void setPoint(const MFVec2f &point);
00030     
00032   inline const MFVec2f &getPoint() const {return _point;};
00033   
00035   virtual void load(const X3DFileElement *element);
00037   virtual SFString &write(SFString &output) const;
00038 
00039 protected:
00041   X3DTextureCoordinateNode(const X3DTextureCoordinateNode &N);  
00042 
00043 private:  
00045   MFVec2f _point;  
00046 };
00047 
00048 }
00049 }
00050 
00051 #endif

Generated on Thu Apr 1 17:12:03 2004 for X3DToolKit by doxygen 1.3.3