X3D_NurbsTextureSurface.h

Go to the documentation of this file.
00001 #ifndef X3DTK_X3D_NURBSTEXTURESURFACE
00002 #define X3DTK_X3D_NURBSTEXTURESURFACE
00003 
00004 #include "X3DTypes.h"
00005 #include "X3D_X3DTextureCoordinateNode.h"
00006 
00007 namespace X3DTK {
00008 namespace X3D {
00009 
00018 class NurbsTextureSurface : public X3DTextureCoordinateNode
00019 {
00020 public:
00022   NurbsTextureSurface();
00023 
00025   void setControlPoint(const MFVec2f &controlPoint);
00027   void setWeight(const MFFloat &weight);
00029   void setUDimension(const SFInt32 &uDimension);
00031   void setVDimension(const SFInt32 &vDimension);
00033   void setUKnot(const MFDouble &uKnot);
00035   void setVKnot(const MFDouble &vKnot);
00037   void setUOrder(const SFInt32 &uOrder);
00039   void setVOrder(const SFInt32 &vOrder);
00040 
00042   inline const MFVec2f &getControlPoint() const {return _controlPoint;};
00044   inline const MFFloat &getWeight() const {return _weight;};
00046   inline const SFInt32 &getUDimension() const {return _uDimension;};
00048   inline const SFInt32 &getVDimension() const {return _vDimension;};
00050   inline const MFDouble &getUKnot() const {return _uKnot;};
00052   inline const MFDouble &getVKnot() const {return _vKnot;};
00054   inline const SFInt32 &getUOrder() const {return _uOrder;};
00056   inline const SFInt32 &getVOrder() const {return _vOrder;};
00057 
00058 private:
00060   MFVec2f _controlPoint;
00062   MFFloat _weight;
00064   SFInt32 _uDimension;
00066   SFInt32 _vDimension;
00068   MFDouble _uKnot;
00070   MFDouble _vKnot;
00072   SFInt32 _uOrder;
00074   SFInt32 _vOrder;
00075 };
00076 
00077 }
00078 }
00079 
00080 #endif

Generated on Mon Jul 12 09:40:00 2004 for X3DToolKit by doxygen 1.3.6