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(); 00024 virtual ~NurbsTextureSurface(); 00025 00027 void setControlPoint(const MFVec2f &controlPoint); 00029 void setWeight(const MFFloat &weight); 00031 void setUDimension(const SFInt32 &uDimension); 00033 void setVDimension(const SFInt32 &vDimension); 00035 void setUKnot(const MFDouble &uKnot); 00037 void setVKnot(const MFDouble &vKnot); 00039 void setUOrder(const SFInt32 &uOrder); 00041 void setVOrder(const SFInt32 &vOrder); 00042 00044 inline const MFVec2f &getControlPoint() const {return _controlPoint;}; 00046 inline const MFFloat &getWeight() const {return _weight;}; 00048 inline const SFInt32 &getUDimension() const {return _uDimension;}; 00050 inline const SFInt32 &getVDimension() const {return _vDimension;}; 00052 inline const MFDouble &getUKnot() const {return _uKnot;}; 00054 inline const MFDouble &getVKnot() const {return _vKnot;}; 00056 inline const SFInt32 &getUOrder() const {return _uOrder;}; 00058 inline const SFInt32 &getVOrder() const {return _vOrder;}; 00059 00060 private: 00062 MFVec2f _controlPoint; 00064 MFFloat _weight; 00066 SFInt32 _uDimension; 00068 SFInt32 _vDimension; 00070 MFDouble _uKnot; 00072 MFDouble _vKnot; 00074 SFInt32 _uOrder; 00076 SFInt32 _vOrder; 00077 }; 00078 00079 } 00080 } 00081 00082 #endif