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

X3D_ContourPolyline2D.h

Go to the documentation of this file.
00001 
00002 //                            X3D_ContourPolyline2D.h                         //
00004 
00005 #ifndef CONTOURPOLYLINE2D
00006 #define CONTOURPOLYLINE2D
00007 
00008 #include "X3DTypes.h"
00009 #include "X3D_X3DParametricGeometryNode.h"
00010 
00011 namespace X3DTK {
00012 namespace X3D {
00013 
00018 
00019 class ContourPolyline2D : public X3DParametricGeometryNode
00020 {
00021 public:
00023   ContourPolyline2D();
00025   ContourPolyline2D(const MFVec2f &point);
00027   virtual SFAbstractNode clone() const;
00029   virtual ~ContourPolyline2D();
00030 
00032   void setPoint(const MFVec2f &point);
00033   
00035   inline const MFVec2f &getPoint() const {return _point;};
00036   
00038   virtual void load(const X3DFileElement *element);
00040   virtual SFString &write(SFString &output) const;
00041 
00042 protected:
00044   ContourPolyline2D(const ContourPolyline2D &N);
00045 
00046 private:
00048   MFVec2f _point;
00049 };
00050 
00051 }
00052 }
00053 
00054 #endif

Generated on Thu Dec 4 13:25:47 2003 for X3DToolKit by doxygen1.2.18