00001 00002 00003 // HMyCreateSphere.h : interface of the HMyCreateSphere class 00004 // Creates a sphere using left mouse down and drag 00005 00006 #ifndef _HMYCREATESPHERE_H 00007 #define _HMYCREATESPHERE_H 00008 00009 #include "HTools.h" 00010 #include "HOpCreateSphere.h" 00011 00012 class HMyCreateSphere : public HOpCreateSphere 00013 { 00014 protected: 00015 float m_NumSides; 00017 public: 00018 HMyCreateSphere (HBaseView* view, int DoRepeat=0, int DoCapture=1, int NumSides = 20); 00019 00023 virtual const char * GetName(); 00024 00029 virtual int OnLButtonUp(HEventInfo &event); 00030 00031 HBaseOperator * Clone(); 00032 }; 00033 #endif