00001 // HSpheresModel.h : interface of the HSpheresModel.cpp class, derived from HBaseModel 00002 // Adds application-specific data and members for each model 00003 00004 #ifndef _HSpheresModel_H 00005 #define _HSpheresModel_H 00006 00007 #include "HDB.h" 00008 #include "HBaseModel.h" 00009 #include "HTools.h" 00010 00011 00012 class HSpheresModel : public HBaseModel 00013 { 00014 public: 00015 00016 HSpheresModel(); 00017 ~HSpheresModel(); 00018 00019 // Overrides 00020 HFileInputResult Read(const char * FileName); 00021 bool Write(const char * FileName, HBaseView * pHView, int version, int width = 0, int height = 0); 00022 00024 void DeleteAllEntities(); 00025 00027 bool IsSolidModel(){ return m_bSolidModel; }; 00028 00029 protected: 00030 00031 00032 // do we have any solid modeler entities 00033 bool m_bSolidModel; 00034 00035 }; 00036 00037 #endif 00038 00039 00040 00041