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

PositionInterpolator2D.h

Go to the documentation of this file.
00001 
00002 
00003 
00005 
00006 
00011 
00016 
00021 //                            PositionInterpolator2D.h                        //
00023 
00024 #ifndef POSITIONINTERPOLATOR2D
00025 #define POSITIONINTERPOLATOR2D
00026 
00027 #include "X3DTypes.h"
00028 #include "X3DInterpolatorNode.h"
00029 
00030 namespace X3DTK {
00031 namespace X3D {
00032 
00037 
00038 class PositionInterpolator2D : public X3DInterpolatorNode
00039 {
00040 public:
00042   PositionInterpolator2D();
00044   PositionInterpolator2D(const MFFloat &key,
00045                          const MFVec2f &keyValue);
00047   virtual SFNode clone() const;
00049   virtual ~PositionInterpolator2D();
00050 
00052   void setKeyValue(const MFVec2f &keyValue);
00053 
00055   inline const MFVec2f &getKeyValue() const {return _keyValue;};
00056 
00058   virtual void load(const X3DFileElement *element);
00060   virtual SFString write() const;
00061 
00062 protected:
00064   PositionInterpolator2D(const PositionInterpolator2D &N);
00065 
00066 private:
00068   MFVec2f _keyValue;
00069 };
00070 
00071 }
00072 }
00073 
00074 #endif

Generated on Wed Sep 10 11:25:14 2003 for X3DToolKit by doxygen1.3