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

CoordinateInterpolator.h

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

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