00001 #ifndef X3DTK_X3D_TRIMMEDSURFACE_H 00002 #define X3DTK_X3D_TRIMMEDSURFACE_H 00003 00004 #include "X3DTypes.h" 00005 #include "X3D_X3DParametricGeometryNode.h" 00006 00007 namespace X3DTK { 00008 namespace X3D { 00009 00010 class Contour2D; 00011 class NurbsSurface; 00012 00021 class TrimmedSurface : public X3DParametricGeometryNode 00022 { 00023 public: 00025 TrimmedSurface(); 00027 virtual ~TrimmedSurface(); 00028 00030 inline const MFNode &getTrimmingContour() const {return _trimmingContour;}; 00032 inline NurbsSurface *getSurface() const {return _surface;}; 00033 00034 private: 00036 MFNode _trimmingContour; 00038 NurbsSurface *_surface; 00039 }; 00040 00041 } 00042 } 00043 00044 #endif