00001 #ifndef _SmootherBase_h 00002 #define _SmootherBase_h 00003 00004 #include "Paths\PA_Points.h" 00005 00006 class CD_BasicStyle; 00007 00008 //============================================================================= 00009 class SmootherBase 00010 { 00011 public: 00012 // Constructor 00013 SmootherBase(); 00014 00015 // Destructor 00016 virtual ~SmootherBase(); 00017 00018 void SetCollisionDetector( CD_BasicStyle* collisionDetector ); 00019 void SetPath( const PA_Points* path ); 00020 PA_Points GetPath() const; 00021 00022 virtual void Smooth() = 0; 00023 00024 protected: 00025 CD_BasicStyle* m_CollisionDetector; 00026 const PA_Points* m_PathToSmooth; 00027 PA_Points m_SmoothedPath; 00028 }; 00029 //============================================================================= 00030 #endif