00001 00002 00003 00004 00005 // ChangeLog is at the implementation file 00006 00007 #ifndef __VPCURVE_H 00008 #define __VPCURVE_H 00009 00010 #include "vpgraphicobj.h" 00011 #include "vppoint4d.h" 00012 #include "vptransform.h" 00013 #include <vector> 00014 00017 00019 class VPCurve : public VPGraphicObj { 00020 public: 00024 virtual void GetPoint(double t, VPPoint4D* result)=0; 00025 00027 void Transform(const VPTransform& t); 00028 00029 // FixMe: Implement DrawInstanceOGL? 00030 protected: 00031 std::vector<VPPoint4D> controlPoints; 00032 }; 00033 00034 #endif